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

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 1456 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 1344 of file number.cxx.

Referenced by SwWrtShell::NumOrBulletOn(), OutASC_SwTextNode(), and SwNumRule::SwNumRule().

SvxNumberFormat::SvxNumPositionAndSpaceMode numfunc::GetDefaultPositionAndSpaceMode ( )
SW_DLLPUBLIC const vcl::Font & numfunc::GetDefBulletFont ( )
OUString const & numfunc::GetDefBulletFontname ( )

retrieve font family name used for the default bullet list characters

Definition at line 1329 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 1334 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 1461 of file number.cxx.

References SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwCursorShell::GetCursor(), SvxNumberFormat::GetIndentAt(), SwPaM::GetNode(), SvxNumberType::GetNumberingType(), SwTextNode::GetNumRule(), SwNode::GetTextNode(), MAXLEVEL, and SVX_NUM_NUMBER_NONE.

Referenced by SwEditWin::KeyInput().