LibreOffice Module sc (master)  1
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
xestyle.hxx File Reference
#include <map>
#include <svl/zforlist.hxx>
#include <svl/nfkeytab.hxx>
#include <editeng/svxfont.hxx>
#include "xerecord.hxx"
#include "xlstyle.hxx"
#include "xeroot.hxx"
#include <fonthelper.hxx>
#include <memory>
#include <vector>
#include <o3tl/sorted_vector.hxx>
Include dependency graph for xestyle.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XclExpPalette
 Stores all used colors in the document. More...
 
class  XclExpFont
 Stores all data of an Excel font and provides export of FONT records. More...
 
class  XclExpDxfFont
 
class  XclExpBlindFont
 Used as placeholder for font index 4, which is not used in Excel. More...
 
class  XclExpFontBuffer
 Stores the data of all fonts used in the document. More...
 
struct  XclExpNumFmt
 Stores a core number format index with corresponding Excel format index. More...
 
class  XclExpNumFmtBuffer
 Stores all number formats used in the document. More...
 
struct  XclExpCellProt
 Extends the XclCellProt struct for export. More...
 
struct  XclExpCellAlign
 Extends the XclCellAlign struct for export. More...
 
struct  XclExpCellBorder
 Extends the XclCellBorder struct for export. More...
 
struct  XclExpCellArea
 Extends the XclCellArea struct for export. More...
 
struct  XclExpColor
 
struct  XclExpXFId
 A combination of unique XF identifier with real Excel XF index. More...
 
class  XclExpXF
 Represents an XF record which contains all formatting data of a cell or cell style. More...
 
class  XclExpDefaultXF
 Represents a default XF record. More...
 
class  XclExpStyle
 Represents a STYLE record containing the data of a cell style. More...
 
class  XclExpXFBuffer
 Stores all XF records (cell formats and cell styles) in the document. More...
 
struct  XclExpXFBuffer::XclExpBuiltInInfo
 Extended info about a built-in XF. More...
 
struct  XclExpXFBuffer::FindKey
 composite key for the find-map, so we can do partial key searching More...
 
class  XclExpDxf
 
class  XclExpDxfs
 
class  XclExpXmlStyleSheet
 

Namespaces

 XclExpFontHelper
 Helper functions for font export.
 

Typedefs

typedef ::std::unique_ptr< SvNumberFormatterSvNumberFormatterPtr
 

Enumerations

enum  XclExpColorType {
  EXC_COLOR_CELLTEXT,
  EXC_COLOR_CELLBORDER,
  EXC_COLOR_CELLAREA,
  EXC_COLOR_CHARTTEXT,
  EXC_COLOR_CHARTLINE,
  EXC_COLOR_CHARTAREA,
  EXC_COLOR_CTRLTEXT,
  EXC_COLOR_GRID,
  EXC_COLOR_TABBG
}
 For internal use only. TODO:moggi: find a better/correct value. More...
 

Functions

sal_Int16 XclExpFontHelper::GetFirstUsedScript (const XclExpRoot &rRoot, const SfxItemSet &rItemSet)
 Returns the script type of the first font item found in the item set and its parents. More...
 
vcl::Font XclExpFontHelper::GetFontFromItemSet (const XclExpRoot &rRoot, const SfxItemSet &rItemSet, sal_Int16 nScript)
 Returns a VCL font object filled from the passed item set. More...
 
ScDxfFont XclExpFontHelper::GetDxfFontFromItemSet (const XclExpRoot &rRoot, const SfxItemSet &rSet)
 Get a dxf related font object from the item set. More...
 
bool XclExpFontHelper::CheckItems (const XclExpRoot &rRoot, const SfxItemSet &rItemSet, sal_Int16 nScript, bool bDeep)
 Returns true, if at least one font related item is set in the passed item set. More...
 

Variables

const sal_uInt16 EXC_ID_FONTLIST = 0x8031
 
const sal_uInt16 EXC_ID_FORMATLIST = 0x801E
 For internal use only. More...
 
const sal_uInt16 EXC_ID_XFLIST = 0x8043
 For internal use only. More...
 
const sal_uInt16 EXC_ID_DXFS = 0x9999
 For internal use only. More...
 
const size_t EXC_FONTLIST_NOTFOUND = static_cast< size_t >( -1 )
 

Typedef Documentation

typedef ::std::unique_ptr< SvNumberFormatter > SvNumberFormatterPtr

Definition at line 267 of file xestyle.hxx.

Enumeration Type Documentation

For internal use only. TODO:moggi: find a better/correct value.

Different types of colors in a document.

Enumerator
EXC_COLOR_CELLTEXT 
EXC_COLOR_CELLBORDER 

Text in a cell.

EXC_COLOR_CELLAREA 

Border of a cell.

EXC_COLOR_CHARTTEXT 

Background area of a cell.

EXC_COLOR_CHARTLINE 

Text color in a chart.

EXC_COLOR_CHARTAREA 

Line in a chart.

EXC_COLOR_CTRLTEXT 

Area in a chart.

EXC_COLOR_GRID 

Text color in a form control.

EXC_COLOR_TABBG 

Spreadsheet grid color.

Spreadsheet tab bg color.

Definition at line 47 of file xestyle.hxx.

Variable Documentation

const size_t EXC_FONTLIST_NOTFOUND = static_cast< size_t >( -1 )

Definition at line 122 of file xestyle.hxx.

Referenced by XclExpFontBuffer::Find(), and XclExpFontBuffer::Insert().

const sal_uInt16 EXC_ID_DXFS = 0x9999

For internal use only.

Definition at line 42 of file xestyle.hxx.

Referenced by XclExpRoot::CreateRecord(), and XclExpXmlStyleSheet::SaveXml().

const sal_uInt16 EXC_ID_FONTLIST = 0x8031
const sal_uInt16 EXC_ID_FORMATLIST = 0x801E

For internal use only.

Definition at line 40 of file xestyle.hxx.

Referenced by XclExpRoot::CreateRecord(), ExcTable::FillAsHeaderBinary(), and XclExpXmlStyleSheet::SaveXml().

const sal_uInt16 EXC_ID_XFLIST = 0x8043

For internal use only.

Definition at line 41 of file xestyle.hxx.

Referenced by XclExpRoot::CreateRecord(), ExcTable::FillAsHeaderBinary(), and XclExpXmlStyleSheet::SaveXml().