LibreOffice Module starmath (master) 1
|
#include <format.hxx>
Public Member Functions | |
SmFormat () | |
SmFormat (const SmFormat &rFormat) | |
const Size & | GetBaseSize () const |
void | SetBaseSize (const Size &rSize) |
const SmFace & | GetFont (sal_uInt16 nIdent) const |
void | SetFont (sal_uInt16 nIdent, const SmFace &rFont, bool bDefault=false) |
void | SetFontSize (sal_uInt16 nIdent, const Size &rSize) |
void | SetDefaultFont (sal_uInt16 nIdent, bool bVal) |
bool | IsDefaultFont (sal_uInt16 nIdent) const |
sal_uInt16 | GetRelSize (sal_uInt16 nIdent) const |
void | SetRelSize (sal_uInt16 nIdent, sal_uInt16 nVal) |
sal_uInt16 | GetDistance (sal_uInt16 nIdent) const |
void | SetDistance (sal_uInt16 nIdent, sal_uInt16 nVal) |
SmHorAlign | GetHorAlign () const |
void | SetHorAlign (SmHorAlign eAlign) |
bool | IsTextmode () const |
void | SetTextmode (bool bVal) |
sal_Int16 | GetGreekCharStyle () const |
void | SetGreekCharStyle (sal_Int16 nVal) |
bool | IsScaleNormalBrackets () const |
void | SetScaleNormalBrackets (bool bVal) |
SmFormat & | operator= (const SmFormat &rFormat) |
bool | operator== (const SmFormat &rFormat) const |
bool | operator!= (const SmFormat &rFormat) const |
void | RequestApplyChanges () |
Public Member Functions inherited from SfxBroadcaster | |
SfxBroadcaster () | |
SfxBroadcaster (const SfxBroadcaster &rBC) | |
virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
void | Broadcast (const SfxHint &rHint) |
bool | HasListeners () const |
size_t | GetListenerCount () const |
void | ForAllListeners (std::function< bool(SfxListener *)> f) const |
Private Attributes | |
SmFace | vFont [FNT_END+1] |
bool | bDefaultFont [FNT_END+1] |
Size | aBaseSize |
sal_uInt16 | vSize [SIZ_END+1] |
sal_uInt16 | vDist [DIS_END+1] |
SmHorAlign | eHorAlign |
sal_Int16 | nGreekCharStyle |
bool | bIsTextmode |
bool | bScaleNormalBrackets |
Additional Inherited Members | |
Protected Member Functions inherited from SfxBroadcaster | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Definition at line 91 of file format.hxx.
SmFormat::SmFormat | ( | ) |
Definition at line 23 of file format.cxx.
References aBaseSize, ALIGN_BASELINE, bDefaultFont, bIsTextmode, bScaleNormalBrackets, Center, COL_AUTO(), DIS_BOTTOMSPACE, DIS_BRACKETSIZE, DIS_BRACKETSPACE, DIS_DENOMINATOR, DIS_FRACTION, DIS_HORIZONTAL, DIS_LEFTSPACE, DIS_LOWERLIMIT, DIS_MATRIXCOL, DIS_MATRIXROW, DIS_NORMALBRACKETSIZE, DIS_NUMERATOR, DIS_OPERATORSIZE, DIS_OPERATORSPACE, DIS_ORNAMENTSIZE, DIS_ORNAMENTSPACE, DIS_RIGHTSPACE, DIS_ROOT, DIS_STROKEWIDTH, DIS_SUBSCRIPT, DIS_SUPERSCRIPT, DIS_TOPSPACE, DIS_UPPERLIMIT, DIS_VERTICAL, eHorAlign, FNT_BEGIN, FNT_END, FNT_FIXED, FNT_FUNCTION, FNT_MATH, FNT_NUMBER, FNT_SANS, FNT_SERIF, FNT_TEXT, FNT_VARIABLE, FNTNAME_COUR, FNTNAME_HELV, FNTNAME_MATH, FNTNAME_TIMES, i, ITALIC_NONE, ITALIC_NORMAL, nGreekCharStyle, pt, vcl::Font::SetAlignment(), vcl::Font::SetCharSet(), vcl::Font::SetColor(), vcl::Font::SetItalic(), vcl::Font::SetTransparent(), SIZ_FUNCTION, SIZ_INDEX, SIZ_LIMITS, SIZ_OPERATOR, SIZ_TEXT, vDist, vFont, and vSize.
|
inline |
Definition at line 105 of file format.hxx.
|
inline |
Definition at line 107 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), SmModel::_setPropertyValues(), SmSubSupNode::Arrange(), SmBraceNode::Arrange(), operator=(), SmFontSizeDialog::ReadFrom(), and SmFontSizeDialog::WriteTo().
|
inline |
Definition at line 120 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), SmPolyLineNode::Arrange(), SmTableNode::Arrange(), SmLineNode::Arrange(), SmUnHorNode::Arrange(), SmRootNode::Arrange(), SmBinHorNode::Arrange(), SmBinVerNode::Arrange(), SmSubSupNode::Arrange(), SmBraceNode::Arrange(), SmBracebodyNode::Arrange(), SmVerticalBraceNode::Arrange(), SmOperNode::Arrange(), SmAttributeNode::Arrange(), SmMatrixNode::Arrange(), SmDocShell::DrawFormula(), SmDocShell::GetSize(), operator=(), SmDistanceDialog::ReadFrom(), and SmRect::SmRect().
|
inline |
Definition at line 110 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), SmModel::_setPropertyValues(), operator=(), SmNode::Prepare(), SmTextNode::Prepare(), SmSpecialNode::Prepare(), SmMathSymbolNode::Prepare(), SmLineNode::Prepare(), SmFontNode::Prepare(), SmBlankNode::Prepare(), SmFontTypeDialog::ReadFrom(), and SmMathConfig::StripFontFormatList().
|
inline |
Definition at line 129 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), operator=(), and SmSpecialNode::Prepare().
|
inline |
Definition at line 123 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), operator=(), SmNode::Prepare(), and SmAlignDialog::ReadFrom().
|
inline |
Definition at line 117 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), SmTextNode::Arrange(), SmMathSymbolNode::Arrange(), SmUnHorNode::Arrange(), SmRootNode::Arrange(), SmBinHorNode::Arrange(), SmBinVerNode::Arrange(), SmSubSupNode::Arrange(), SmVerticalBraceNode::Arrange(), operator=(), and SmFontSizeDialog::ReadFrom().
|
inline |
Definition at line 115 of file format.hxx.
Referenced by operator=().
|
inline |
Definition at line 132 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), SmBraceNode::Arrange(), SmBracebodyNode::Arrange(), operator=(), and SmDistanceDialog::ReadFrom().
|
inline |
Definition at line 126 of file format.hxx.
Referenced by SmModel::_getPropertyValues(), SmBinVerNode::Arrange(), SmSubSupNode::Arrange(), SmDocShell::Execute(), SmXMLExport::ExportContent_(), and operator=().
|
inline |
Definition at line 147 of file format.hxx.
Definition at line 100 of file format.cxx.
References DIS_BEGIN, DIS_END, FNT_BEGIN, FNT_END, GetBaseSize(), GetDistance(), GetFont(), GetGreekCharStyle(), GetHorAlign(), GetRelSize(), i, IsDefaultFont(), IsScaleNormalBrackets(), IsTextmode(), SetBaseSize(), SetDefaultFont(), SetDistance(), SetFont(), SetGreekCharStyle(), SetHorAlign(), SetRelSize(), SetScaleNormalBrackets(), SetTextmode(), SIZ_BEGIN, and SIZ_END.
bool SmFormat::operator== | ( | const SmFormat & | rFormat | ) | const |
Definition at line 123 of file format.cxx.
References aBaseSize, bDefaultFont, bIsTextmode, bScaleNormalBrackets, DIS_END, eHorAlign, FNT_END, i, nGreekCharStyle, SIZ_END, vDist, vFont, and vSize.
|
inline |
Definition at line 140 of file format.hxx.
References SfxBroadcaster::Broadcast().
Referenced by SmDistanceDialog::WriteTo(), SmFontSizeDialog::WriteTo(), SmFontTypeDialog::WriteTo(), and SmAlignDialog::WriteTo().
|
inline |
Definition at line 108 of file format.hxx.
Referenced by SmModel::_setPropertyValues(), operator=(), and SmFontSizeDialog::WriteTo().
|
inline |
Definition at line 114 of file format.hxx.
Referenced by operator=().
|
inline |
Definition at line 121 of file format.hxx.
Referenced by SmModel::_setPropertyValues(), operator=(), and SmDistanceDialog::WriteTo().
void SmFormat::SetFont | ( | sal_uInt16 | nIdent, |
const SmFace & | rFont, | ||
bool | bDefault = false |
||
) |
Definition at line 91 of file format.cxx.
References ALIGN_BASELINE, bDefaultFont, vcl::Font::SetAlignment(), vcl::Font::SetTransparent(), and vFont.
Referenced by SmModel::_setPropertyValues(), operator=(), and SmFontTypeDialog::WriteTo().
|
inline |
Definition at line 112 of file format.hxx.
References SmFace::SetSize().
Referenced by SmModel::_setPropertyValues(), and SmFontSizeDialog::WriteTo().
|
inline |
Definition at line 130 of file format.hxx.
Referenced by SmModel::_setPropertyValues(), operator=(), and SmDocShell::SetGreekCharStyle().
|
inline |
Definition at line 124 of file format.hxx.
Referenced by SmModel::_setPropertyValues(), operator=(), and SmAlignDialog::WriteTo().
|
inline |
Definition at line 118 of file format.hxx.
Referenced by SmModel::_setPropertyValues(), operator=(), and SmFontSizeDialog::WriteTo().
|
inline |
Definition at line 133 of file format.hxx.
Referenced by SmModel::_setPropertyValues(), operator=(), and SmDistanceDialog::WriteTo().
|
inline |
Definition at line 127 of file format.hxx.
Referenced by SmModel::_setPropertyValues(), SmDocShell::Execute(), and operator=().
|
private |
Definition at line 95 of file format.hxx.
Referenced by operator==(), and SmFormat().
|
private |
Definition at line 94 of file format.hxx.
Referenced by operator==(), SetFont(), and SmFormat().
|
private |
Definition at line 100 of file format.hxx.
Referenced by operator==(), and SmFormat().
|
private |
Definition at line 101 of file format.hxx.
Referenced by operator==(), and SmFormat().
|
private |
Definition at line 98 of file format.hxx.
Referenced by operator==(), and SmFormat().
|
private |
Definition at line 99 of file format.hxx.
Referenced by operator==(), and SmFormat().
|
private |
Definition at line 97 of file format.hxx.
Referenced by operator==(), and SmFormat().
Definition at line 93 of file format.hxx.
Referenced by operator==(), SetFont(), and SmFormat().
|
private |
Definition at line 96 of file format.hxx.
Referenced by operator==(), and SmFormat().