LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
Namespaces | |
libreoffice_internal | |
math | |
Classes | |
class | Bootstrap |
class | ByteSequence |
C++ class representing a SAL byte sequence. More... | |
struct | CStringEqual |
Equality functor for classic c-strings (i.e., null-terminated char* strings). More... | |
struct | CStringHash |
Hashing functor for classic c-strings (i.e., null-terminated char* strings). More... | |
class | MalformedUriException |
An exception indicating a malformed URI. More... | |
class | OString |
This String class provide base functionality for C++ like 8-Bit character array handling. More... | |
class | OStringBuffer |
A string buffer implements a mutable sequence of characters. More... | |
struct | OStringHash |
A helper to use OStrings with hash maps. More... | |
class | OUString |
This String class provides base functionality for C++ like Unicode character array handling. More... | |
class | OUStringBuffer |
A string buffer implements a mutable sequence of characters. More... | |
struct | OUStringHash |
A helper to use OUStrings with hash maps. More... | |
class | Reference |
Template reference class for reference type. More... | |
class | Static |
Helper base class for a late-initialized (default-constructed) static variable, implementing the double-checked locking pattern correctly. More... | |
class | StaticAggregate |
Helper class for a late-initialized static aggregate, e.g. More... | |
class | StaticWithArg |
Helper base class for a late-initialized (default-constructed) static variable, implementing the double-checked locking pattern correctly. More... | |
class | StaticWithInit |
Helper base class for a late-initialized static variable, implementing the double-checked locking pattern correctly. More... | |
class | Uri |
A wrapper around the C functions from <rtl/uri.h>. More... | |
Enumerations | |
enum | __ByteSequence_NoDefault { BYTESEQ_NODEFAULT = 0xcafe } |
enum | __ByteSequence_NoAcquire { BYTESEQ_NOACQUIRE } |
Functions | |
SAL_CONSTEXPR bool | isUnicodeCodePoint (sal_uInt32 code) |
Check for Unicode code point. More... | |
SAL_CONSTEXPR bool | isAscii (sal_uInt32 code) |
Check for ASCII character. More... | |
SAL_CONSTEXPR bool | isAsciiLowerCase (sal_uInt32 code) |
Check for ASCII lower case character. More... | |
SAL_CONSTEXPR bool | isAsciiUpperCase (sal_uInt32 code) |
Check for ASCII upper case character. More... | |
SAL_CONSTEXPR bool | isAsciiAlpha (sal_uInt32 code) |
Check for ASCII alphabetic character. More... | |
SAL_CONSTEXPR bool | isAsciiDigit (sal_uInt32 code) |
Check for ASCII digit character. More... | |
SAL_CONSTEXPR bool | isAsciiAlphanumeric (sal_uInt32 code) |
Check for ASCII alphanumeric character. More... | |
SAL_CONSTEXPR bool | isAsciiCanonicHexDigit (sal_uInt32 code) |
Check for ASCII canonic hexadecimal digit character. More... | |
SAL_CONSTEXPR bool | isAsciiHexDigit (sal_uInt32 code) |
Check for ASCII hexadecimal digit character. More... | |
SAL_CONSTEXPR bool | isAsciiOctalDigit (sal_uInt32 code) |
Check for ASCII octal digit character. More... | |
SAL_CONSTEXPR bool | isAsciiWhiteSpace (sal_uInt32 code) |
Check for ASCII white space character. More... | |
SAL_CONSTEXPR sal_uInt32 | toAsciiUpperCase (sal_uInt32 code) |
Convert a character, if ASCII, to upper case. More... | |
SAL_CONSTEXPR sal_uInt32 | toAsciiLowerCase (sal_uInt32 code) |
Convert a character, if ASCII, to lower case. More... | |
SAL_CONSTEXPR sal_Int32 | compareIgnoreAsciiCase (sal_uInt32 code1, sal_uInt32 code2) |
Compare two characters ignoring ASCII case. More... | |
SAL_CONSTEXPR bool | isSurrogate (sal_uInt32 code) |
Check for surrogate. More... | |
SAL_CONSTEXPR bool | isHighSurrogate (sal_uInt32 code) |
Check for high surrogate. More... | |
SAL_CONSTEXPR bool | isLowSurrogate (sal_uInt32 code) |
Check for low surrogate. More... | |
SAL_CONSTEXPR sal_Unicode | getHighSurrogate (sal_uInt32 code) |
Get high surrogate half of a non-BMP Unicode code point. More... | |
SAL_CONSTEXPR sal_Unicode | getLowSurrogate (sal_uInt32 code) |
Get low surrogate half of a non-BMP Unicode code point. More... | |
SAL_CONSTEXPR sal_uInt32 | combineSurrogates (sal_uInt32 high, sal_uInt32 low) |
Combine surrogates to form a code point. More... | |
SAL_CONSTEXPR std::size_t | splitSurrogates (sal_uInt32 code, sal_Unicode *output) |
Split a Unicode code point into UTF-16 code units. More... | |
SAL_CONSTEXPR bool | isUnicodeScalarValue (sal_uInt32 code) |
Check for Unicode scalar value. More... | |
template<typename charT , typename traits > | |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &stream, OString const &rString) |
Support for rtl::OString in std::ostream (and thus in CPPUNIT_ASSERT or SAL_INFO macros, for example). More... | |
OUString | OStringToOUString (const OString &rStr, rtl_TextEncoding encoding, sal_uInt32 convertFlags=OSTRING_TO_OUSTRING_CVTFLAGS) |
Convert an OString to an OUString, using a specific text encoding. More... | |
OString | OUStringToOString (const OUString &rUnicode, rtl_TextEncoding encoding, sal_uInt32 convertFlags=OUSTRING_TO_OSTRING_CVTFLAGS) |
Convert an OUString to an OString, using a specific text encoding. More... | |
template<typename charT , typename traits > | |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &stream, OUString const &rString) |
Support for rtl::OUString in std::ostream (and thus in CPPUNIT_ASSERT or SAL_INFO macros, for example). More... | |
|
inline |
Combine surrogates to form a code point.
high | A high surrogate code point. |
low | A low surrogate code point. |
|
inline |
Compare two characters ignoring ASCII case.
code1 | A Unicode code point. |
code2 | A unicode code point. |
|
inline |
Get high surrogate half of a non-BMP Unicode code point.
code | A non-BMP Unicode code point. |
|
inline |
Get low surrogate half of a non-BMP Unicode code point.
code | A non-BMP Unicode code point. |
|
inline |
Check for ASCII character.
code | A Unicode code point. |
|
inline |
Check for ASCII alphabetic character.
code | A Unicode code point. |
|
inline |
Check for ASCII alphanumeric character.
code | A Unicode code point. |
|
inline |
Check for ASCII canonic hexadecimal digit character.
code | A Unicode code point. |
|
inline |
Check for ASCII digit character.
code | A Unicode code point. |
|
inline |
Check for ASCII hexadecimal digit character.
code | A Unicode code point. |
|
inline |
Check for ASCII lower case character.
code | A Unicode code point. |
|
inline |
Check for ASCII octal digit character.
code | A Unicode code point. |
|
inline |
Check for ASCII upper case character.
code | A Unicode code point. |
|
inline |
Check for ASCII white space character.
code | A Unicode code point. |
|
inline |
Check for high surrogate.
code | A Unicode code point. |
|
inline |
Check for low surrogate.
code | A Unicode code point. |
|
inline |
Check for surrogate.
code | A Unicode code point. |
|
inline |
Check for Unicode code point.
code | An integer. |
|
inline |
Check for Unicode scalar value.
code | An integer. |
std::basic_ostream<charT, traits>& rtl::operator<< | ( | std::basic_ostream< charT, traits > & | stream, |
OString const & | rString | ||
) |
Support for rtl::OString in std::ostream (and thus in CPPUNIT_ASSERT or SAL_INFO macros, for example).
|
inline |
Support for rtl::OUString in std::ostream (and thus in CPPUNIT_ASSERT or SAL_INFO macros, for example).
The rtl::OUString is converted to UTF-8.
|
inline |
Convert an OString to an OUString, using a specific text encoding.
The lengths of the two strings may differ (e.g., for double-byte encodings, UTF-7, UTF-8).
rStr | an OString to convert. |
encoding | the text encoding to use for conversion. |
convertFlags | flags which control the conversion. Either use OSTRING_TO_OUSTRING_CVTFLAGS, or see http://udk.openoffice.org/cpp/man/spec/textconversion.html for more details. |
|
inline |
Convert an OUString to an OString, using a specific text encoding.
The lengths of the two strings may differ (e.g., for double-byte encodings, UTF-7, UTF-8).
rUnicode | an OUString to convert. |
encoding | the text encoding to use for conversion. |
convertFlags | flags which control the conversion. Either use OUSTRING_TO_OSTRING_CVTFLAGS, or see http://udk.openoffice.org/cpp/man/spec/textconversion.html for more details. |
|
inline |
Split a Unicode code point into UTF-16 code units.
code | A Unicode code point. |
output | A non-null pointer to an array with space for at least two sal_Unicode UTF-16 code units. |
|
inline |
Convert a character, if ASCII, to lower case.
code | A Unicode code point. |
|
inline |
Convert a character, if ASCII, to upper case.
code | A Unicode code point. |