LibreOffice Module sw (master) 1
|
namespace for static functions and methods for numbering and bullets More...
Functions | |
OUString const & | GetDefBulletFontname () |
retrieve font family name used for the default bullet list characters More... | |
bool | IsDefBulletFontUserDefined () |
determine if default bullet font is user defined More... | |
const vcl::Font & | GetDefBulletFont () |
retrieve font used for the default bullet list characters More... | |
sal_Unicode | GetBulletChar (sal_uInt8 nLevel) |
retrieve unicode of character used for the default bullet list for the given list level More... | |
bool | ChangeIndentOnTabAtFirstPosOfFirstListItem () |
configuration, if at first position of the first list item the <TAB>-key increased the indent of the complete list or only demotes this list item. More... | |
bool | NumDownChangesIndent (const SwWrtShell &rShell) |
Decides if increasing ("downing") the numbering level will change the amount of indentation or not. More... | |
SvxNumberFormat::SvxNumPositionAndSpaceMode | GetDefaultPositionAndSpaceMode () |
namespace for static functions and methods for numbering and bullets
bool numfunc::ChangeIndentOnTabAtFirstPosOfFirstListItem | ( | ) |
configuration, if at first position of the first list item the <TAB>-key increased the indent of the complete list or only demotes this list item.
The same for <SHIFT-TAB>-key at the same position for decreasing the indent of the complete list or only promotes this list item.
Definition at line 1489 of file number.cxx.
Referenced by SwEditWin::KeyInput().
sal_Unicode numfunc::GetBulletChar | ( | sal_uInt8 | nLevel | ) |
retrieve unicode of character used for the default bullet list for the given list level
Definition at line 1377 of file number.cxx.
Referenced by SwWrtShell::NumOrBulletOn(), OutASC_SwTextNode(), and SwNumRule::SwNumRule().
SvxNumberFormat::SvxNumPositionAndSpaceMode numfunc::GetDefaultPositionAndSpaceMode | ( | ) |
Definition at line 1538 of file number.cxx.
References GetODFSaneDefaultVersion(), utl::ConfigManager::IsFuzzing(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, SvtSaveOptions::ODFSVER_010, and SvtSaveOptions::ODFSVER_011.
Referenced by SwAutoFormat::BuildEnum(), SwDoc::ClearDoc(), SwDocStyleSheet::Create(), SwTextShell::ExecEnterNum(), SwTextShell::ExecSetNumber(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), SwWrtShell::NumOrBulletOn(), SwDocStyleSheet::SetItemSet(), SwDoc::SwDoc(), and SwXNumberingRules::SwXNumberingRules().
SW_DLLPUBLIC const vcl::Font & numfunc::GetDefBulletFont | ( | ) |
retrieve font used for the default bullet list characters
Definition at line 1372 of file number.cxx.
Referenced by WW8ListManager::AdjustLVL(), SwAutoFormat::BuildEnum(), SwWW8ImplReader::CoreLoad(), SwHTMLParser::EndNumberBulletList(), sw::DocumentStylePoolManager::GetFormatFromPool(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), SwHTMLParser::NewNumberBulletList(), SwHTMLParser::NewNumberBulletListItem(), MSWordExportBase::NumberingLevel(), SwWrtShell::NumOrBulletOn(), and Writer::PutNumFormatFontsInAttrPool().
OUString const & numfunc::GetDefBulletFontname | ( | ) |
retrieve font family name used for the default bullet list characters
Definition at line 1362 of file number.cxx.
Referenced by lcl_DrawSpecial(), and SwTextFrame::PaintEmpty().
bool numfunc::IsDefBulletFontUserDefined | ( | ) |
determine if default bullet font is user defined
The default bullet font is user defined, if it is given in the user configuration
Definition at line 1367 of file number.cxx.
Referenced by SwAutoFormat::BuildEnum(), SwHTMLParser::EndNumberBulletList(), SwHTMLParser::NewNumberBulletList(), SwHTMLParser::NewNumberBulletListItem(), and SwWrtShell::NumOrBulletOn().
bool numfunc::NumDownChangesIndent | ( | const SwWrtShell & | rShell | ) |
Decides if increasing ("downing") the numbering level will change the amount of indentation or not.
This is typically true, unless the numbering levels are invisible and have no indents.
Definition at line 1494 of file number.cxx.
References SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwCursorShell::GetCursor(), SvxNumberFormat::GetIndentAt(), SvxNumberType::GetNumberingType(), SwTextNode::GetNumRule(), SwPaM::GetPointNode(), SwNode::GetTextNode(), MAXLEVEL, and SVX_NUM_NUMBER_NONE.
Referenced by SwEditWin::KeyInput().