LibreOffice Module sc (master)  1
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
xlstring.hxx File Reference
#include <vector>
#include <o3tl/typed_flags_set.hxx>
Include dependency graph for xlstring.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< XclStrFlags >
 
struct  XclFormatRun
 NUL character (unicode). More...
 

Namespaces

 o3tl
 

Typedefs

typedef ::std::vector< XclFormatRunXclFormatRunVec
 A vector with all formatting runs for a rich-string. More...
 

Enumerations

enum  XclStrFlags : sal_uInt16 {
  XclStrFlags::NONE = 0x0000,
  XclStrFlags::ForceUnicode = 0x0001,
  XclStrFlags::EightBitLength = 0x0002,
  XclStrFlags::SmartFlags = 0x0004,
  XclStrFlags::SeparateFormats = 0x0008,
  XclStrFlags::NoHeader = 0x0010
}
 Flags used to specify import/export mode of strings. More...
 

Functions

bool operator== (const XclFormatRun &rLeft, const XclFormatRun &rRight)
 
bool operator< (const XclFormatRun &rLeft, const XclFormatRun &rRight)
 

Variables

const sal_uInt16 EXC_STR_MAXLEN_8BIT = 0x00FF
 
const sal_uInt16 EXC_STR_MAXLEN = 0x7FFF
 
const sal_uInt8 EXC_STRF_16BIT = 0x01
 
const sal_uInt8 EXC_STRF_FAREAST = 0x04
 
const sal_uInt8 EXC_STRF_RICH = 0x08
 
const sal_uInt8 EXC_STRF_UNKNOWN = 0xF2
 
const sal_uInt8 EXC_LF_C = '\x0A'
 
const sal_uInt16 EXC_LF = EXC_LF_C
 LF character (used for line break). More...
 
const sal_uInt8 EXC_NUL_C = '\x00'
 LF character (unicode). More...
 
const sal_uInt16 EXC_NUL = EXC_NUL_C
 NUL character. More...
 

Typedef Documentation

typedef ::std::vector< XclFormatRun > XclFormatRunVec

A vector with all formatting runs for a rich-string.

Definition at line 85 of file xlstring.hxx.

Enumeration Type Documentation

enum XclStrFlags : sal_uInt16
strong

Flags used to specify import/export mode of strings.

Enumerator
NONE 
ForceUnicode 

Default string settings.

EightBitLength 

Always use UCS-2 characters (default: try to compress). BIFF8 only.

SmartFlags 

8-bit string length field (default: 16-bit).

SeparateFormats 

Omit flags on empty string (default: read/write always). BIFF8 only.

NoHeader 

Import: Keep old formats when reading unformatted string (default: clear formats); Export: Write unformatted string.

Definition at line 29 of file xlstring.hxx.

Function Documentation

bool operator< ( const XclFormatRun rLeft,
const XclFormatRun rRight 
)
inline

Definition at line 79 of file xlstring.hxx.

References XclFormatRun::mnChar, and XclFormatRun::mnFontIdx.

bool operator== ( const XclFormatRun rLeft,
const XclFormatRun rRight 
)
inline

Definition at line 74 of file xlstring.hxx.

References XclFormatRun::mnChar, and XclFormatRun::mnFontIdx.

Variable Documentation

const sal_uInt16 EXC_LF = EXC_LF_C

LF character (used for line break).

Definition at line 52 of file xlstring.hxx.

Referenced by XclExpString::CharsToBuffer().

const sal_uInt8 EXC_LF_C = '\x0A'

Definition at line 51 of file xlstring.hxx.

Referenced by XclExpString::CharsToBuffer().

const sal_uInt16 EXC_NUL = EXC_NUL_C

NUL character.

Definition at line 54 of file xlstring.hxx.

Referenced by XclImpStream::ReadRawUniString().

const sal_uInt8 EXC_NUL_C = '\x00'

LF character (unicode).

Definition at line 53 of file xlstring.hxx.

Referenced by XclImpStream::ReadRawUniString().

const sal_uInt16 EXC_STR_MAXLEN = 0x7FFF
const sal_uInt16 EXC_STR_MAXLEN_8BIT = 0x00FF

Definition at line 42 of file xlstring.hxx.

Referenced by XclExpString::AppendFormat().

const sal_uInt8 EXC_STRF_16BIT = 0x01
const sal_uInt8 EXC_STRF_FAREAST = 0x04

Definition at line 46 of file xlstring.hxx.

Referenced by XclImpStream::ReadUniStringExtHeader().

const sal_uInt8 EXC_STRF_RICH = 0x08
const sal_uInt8 EXC_STRF_UNKNOWN = 0xF2

Definition at line 48 of file xlstring.hxx.

Referenced by XclImpStream::ReadUniStringExtHeader().