LibreOffice Module sw (master) 1
Functions
numfunc Namespace Reference

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::FontGetDefBulletFont ()
 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 ()
 

Detailed Description

namespace for static functions and methods for numbering and bullets

Function Documentation

◆ ChangeIndentOnTabAtFirstPosOfFirstListItem()

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().

◆ GetBulletChar()

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().

◆ GetDefaultPositionAndSpaceMode()

SvxNumberFormat::SvxNumPositionAndSpaceMode numfunc::GetDefaultPositionAndSpaceMode ( )

◆ GetDefBulletFont()

SW_DLLPUBLIC const vcl::Font & numfunc::GetDefBulletFont ( )

◆ GetDefBulletFontname()

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().

◆ IsDefBulletFontUserDefined()

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().

◆ NumDownChangesIndent()

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().