LibreOffice Module sc (master) 1
Classes | Namespaces | Enumerations | Functions | Variables
xlstyle.hxx File Reference
#include <map>
#include <com/sun/star/awt/FontSlant.hpp>
#include <docmodel/color/ComplexColor.hxx>
#include <tools/color.hxx>
#include <tools/fontenum.hxx>
#include <editeng/svxenum.hxx>
#include <editeng/frmdir.hxx>
#include <svl/zforlist.hxx>
#include "fapihelper.hxx"
Include dependency graph for xlstyle.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XclDefaultPalette
 Stores all default colors for a specific BIFF version. More...
 
struct  XclFontData
 This struct helps reading and writing Excel fonts. More...
 
class  XclFontPropSetHelper
 Helper class for usage of property sets. More...
 
struct  XclNumFmt
 
class  XclNumFmtBuffer
 
struct  XclCellProt
 Contains all cell protection attributes. More...
 
struct  XclCellAlign
 Contains all cell alignment attributes. More...
 
struct  XclCellBorder
 Contains color and line style for each cell border line. More...
 
struct  XclCellArea
 Contains background colors and pattern for a cell. More...
 
class  XclXFBase
 Contains base members for XF record import/export. More...
 

Namespaces

namespace  vcl
 

Enumerations

enum class  XclFontItemType {
  Cell ,
  Editeng ,
  HeaderFooter
}
 Enumerates different types of Which-IDs for font items. More...
 
enum  XclFontPropSetType {
  EXC_FONTPROPSET_CHART ,
  EXC_FONTPROPSET_CONTROL
}
 Enumerates different types for objects with font settings (using different property names). More...
 

Functions

bool operator== (const XclFontData &rLeft, const XclFontData &rRight)
 
bool operator== (const XclCellProt &rLeft, const XclCellProt &rRight)
 
bool operator== (const XclCellAlign &rLeft, const XclCellAlign &rRight)
 
bool operator== (const XclCellBorder &rLeft, const XclCellBorder &rRight)
 
bool operator== (const XclCellArea &rLeft, const XclCellArea &rRight)
 

Variables

const sal_uInt8 EXC_LINE_NONE = 0x00
 
const sal_uInt8 EXC_LINE_THIN = 0x01
 
const sal_uInt8 EXC_LINE_MEDIUM = 0x02
 
const sal_uInt8 EXC_LINE_DASHED = 0x03
 
const sal_uInt8 EXC_LINE_DOTTED = 0x04
 
const sal_uInt8 EXC_LINE_THICK = 0x05
 
const sal_uInt8 EXC_LINE_DOUBLE = 0x06
 
const sal_uInt8 EXC_LINE_HAIR = 0x07
 
const sal_uInt8 EXC_LINE_MEDIUM_DASHED = 0x08
 
const sal_uInt8 EXC_LINE_THIN_DASHDOT = 0x09
 
const sal_uInt8 EXC_LINE_MEDIUM_DASHDOT = 0x0A
 
const sal_uInt8 EXC_LINE_THIN_DASHDOTDOT = 0x0B
 
const sal_uInt8 EXC_LINE_MEDIUM_DASHDOTDOT = 0x0C
 
const sal_uInt8 EXC_LINE_MEDIUM_SLANT_DASHDOT = 0x0D
 
const sal_uInt8 EXC_PATT_NONE = 0x00
 
const sal_uInt8 EXC_PATT_SOLID = 0x01
 
const sal_uInt8 EXC_PATT_50_PERC = 0x02
 
const sal_uInt8 EXC_PATT_75_PERC = 0x03
 
const sal_uInt8 EXC_PATT_25_PERC = 0x04
 
const sal_uInt8 EXC_PATT_12_5_PERC = 0x11
 
const sal_uInt8 EXC_PATT_6_25_PERC = 0x12
 
const sal_uInt16 EXC_ID2_FORMAT = 0x001E
 
const sal_uInt16 EXC_ID4_FORMAT = 0x041E
 
const sal_uInt16 EXC_FORMAT_OFFSET5 = 164
 
const sal_uInt16 EXC_FORMAT_OFFSET8 = 164
 
const sal_uInt16 EXC_FORMAT_NOTFOUND = 0xFFFF
 
const sal_uInt16 EXC_ID2_FONT = 0x0031
 
const sal_uInt16 EXC_ID3_FONT = 0x0231
 
const sal_uInt16 EXC_FONT_APP = 0
 
const sal_uInt16 EXC_FONT_NOTFOUND = 0xFFFF
 Application font index. More...
 
const size_t EXC_FONT_MAXCOUNT4 = 0x00FF
 
const size_t EXC_FONT_MAXCOUNT5 = 0x00FF
 
const size_t EXC_FONT_MAXCOUNT8 = 0xFFFF
 
const sal_uInt8 EXC_FONTFAM_DONTKNOW = 0x00
 
const sal_uInt8 EXC_FONTFAM_ROMAN = 0x01
 
const sal_uInt8 EXC_FONTFAM_SWISS = 0x02
 
const sal_uInt8 EXC_FONTFAM_SYSTEM = EXC_FONTFAM_SWISS
 
const sal_uInt8 EXC_FONTFAM_MODERN = 0x03
 
const sal_uInt8 EXC_FONTFAM_SCRIPT = 0x04
 
const sal_uInt8 EXC_FONTFAM_DECORATIVE = 0x05
 
const sal_uInt8 EXC_FONTCSET_ANSI_LATIN = 0x00
 
const sal_uInt16 EXC_FONTATTR_NONE = 0x0000
 
const sal_uInt16 EXC_FONTATTR_BOLD = 0x0001
 
const sal_uInt16 EXC_FONTATTR_ITALIC = 0x0002
 
const sal_uInt16 EXC_FONTATTR_UNDERLINE = 0x0004
 
const sal_uInt16 EXC_FONTATTR_STRIKEOUT = 0x0008
 
const sal_uInt16 EXC_FONTATTR_OUTLINE = 0x0010
 
const sal_uInt16 EXC_FONTATTR_SHADOW = 0x0020
 
const sal_uInt16 EXC_FONTWGHT_DONTKNOW = 0
 
const sal_uInt16 EXC_FONTWGHT_THIN = 100
 
const sal_uInt16 EXC_FONTWGHT_ULTRALIGHT = 200
 
const sal_uInt16 EXC_FONTWGHT_LIGHT = 300
 
const sal_uInt16 EXC_FONTWGHT_SEMILIGHT = 350
 
const sal_uInt16 EXC_FONTWGHT_NORMAL = 400
 
const sal_uInt16 EXC_FONTWGHT_MEDIUM = 500
 
const sal_uInt16 EXC_FONTWGHT_SEMIBOLD = 600
 
const sal_uInt16 EXC_FONTWGHT_BOLD = 700
 
const sal_uInt16 EXC_FONTWGHT_ULTRABOLD = 800
 
const sal_uInt16 EXC_FONTWGHT_BLACK = 900
 
const sal_uInt8 EXC_FONTUNDERL_NONE = 0x00
 
const sal_uInt8 EXC_FONTUNDERL_SINGLE = 0x01
 
const sal_uInt8 EXC_FONTUNDERL_DOUBLE = 0x02
 
const sal_uInt8 EXC_FONTUNDERL_SINGLE_ACC = 0x21
 
const sal_uInt8 EXC_FONTUNDERL_DOUBLE_ACC = 0x22
 
const sal_uInt16 EXC_FONTESC_NONE = 0x00
 
const sal_uInt16 EXC_FONTESC_SUPER = 0x01
 
const sal_uInt16 EXC_FONTESC_SUB = 0x02
 
const sal_uInt16 EXC_ID2_XF = 0x0043
 
const sal_uInt16 EXC_ID3_XF = 0x0243
 
const sal_uInt16 EXC_ID4_XF = 0x0443
 
const sal_uInt16 EXC_ID5_XF = 0x00E0
 
const sal_uInt32 EXC_XF_MAXCOUNT = 4050
 
const sal_uInt32 EXC_XF_MAXSTYLECOUNT = 1536
 Maximum number of all XF records. More...
 
const sal_uInt16 EXC_XF_DEFAULTSTYLE = 0
 Arbitrary maximum number of style XFs. More...
 
const sal_uInt16 EXC_XF_DEFAULTCELL = 15
 Excel index to default style XF. More...
 
const sal_uInt16 EXC_XF_NOTFOUND = 0xFFFF
 Excel index to default cell XF. More...
 
const sal_uInt32 EXC_XFID_NOTFOUND = 0xFFFFFFFF
 Special index for "not found" state. More...
 
const sal_uInt16 EXC_XF_LOCKED = 0x0001
 
const sal_uInt16 EXC_XF_HIDDEN = 0x0002
 
const sal_uInt16 EXC_XF_STYLE = 0x0004
 
const sal_uInt16 EXC_XF_STYLEPARENT = 0x0FFF
 
const sal_uInt16 EXC_XF_LINEBREAK = 0x0008
 Styles don't have a parent. More...
 
const sal_uInt16 EXC_XF_SHRINK = 0x0010
 Automatic line break. More...
 
const sal_uInt8 EXC_XF_DIFF_VALFMT = 0x01
 Shrink to fit into cell. More...
 
const sal_uInt8 EXC_XF_DIFF_FONT = 0x02
 
const sal_uInt8 EXC_XF_DIFF_ALIGN = 0x04
 
const sal_uInt8 EXC_XF_DIFF_BORDER = 0x08
 
const sal_uInt8 EXC_XF_DIFF_AREA = 0x10
 
const sal_uInt8 EXC_XF_DIFF_PROT = 0x20
 
const sal_uInt8 EXC_XF_HOR_GENERAL = 0x00
 
const sal_uInt8 EXC_XF_HOR_LEFT = 0x01
 
const sal_uInt8 EXC_XF_HOR_CENTER = 0x02
 
const sal_uInt8 EXC_XF_HOR_RIGHT = 0x03
 
const sal_uInt8 EXC_XF_HOR_FILL = 0x04
 
const sal_uInt8 EXC_XF_HOR_JUSTIFY = 0x05
 
const sal_uInt8 EXC_XF_HOR_CENTER_AS = 0x06
 
const sal_uInt8 EXC_XF_HOR_DISTRIB = 0x07
 
const sal_uInt8 EXC_XF_VER_TOP = 0x00
 
const sal_uInt8 EXC_XF_VER_CENTER = 0x01
 
const sal_uInt8 EXC_XF_VER_BOTTOM = 0x02
 
const sal_uInt8 EXC_XF_VER_JUSTIFY = 0x03
 
const sal_uInt8 EXC_XF_VER_DISTRIB = 0x04
 
const sal_uInt8 EXC_XF_TEXTDIR_CONTEXT = 0x00
 
const sal_uInt8 EXC_XF_TEXTDIR_LTR = 0x01
 
const sal_uInt8 EXC_XF_TEXTDIR_RTL = 0x02
 
const sal_uInt8 EXC_XF2_VALFMT_MASK = 0x3F
 
const sal_uInt8 EXC_XF2_LOCKED = 0x40
 
const sal_uInt8 EXC_XF2_HIDDEN = 0x80
 
const sal_uInt8 EXC_XF2_LEFTLINE = 0x08
 
const sal_uInt8 EXC_XF2_RIGHTLINE = 0x10
 
const sal_uInt8 EXC_XF2_TOPLINE = 0x20
 
const sal_uInt8 EXC_XF2_BOTTOMLINE = 0x40
 
const sal_uInt8 EXC_XF2_BACKGROUND = 0x80
 
const sal_uInt16 EXC_XF8_SHRINK = 0x0010
 
const sal_uInt16 EXC_XF8_MERGE = 0x0020
 Shrink to fit into cell. More...
 
const sal_uInt32 EXC_XF_DIAGONAL_TL_TO_BR = 0x40000000
 
const sal_uInt32 EXC_XF_DIAGONAL_BL_TO_TR = 0x80000000
 Top-left to bottom-right. More...
 
const sal_uInt32 EXC_XF_DIAGONAL_BOTH = 0xC0000000
 Bottom-left to top-right. More...
 
const sal_uInt16 EXC_ID_EFONT = 0x0045
 Both. More...
 
const sal_uInt16 EXC_ID_PALETTE = 0x0092
 
const sal_uInt16 EXC_COLOR_BIFF2_BLACK = 0
 
const sal_uInt16 EXC_COLOR_BIFF2_WHITE = 1
 
const sal_uInt16 EXC_COLOR_USEROFFSET = 8
 
const sal_uInt16 EXC_COLOR_WINDOWTEXT3 = 24
 First user defined color. More...
 
const sal_uInt16 EXC_COLOR_WINDOWBACK3 = 25
 System window text color (BIFF3-BIFF4). More...
 
const sal_uInt16 EXC_COLOR_WINDOWTEXT = 64
 System window background color (BIFF3-BIFF4). More...
 
const sal_uInt16 EXC_COLOR_WINDOWBACK = 65
 System window text color (>=BIFF5). More...
 
const sal_uInt16 EXC_COLOR_BUTTONBACK = 67
 System window background color (>=BIFF5). More...
 
const sal_uInt16 EXC_COLOR_CHWINDOWTEXT = 77
 System button background color (face color). More...
 
const sal_uInt16 EXC_COLOR_CHWINDOWBACK = 78
 Chart window text color (BIFF8 charts). More...
 
const sal_uInt16 EXC_COLOR_CHBORDERAUTO = 79
 Chart window background color (BIFF8 charts). More...
 
const sal_uInt16 EXC_COLOR_NOTEBACK = 80
 Automatic frame border for series (BIFF8 charts). More...
 
const sal_uInt16 EXC_COLOR_NOTETEXT = 81
 Note background color. More...
 
const sal_uInt16 EXC_COLOR_FONTAUTO = 0x7FFF
 Note text color. More...
 
const sal_uInt16 EXC_ID_STYLE = 0x0293
 Font auto color (system window text color). More...
 
const sal_uInt16 EXC_STYLE_BUILTIN = 0x8000
 
const sal_uInt16 EXC_STYLE_XFMASK = 0x0FFF
 
const sal_uInt8 EXC_STYLE_NORMAL = 0x00
 
const sal_uInt8 EXC_STYLE_ROWLEVEL = 0x01
 "Normal" style. More...
 
const sal_uInt8 EXC_STYLE_COLLEVEL = 0x02
 "RowLevel_*" styles. More...
 
const sal_uInt8 EXC_STYLE_COMMA = 0x03
 "ColLevel_*" styles. More...
 
const sal_uInt8 EXC_STYLE_CURRENCY = 0x04
 "Comma" style. More...
 
const sal_uInt8 EXC_STYLE_PERCENT = 0x05
 "Currency" style. More...
 
const sal_uInt8 EXC_STYLE_COMMA_0 = 0x06
 "Percent" style. More...
 
const sal_uInt8 EXC_STYLE_CURRENCY_0 = 0x07
 "Comma [0]" style. More...
 
const sal_uInt8 EXC_STYLE_HYPERLINK = 0x08
 "Currency [0]" style. More...
 
const sal_uInt8 EXC_STYLE_FOLLOWED_HYPERLINK = 0x09
 "Hyperlink" style. More...
 
const sal_uInt8 EXC_STYLE_USERDEF = 0xFF
 "Followed_Hyperlink" style. More...
 
const sal_uInt8 EXC_STYLE_LEVELCOUNT = 7
 No built-in style. More...
 
const sal_uInt8 EXC_STYLE_NOLEVEL = 0xFF
 Number of outline level styles. More...
 
const sal_uInt16 EXC_ID_STYLEEXT = 0x0892
 Default value for unused level. More...
 
const sal_uInt8 EXC_STYLEEXT_BUILTIN = 0x01
 
const sal_uInt8 EXC_STYLEEXT_HIDDEN = 0x02
 
const sal_uInt8 EXC_STYLEEXT_CUSTOM = 0x04
 

Enumeration Type Documentation

◆ XclFontItemType

enum class XclFontItemType
strong

Enumerates different types of Which-IDs for font items.

Enumerator
Cell 
Editeng 

Use Calc Which-IDs (ATTR_*).

HeaderFooter 

Use edit engine Which-IDs (EE_CHAR_*).

Use header/footer edit engine Which-IDs (EE_CHAR_*).

Definition at line 387 of file xlstyle.hxx.

◆ XclFontPropSetType

Enumerates different types for objects with font settings (using different property names).

Enumerator
EXC_FONTPROPSET_CHART 
EXC_FONTPROPSET_CONTROL 

All text objects in charts.

Text formatting in form controls.

Definition at line 395 of file xlstyle.hxx.

Function Documentation

◆ operator==() [1/5]

bool operator== ( const XclCellAlign rLeft,
const XclCellAlign rRight 
)

◆ operator==() [2/5]

bool operator== ( const XclCellArea rLeft,
const XclCellArea rRight 
)

◆ operator==() [3/5]

bool operator== ( const XclCellBorder rLeft,
const XclCellBorder rRight 
)

◆ operator==() [4/5]

bool operator== ( const XclCellProt rLeft,
const XclCellProt rRight 
)

Definition at line 1544 of file xlstyle.cxx.

References XclCellProt::mbHidden, and XclCellProt::mbLocked.

◆ operator==() [5/5]

bool operator== ( const XclFontData rLeft,
const XclFontData rRight 
)

Variable Documentation

◆ EXC_COLOR_BIFF2_BLACK

const sal_uInt16 EXC_COLOR_BIFF2_BLACK = 0

Definition at line 202 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF2(), and XclImpCellArea::FillFromXF2().

◆ EXC_COLOR_BIFF2_WHITE

const sal_uInt16 EXC_COLOR_BIFF2_WHITE = 1

Definition at line 203 of file xlstyle.hxx.

Referenced by XclImpCellArea::FillFromXF2().

◆ EXC_COLOR_BUTTONBACK

const sal_uInt16 EXC_COLOR_BUTTONBACK = 67

System window background color (>=BIFF5).

Definition at line 210 of file xlstyle.hxx.

Referenced by XclDefaultPalette::GetDefColor().

◆ EXC_COLOR_CHBORDERAUTO

const sal_uInt16 EXC_COLOR_CHBORDERAUTO = 79

Chart window background color (BIFF8 charts).

Definition at line 213 of file xlstyle.hxx.

Referenced by XclDefaultPalette::GetDefColor().

◆ EXC_COLOR_CHWINDOWBACK

const sal_uInt16 EXC_COLOR_CHWINDOWBACK = 78

◆ EXC_COLOR_CHWINDOWTEXT

const sal_uInt16 EXC_COLOR_CHWINDOWTEXT = 77

System button background color (face color).

Definition at line 211 of file xlstyle.hxx.

Referenced by XclExpChLineFormat::Convert(), XclExpChAreaFormat::Convert(), XclDefaultPalette::GetDefColor(), and XclImpChRoot::GetFontAutoColor().

◆ EXC_COLOR_FONTAUTO

const sal_uInt16 EXC_COLOR_FONTAUTO = 0x7FFF

Note text color.

Definition at line 216 of file xlstyle.hxx.

Referenced by XclDefaultPalette::GetDefColor(), and XclExpFont::XclExpFont().

◆ EXC_COLOR_NOTEBACK

const sal_uInt16 EXC_COLOR_NOTEBACK = 80

Automatic frame border for series (BIFF8 charts).

Definition at line 214 of file xlstyle.hxx.

Referenced by XclDefaultPalette::GetDefColor().

◆ EXC_COLOR_NOTETEXT

const sal_uInt16 EXC_COLOR_NOTETEXT = 81

Note background color.

Definition at line 215 of file xlstyle.hxx.

Referenced by XclDefaultPalette::GetDefColor().

◆ EXC_COLOR_USEROFFSET

const sal_uInt16 EXC_COLOR_USEROFFSET = 8

◆ EXC_COLOR_WINDOWBACK

const sal_uInt16 EXC_COLOR_WINDOWBACK = 65

◆ EXC_COLOR_WINDOWBACK3

const sal_uInt16 EXC_COLOR_WINDOWBACK3 = 25

System window text color (BIFF3-BIFF4).

Definition at line 207 of file xlstyle.hxx.

Referenced by XclDefaultPalette::GetDefColor().

◆ EXC_COLOR_WINDOWTEXT

const sal_uInt16 EXC_COLOR_WINDOWTEXT = 64

◆ EXC_COLOR_WINDOWTEXT3

const sal_uInt16 EXC_COLOR_WINDOWTEXT3 = 24

First user defined color.

Definition at line 206 of file xlstyle.hxx.

Referenced by XclDefaultPalette::GetDefColor().

◆ EXC_FONT_APP

const sal_uInt16 EXC_FONT_APP = 0

◆ EXC_FONT_MAXCOUNT4

const size_t EXC_FONT_MAXCOUNT4 = 0x00FF

Definition at line 80 of file xlstyle.hxx.

Referenced by XclExpFontBuffer::XclExpFontBuffer().

◆ EXC_FONT_MAXCOUNT5

const size_t EXC_FONT_MAXCOUNT5 = 0x00FF

Definition at line 81 of file xlstyle.hxx.

Referenced by XclExpFontBuffer::XclExpFontBuffer().

◆ EXC_FONT_MAXCOUNT8

const size_t EXC_FONT_MAXCOUNT8 = 0xFFFF

Definition at line 82 of file xlstyle.hxx.

Referenced by XclExpFontBuffer::XclExpFontBuffer().

◆ EXC_FONT_NOTFOUND

const sal_uInt16 EXC_FONT_NOTFOUND = 0xFFFF

◆ EXC_FONTATTR_BOLD

const sal_uInt16 EXC_FONTATTR_BOLD = 0x0001

Definition at line 98 of file xlstyle.hxx.

Referenced by XclImpFont::ReadFontData2().

◆ EXC_FONTATTR_ITALIC

const sal_uInt16 EXC_FONTATTR_ITALIC = 0x0002

◆ EXC_FONTATTR_NONE

const sal_uInt16 EXC_FONTATTR_NONE = 0x0000

Definition at line 97 of file xlstyle.hxx.

Referenced by XclExpFont::WriteBody().

◆ EXC_FONTATTR_OUTLINE

const sal_uInt16 EXC_FONTATTR_OUTLINE = 0x0010

◆ EXC_FONTATTR_SHADOW

const sal_uInt16 EXC_FONTATTR_SHADOW = 0x0020

◆ EXC_FONTATTR_STRIKEOUT

const sal_uInt16 EXC_FONTATTR_STRIKEOUT = 0x0008

◆ EXC_FONTATTR_UNDERLINE

const sal_uInt16 EXC_FONTATTR_UNDERLINE = 0x0004

Definition at line 100 of file xlstyle.hxx.

Referenced by XclImpFont::ReadFontData2(), and XclExpFont::WriteBody().

◆ EXC_FONTCSET_ANSI_LATIN

const sal_uInt8 EXC_FONTCSET_ANSI_LATIN = 0x00

Definition at line 94 of file xlstyle.hxx.

Referenced by XclFontData::Clear().

◆ EXC_FONTESC_NONE

const sal_uInt16 EXC_FONTESC_NONE = 0x00

◆ EXC_FONTESC_SUB

const sal_uInt16 EXC_FONTESC_SUB = 0x02

◆ EXC_FONTESC_SUPER

const sal_uInt16 EXC_FONTESC_SUPER = 0x01

◆ EXC_FONTFAM_DECORATIVE

const sal_uInt8 EXC_FONTFAM_DECORATIVE = 0x05

Definition at line 91 of file xlstyle.hxx.

Referenced by XclFontData::GetScFamily(), and XclFontData::SetScFamily().

◆ EXC_FONTFAM_DONTKNOW

const sal_uInt8 EXC_FONTFAM_DONTKNOW = 0x00

Definition at line 85 of file xlstyle.hxx.

Referenced by XclFontData::SetScFamily().

◆ EXC_FONTFAM_MODERN

const sal_uInt8 EXC_FONTFAM_MODERN = 0x03

Definition at line 89 of file xlstyle.hxx.

Referenced by XclFontData::GetScFamily(), and XclFontData::SetScFamily().

◆ EXC_FONTFAM_ROMAN

const sal_uInt8 EXC_FONTFAM_ROMAN = 0x01

Definition at line 86 of file xlstyle.hxx.

Referenced by XclFontData::GetScFamily(), and XclFontData::SetScFamily().

◆ EXC_FONTFAM_SCRIPT

const sal_uInt8 EXC_FONTFAM_SCRIPT = 0x04

Definition at line 90 of file xlstyle.hxx.

Referenced by XclFontData::GetScFamily(), and XclFontData::SetScFamily().

◆ EXC_FONTFAM_SWISS

const sal_uInt8 EXC_FONTFAM_SWISS = 0x02

Definition at line 87 of file xlstyle.hxx.

Referenced by XclFontData::GetScFamily(), and XclFontData::SetScFamily().

◆ EXC_FONTFAM_SYSTEM

const sal_uInt8 EXC_FONTFAM_SYSTEM = EXC_FONTFAM_SWISS

Definition at line 88 of file xlstyle.hxx.

Referenced by XclFontData::Clear(), and XclFontData::SetScFamily().

◆ EXC_FONTUNDERL_DOUBLE

const sal_uInt8 EXC_FONTUNDERL_DOUBLE = 0x02

◆ EXC_FONTUNDERL_DOUBLE_ACC

const sal_uInt8 EXC_FONTUNDERL_DOUBLE_ACC = 0x22

Definition at line 123 of file xlstyle.hxx.

Referenced by XclFontData::GetApiUnderline(), and XclFontData::GetScUnderline().

◆ EXC_FONTUNDERL_NONE

const sal_uInt8 EXC_FONTUNDERL_NONE = 0x00

◆ EXC_FONTUNDERL_SINGLE

const sal_uInt8 EXC_FONTUNDERL_SINGLE = 0x01

◆ EXC_FONTUNDERL_SINGLE_ACC

const sal_uInt8 EXC_FONTUNDERL_SINGLE_ACC = 0x21

Definition at line 122 of file xlstyle.hxx.

Referenced by XclFontData::GetApiUnderline(), and XclFontData::GetScUnderline().

◆ EXC_FONTWGHT_BLACK

const sal_uInt16 EXC_FONTWGHT_BLACK = 900

Definition at line 116 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FONTWGHT_BOLD

const sal_uInt16 EXC_FONTWGHT_BOLD = 700

◆ EXC_FONTWGHT_DONTKNOW

const sal_uInt16 EXC_FONTWGHT_DONTKNOW = 0

Definition at line 106 of file xlstyle.hxx.

Referenced by XclFontData::Clear(), and XclFontData::SetScWeight().

◆ EXC_FONTWGHT_LIGHT

const sal_uInt16 EXC_FONTWGHT_LIGHT = 300

Definition at line 109 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FONTWGHT_MEDIUM

const sal_uInt16 EXC_FONTWGHT_MEDIUM = 500

Definition at line 112 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FONTWGHT_NORMAL

const sal_uInt16 EXC_FONTWGHT_NORMAL = 400

◆ EXC_FONTWGHT_SEMIBOLD

const sal_uInt16 EXC_FONTWGHT_SEMIBOLD = 600

Definition at line 113 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FONTWGHT_SEMILIGHT

const sal_uInt16 EXC_FONTWGHT_SEMILIGHT = 350

Definition at line 110 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FONTWGHT_THIN

const sal_uInt16 EXC_FONTWGHT_THIN = 100

Definition at line 107 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FONTWGHT_ULTRABOLD

const sal_uInt16 EXC_FONTWGHT_ULTRABOLD = 800

Definition at line 115 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FONTWGHT_ULTRALIGHT

const sal_uInt16 EXC_FONTWGHT_ULTRALIGHT = 200

Definition at line 108 of file xlstyle.hxx.

Referenced by XclFontData::SetScWeight().

◆ EXC_FORMAT_NOTFOUND

const sal_uInt16 EXC_FORMAT_NOTFOUND = 0xFFFF

◆ EXC_FORMAT_OFFSET5

const sal_uInt16 EXC_FORMAT_OFFSET5 = 164

Definition at line 68 of file xlstyle.hxx.

Referenced by XclExpNumFmtBuffer::XclExpNumFmtBuffer().

◆ EXC_FORMAT_OFFSET8

const sal_uInt16 EXC_FORMAT_OFFSET8 = 164

Definition at line 69 of file xlstyle.hxx.

Referenced by XclExpNumFmtBuffer::XclExpNumFmtBuffer().

◆ EXC_ID2_FONT

const sal_uInt16 EXC_ID2_FONT = 0x0031

Definition at line 74 of file xlstyle.hxx.

Referenced by ImportExcel::Read(), and ImportExcel8::Read().

◆ EXC_ID2_FORMAT

const sal_uInt16 EXC_ID2_FORMAT = 0x001E

Definition at line 65 of file xlstyle.hxx.

◆ EXC_ID2_XF

const sal_uInt16 EXC_ID2_XF = 0x0043

Definition at line 132 of file xlstyle.hxx.

◆ EXC_ID3_FONT

const sal_uInt16 EXC_ID3_FONT = 0x0231

Definition at line 75 of file xlstyle.hxx.

◆ EXC_ID3_XF

const sal_uInt16 EXC_ID3_XF = 0x0243

Definition at line 133 of file xlstyle.hxx.

◆ EXC_ID4_FORMAT

const sal_uInt16 EXC_ID4_FORMAT = 0x041E

Definition at line 66 of file xlstyle.hxx.

Referenced by ImportExcel8::Read(), and XclExpNumFmtBuffer::WriteFormatRecord().

◆ EXC_ID4_XF

const sal_uInt16 EXC_ID4_XF = 0x0443

Definition at line 134 of file xlstyle.hxx.

◆ EXC_ID5_XF

const sal_uInt16 EXC_ID5_XF = 0x00E0

Definition at line 135 of file xlstyle.hxx.

Referenced by XclExpXF::InitDefault(), and ImportExcel8::Read().

◆ EXC_ID_EFONT

const sal_uInt16 EXC_ID_EFONT = 0x0045

Both.

Definition at line 196 of file xlstyle.hxx.

Referenced by ImportExcel::Read().

◆ EXC_ID_PALETTE

const sal_uInt16 EXC_ID_PALETTE = 0x0092

◆ EXC_ID_STYLE

const sal_uInt16 EXC_ID_STYLE = 0x0293

Font auto color (system window text color).

Definition at line 220 of file xlstyle.hxx.

Referenced by ImportExcel8::Read().

◆ EXC_ID_STYLEEXT

const sal_uInt16 EXC_ID_STYLEEXT = 0x0892

Default value for unused level.

Definition at line 242 of file xlstyle.hxx.

Referenced by XclImpStyle::ReadStyle().

◆ EXC_LINE_DASHED

const sal_uInt8 EXC_LINE_DASHED = 0x03

Definition at line 41 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_DOTTED

const sal_uInt8 EXC_LINE_DOTTED = 0x04

Definition at line 42 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_DOUBLE

const sal_uInt8 EXC_LINE_DOUBLE = 0x06

Definition at line 44 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_HAIR

const sal_uInt8 EXC_LINE_HAIR = 0x07

Definition at line 45 of file xlstyle.hxx.

Referenced by XclImpXF::CreatePattern(), and ToLineStyle().

◆ EXC_LINE_MEDIUM

const sal_uInt8 EXC_LINE_MEDIUM = 0x02

Definition at line 40 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_MEDIUM_DASHDOT

const sal_uInt8 EXC_LINE_MEDIUM_DASHDOT = 0x0A

Definition at line 48 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_MEDIUM_DASHDOTDOT

const sal_uInt8 EXC_LINE_MEDIUM_DASHDOTDOT = 0x0C

Definition at line 50 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_MEDIUM_DASHED

const sal_uInt8 EXC_LINE_MEDIUM_DASHED = 0x08

Definition at line 46 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_MEDIUM_SLANT_DASHDOT

const sal_uInt8 EXC_LINE_MEDIUM_SLANT_DASHDOT = 0x0D

Definition at line 51 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_NONE

const sal_uInt8 EXC_LINE_NONE = 0x00

◆ EXC_LINE_THICK

const sal_uInt8 EXC_LINE_THICK = 0x05

Definition at line 43 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_THIN

const sal_uInt8 EXC_LINE_THIN = 0x01

Definition at line 39 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF2(), and ToLineStyle().

◆ EXC_LINE_THIN_DASHDOT

const sal_uInt8 EXC_LINE_THIN_DASHDOT = 0x09

Definition at line 47 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_LINE_THIN_DASHDOTDOT

const sal_uInt8 EXC_LINE_THIN_DASHDOTDOT = 0x0B

Definition at line 49 of file xlstyle.hxx.

Referenced by ToLineStyle().

◆ EXC_PATT_12_5_PERC

const sal_uInt8 EXC_PATT_12_5_PERC = 0x11

◆ EXC_PATT_25_PERC

const sal_uInt8 EXC_PATT_25_PERC = 0x04

Definition at line 59 of file xlstyle.hxx.

Referenced by XclExpPaletteImpl::GetMixedColors(), and ToPatternType().

◆ EXC_PATT_50_PERC

const sal_uInt8 EXC_PATT_50_PERC = 0x02

Definition at line 57 of file xlstyle.hxx.

Referenced by XclExpPaletteImpl::GetMixedColors(), and ToPatternType().

◆ EXC_PATT_6_25_PERC

const sal_uInt8 EXC_PATT_6_25_PERC = 0x12

Definition at line 61 of file xlstyle.hxx.

Referenced by ToPatternType().

◆ EXC_PATT_75_PERC

const sal_uInt8 EXC_PATT_75_PERC = 0x03

Definition at line 58 of file xlstyle.hxx.

Referenced by XclExpPaletteImpl::GetMixedColors(), and ToPatternType().

◆ EXC_PATT_NONE

const sal_uInt8 EXC_PATT_NONE = 0x00

◆ EXC_PATT_SOLID

const sal_uInt8 EXC_PATT_SOLID = 0x01

◆ EXC_STYLE_BUILTIN

const sal_uInt16 EXC_STYLE_BUILTIN = 0x8000

Definition at line 222 of file xlstyle.hxx.

Referenced by XclImpStyle::ReadStyle(), and XclExpStyle::WriteBody().

◆ EXC_STYLE_COLLEVEL

const sal_uInt8 EXC_STYLE_COLLEVEL = 0x02

"RowLevel_*" styles.

Definition at line 227 of file xlstyle.hxx.

Referenced by XclTools::GetBuiltInStyleId(), XclTools::GetBuiltInStyleName(), and XclExpXFBuffer::InsertDefaultRecords().

◆ EXC_STYLE_COMMA

const sal_uInt8 EXC_STYLE_COMMA = 0x03

"ColLevel_*" styles.

Definition at line 228 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::InsertDefaultRecords().

◆ EXC_STYLE_COMMA_0

const sal_uInt8 EXC_STYLE_COMMA_0 = 0x06

"Percent" style.

Definition at line 231 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::InsertDefaultRecords().

◆ EXC_STYLE_CURRENCY

const sal_uInt8 EXC_STYLE_CURRENCY = 0x04

"Comma" style.

Definition at line 229 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::InsertDefaultRecords().

◆ EXC_STYLE_CURRENCY_0

const sal_uInt8 EXC_STYLE_CURRENCY_0 = 0x07

"Comma [0]" style.

Definition at line 232 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::InsertDefaultRecords().

◆ EXC_STYLE_FOLLOWED_HYPERLINK

const sal_uInt8 EXC_STYLE_FOLLOWED_HYPERLINK = 0x09

"Hyperlink" style.

Definition at line 234 of file xlstyle.hxx.

◆ EXC_STYLE_HYPERLINK

const sal_uInt8 EXC_STYLE_HYPERLINK = 0x08

"Currency [0]" style.

Definition at line 233 of file xlstyle.hxx.

◆ EXC_STYLE_LEVELCOUNT

const sal_uInt8 EXC_STYLE_LEVELCOUNT = 7

No built-in style.

Definition at line 237 of file xlstyle.hxx.

Referenced by XclTools::GetBuiltInStyleId(), and XclExpXFBuffer::InsertDefaultRecords().

◆ EXC_STYLE_NOLEVEL

const sal_uInt8 EXC_STYLE_NOLEVEL = 0xFF

Number of outline level styles.

Definition at line 238 of file xlstyle.hxx.

Referenced by XclTools::GetBuiltInStyleId().

◆ EXC_STYLE_NORMAL

const sal_uInt8 EXC_STYLE_NORMAL = 0x00

◆ EXC_STYLE_PERCENT

const sal_uInt8 EXC_STYLE_PERCENT = 0x05

"Currency" style.

Definition at line 230 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::InsertDefaultRecords().

◆ EXC_STYLE_ROWLEVEL

const sal_uInt8 EXC_STYLE_ROWLEVEL = 0x01

◆ EXC_STYLE_USERDEF

const sal_uInt8 EXC_STYLE_USERDEF = 0xFF

"Followed_Hyperlink" style.

Definition at line 235 of file xlstyle.hxx.

Referenced by XclTools::GetBuiltInStyleId(), XclExpStyle::IsBuiltIn(), XclImpStyle::IsBuiltin(), and XclTools::IsBuiltInStyleName().

◆ EXC_STYLE_XFMASK

const sal_uInt16 EXC_STYLE_XFMASK = 0x0FFF

Definition at line 223 of file xlstyle.hxx.

Referenced by XclImpStyle::ReadStyle().

◆ EXC_STYLEEXT_BUILTIN

const sal_uInt8 EXC_STYLEEXT_BUILTIN = 0x01

Definition at line 244 of file xlstyle.hxx.

Referenced by XclImpStyle::ReadStyle().

◆ EXC_STYLEEXT_CUSTOM

const sal_uInt8 EXC_STYLEEXT_CUSTOM = 0x04

Definition at line 246 of file xlstyle.hxx.

Referenced by XclImpStyle::ReadStyle().

◆ EXC_STYLEEXT_HIDDEN

const sal_uInt8 EXC_STYLEEXT_HIDDEN = 0x02

Definition at line 245 of file xlstyle.hxx.

Referenced by XclImpStyle::ReadStyle().

◆ EXC_XF2_BACKGROUND

const sal_uInt8 EXC_XF2_BACKGROUND = 0x80

Definition at line 185 of file xlstyle.hxx.

Referenced by XclImpCellArea::FillFromXF2().

◆ EXC_XF2_BOTTOMLINE

const sal_uInt8 EXC_XF2_BOTTOMLINE = 0x40

Definition at line 184 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF2().

◆ EXC_XF2_HIDDEN

const sal_uInt8 EXC_XF2_HIDDEN = 0x80

Definition at line 180 of file xlstyle.hxx.

Referenced by XclImpCellProt::FillFromXF2().

◆ EXC_XF2_LEFTLINE

const sal_uInt8 EXC_XF2_LEFTLINE = 0x08

Definition at line 181 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF2().

◆ EXC_XF2_LOCKED

const sal_uInt8 EXC_XF2_LOCKED = 0x40

Definition at line 179 of file xlstyle.hxx.

Referenced by XclImpCellProt::FillFromXF2().

◆ EXC_XF2_RIGHTLINE

const sal_uInt8 EXC_XF2_RIGHTLINE = 0x10

Definition at line 182 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF2().

◆ EXC_XF2_TOPLINE

const sal_uInt8 EXC_XF2_TOPLINE = 0x20

Definition at line 183 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF2().

◆ EXC_XF2_VALFMT_MASK

const sal_uInt8 EXC_XF2_VALFMT_MASK = 0x3F

Definition at line 178 of file xlstyle.hxx.

Referenced by XclImpXF::ReadXF2().

◆ EXC_XF8_MERGE

const sal_uInt16 EXC_XF8_MERGE = 0x0020

Shrink to fit into cell.

Definition at line 188 of file xlstyle.hxx.

◆ EXC_XF8_SHRINK

const sal_uInt16 EXC_XF8_SHRINK = 0x0010

◆ EXC_XF_DEFAULTCELL

const sal_uInt16 EXC_XF_DEFAULTCELL = 15

◆ EXC_XF_DEFAULTSTYLE

const sal_uInt16 EXC_XF_DEFAULTSTYLE = 0

Arbitrary maximum number of style XFs.

Definition at line 139 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::Finalize(), XclExpXFBuffer::GetXFIndex(), XclExpXFBuffer::InsertStyle(), and XclExpXFBuffer::InsertStyleXF().

◆ EXC_XF_DIAGONAL_BL_TO_TR

const sal_uInt32 EXC_XF_DIAGONAL_BL_TO_TR = 0x80000000

Top-left to bottom-right.

Definition at line 191 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF8(), and XclExpCellBorder::FillToXF8().

◆ EXC_XF_DIAGONAL_BOTH

const sal_uInt32 EXC_XF_DIAGONAL_BOTH = 0xC0000000

Bottom-left to top-right.

Definition at line 192 of file xlstyle.hxx.

◆ EXC_XF_DIAGONAL_TL_TO_BR

const sal_uInt32 EXC_XF_DIAGONAL_TL_TO_BR = 0x40000000

Definition at line 190 of file xlstyle.hxx.

Referenced by XclImpCellBorder::FillFromXF8(), and XclExpCellBorder::FillToXF8().

◆ EXC_XF_DIFF_ALIGN

const sal_uInt8 EXC_XF_DIFF_ALIGN = 0x04

Definition at line 154 of file xlstyle.hxx.

Referenced by XclExpXF::GetUsedFlags(), and XclImpXF::SetUsedFlags().

◆ EXC_XF_DIFF_AREA

const sal_uInt8 EXC_XF_DIFF_AREA = 0x10

Definition at line 156 of file xlstyle.hxx.

Referenced by XclExpXF::GetUsedFlags(), and XclImpXF::SetUsedFlags().

◆ EXC_XF_DIFF_BORDER

const sal_uInt8 EXC_XF_DIFF_BORDER = 0x08

Definition at line 155 of file xlstyle.hxx.

Referenced by XclExpXF::GetUsedFlags(), and XclImpXF::SetUsedFlags().

◆ EXC_XF_DIFF_FONT

const sal_uInt8 EXC_XF_DIFF_FONT = 0x02

Definition at line 153 of file xlstyle.hxx.

Referenced by XclExpXF::GetUsedFlags(), and XclImpXF::SetUsedFlags().

◆ EXC_XF_DIFF_PROT

const sal_uInt8 EXC_XF_DIFF_PROT = 0x20

Definition at line 157 of file xlstyle.hxx.

Referenced by XclExpXF::GetUsedFlags(), and XclImpXF::SetUsedFlags().

◆ EXC_XF_DIFF_VALFMT

const sal_uInt8 EXC_XF_DIFF_VALFMT = 0x01

Shrink to fit into cell.

Definition at line 152 of file xlstyle.hxx.

Referenced by XclExpXF::GetUsedFlags(), and XclImpXF::SetUsedFlags().

◆ EXC_XF_HIDDEN

const sal_uInt16 EXC_XF_HIDDEN = 0x0002

Definition at line 146 of file xlstyle.hxx.

Referenced by XclImpCellProt::FillFromXF3(), and XclExpCellProt::FillToXF3().

◆ EXC_XF_HOR_CENTER

const sal_uInt8 EXC_XF_HOR_CENTER = 0x02

◆ EXC_XF_HOR_CENTER_AS

const sal_uInt8 EXC_XF_HOR_CENTER_AS = 0x06

◆ EXC_XF_HOR_DISTRIB

const sal_uInt8 EXC_XF_HOR_DISTRIB = 0x07

◆ EXC_XF_HOR_FILL

const sal_uInt8 EXC_XF_HOR_FILL = 0x04

◆ EXC_XF_HOR_GENERAL

const sal_uInt8 EXC_XF_HOR_GENERAL = 0x00

◆ EXC_XF_HOR_JUSTIFY

const sal_uInt8 EXC_XF_HOR_JUSTIFY = 0x05

◆ EXC_XF_HOR_LEFT

const sal_uInt8 EXC_XF_HOR_LEFT = 0x01

◆ EXC_XF_HOR_RIGHT

const sal_uInt8 EXC_XF_HOR_RIGHT = 0x03

◆ EXC_XF_LINEBREAK

const sal_uInt16 EXC_XF_LINEBREAK = 0x0008

◆ EXC_XF_LOCKED

const sal_uInt16 EXC_XF_LOCKED = 0x0001

Definition at line 145 of file xlstyle.hxx.

Referenced by XclImpCellProt::FillFromXF3(), and XclExpCellProt::FillToXF3().

◆ EXC_XF_MAXCOUNT

const sal_uInt32 EXC_XF_MAXCOUNT = 4050

Definition at line 137 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::Finalize().

◆ EXC_XF_MAXSTYLECOUNT

const sal_uInt32 EXC_XF_MAXSTYLECOUNT = 1536

Maximum number of all XF records.

Definition at line 138 of file xlstyle.hxx.

Referenced by XclExpXFBuffer::Finalize().

◆ EXC_XF_NOTFOUND

const sal_uInt16 EXC_XF_NOTFOUND = 0xFFFF

◆ EXC_XF_SHRINK

const sal_uInt16 EXC_XF_SHRINK = 0x0010

Automatic line break.

Definition at line 150 of file xlstyle.hxx.

◆ EXC_XF_STYLE

const sal_uInt16 EXC_XF_STYLE = 0x0004

◆ EXC_XF_STYLEPARENT

const sal_uInt16 EXC_XF_STYLEPARENT = 0x0FFF

Definition at line 148 of file xlstyle.hxx.

◆ EXC_XF_TEXTDIR_CONTEXT

const sal_uInt8 EXC_XF_TEXTDIR_CONTEXT = 0x00

◆ EXC_XF_TEXTDIR_LTR

const sal_uInt8 EXC_XF_TEXTDIR_LTR = 0x01

Definition at line 175 of file xlstyle.hxx.

Referenced by XclCellAlign::GetScFrameDir(), and XclCellAlign::SetScFrameDir().

◆ EXC_XF_TEXTDIR_RTL

const sal_uInt8 EXC_XF_TEXTDIR_RTL = 0x02

Definition at line 176 of file xlstyle.hxx.

Referenced by XclCellAlign::GetScFrameDir(), and XclCellAlign::SetScFrameDir().

◆ EXC_XF_VER_BOTTOM

const sal_uInt8 EXC_XF_VER_BOTTOM = 0x02

◆ EXC_XF_VER_CENTER

const sal_uInt8 EXC_XF_VER_CENTER = 0x01

◆ EXC_XF_VER_DISTRIB

const sal_uInt8 EXC_XF_VER_DISTRIB = 0x04

◆ EXC_XF_VER_JUSTIFY

const sal_uInt8 EXC_XF_VER_JUSTIFY = 0x03

◆ EXC_XF_VER_TOP

const sal_uInt8 EXC_XF_VER_TOP = 0x00

◆ EXC_XFID_NOTFOUND

const sal_uInt32 EXC_XFID_NOTFOUND = 0xFFFFFFFF