LibreOffice Module sc (master) 1
|
#include <qprostyle.hxx>
Public Member Functions | |
ScQProStyle ()=default | |
void | SetFormat (ScDocument *pDoc, sal_uInt8 nCol, sal_uInt16 nRow, SCTAB nTab, sal_uInt16 nStyle) |
void | setFontRecord (sal_uInt16 nIndex, sal_uInt16 nData, sal_uInt16 nPtSize) |
void | setFontType (sal_uInt16 nIndex, const OUString &aLabel) |
void | setAlign (sal_uInt16 nIndex, sal_uInt8 nData) |
void | setFont (sal_uInt16 nIndex, sal_uInt8 nData) |
Private Types | |
enum | limits { maxsize = 256 } |
Private Attributes | |
sal_uInt8 | maAlign [maxsize] = {} |
sal_uInt8 | maFont [maxsize] = {} |
sal_uInt16 | maFontRecord [maxsize] = {} |
sal_uInt16 | maFontHeight [maxsize] = {} |
OUString | maFontType [maxsize] |
Definition at line 28 of file qprostyle.hxx.
|
private |
Enumerator | |
---|---|
maxsize |
Definition at line 30 of file qprostyle.hxx.
|
default |
|
inline |
Definition at line 50 of file qprostyle.hxx.
|
inline |
Definition at line 52 of file qprostyle.hxx.
|
inline |
Definition at line 40 of file qprostyle.hxx.
References maFontHeight, maFontRecord, maxsize, and nIndex.
|
inline |
Definition at line 48 of file qprostyle.hxx.
References aLabel, maFontType, maxsize, and nIndex.
void ScQProStyle::SetFormat | ( | ScDocument * | pDoc, |
sal_uInt8 | nCol, | ||
sal_uInt16 | nRow, | ||
SCTAB | nTab, | ||
sal_uInt16 | nStyle | ||
) |
Definition at line 38 of file qprostyle.cxx.
References ScDocument::ApplyPattern(), ATTR_FONT(), ATTR_FONT_HEIGHT(), ATTR_FONT_POSTURE(), ATTR_FONT_UNDERLINE(), ATTR_FONT_WEIGHT(), ATTR_HOR_JUSTIFY(), ATTR_VER_JUSTIFY(), FAMILY_SYSTEM, ScPatternAttr::GetItemSet(), ScDocument::GetPool(), ITALIC_NORMAL, LINESTYLE_SINGLE, maAlign, maFont, maFontHeight, maFontRecord, maFontType, maxsize, PITCH_DONTKNOW, SfxItemSet::Put(), and WEIGHT_BOLD.
Referenced by ScQProReader::readSheet().
Definition at line 31 of file qprostyle.hxx.
Referenced by setAlign(), and SetFormat().
Definition at line 32 of file qprostyle.hxx.
Referenced by setFont(), and SetFormat().
|
private |
Definition at line 34 of file qprostyle.hxx.
Referenced by setFontRecord(), and SetFormat().
|
private |
Definition at line 33 of file qprostyle.hxx.
Referenced by setFontRecord(), and SetFormat().
|
private |
Definition at line 35 of file qprostyle.hxx.
Referenced by setFontType(), and SetFormat().