class SwTextFormatColl; class IDocumentListsAccess; class SwNodeNum; namespace vcl { class Font; } class SfxGrabBagItem; class SwDoc; class SwTextNode; class SwWrtShell;
const sal_Unicode cBulletChar = 0x2022; ///< Character for lists.
class SW_DLLPUBLIC SwNumFormat final : public SvxNumberFormat, public SwClient
{
SwFormatVertOrient m_aVertOrient; //For i120928,record the cp info of graphic within bullet
sal_Unicode m_cGrfBulletCP;
SAL_DLLPRIVATE void UpdateNumNodes(SwDoc& rDoc);
using SvxNumberFormat::operator ==; using SvxNumberFormat::operator !=;
using SvxNumberFormat::SetCharFormatName; // this should return UIName but cannot because we are overriding code from include/editeng virtual OUString GetCharFormatName() const override;
//For i120928,access the cp info of graphic within bullet void SetGrfBulletCP(sal_Unicode cP){m_cGrfBulletCP = cP;}
sal_Unicode GetGrfBulletCP() const {return m_cGrfBulletCP;}
UIName msName;
SwNumRuleType meRuleType;
sal_uInt16 mnPoolFormatId; ///< Id-for NumRules created "automatically"
sal_uInt16 mnPoolHelpId; ///< HelpId for this Pool-style.
sal_uInt8 mnPoolHlpFileId; ///< FilePos at Doc on style helps. bool mbAutoRuleFlag : 1; bool mbInvalidRuleFlag : 1; bool mbContinusNum : 1; ///< Continuous numbering without levels. bool mbAbsSpaces : 1; ///< Levels represent absolute indents. bool mbHidden : 1; ///< Is the numbering rule to be hidden in the UI? bool mbCountPhantoms; bool mbUsedByRedline; /// it needs to export as part of tracked numbering change
/** A kind of copy-constructor to make sure the num formats are attachedtothecorrectCharFormatsofadocument!!
(Copies the NumFormats and returns itself). */
SwNumRule& CopyNumRule( SwDoc&, const SwNumRule& );
/** Tests whether the CharFormats are from the given doc
and copies them if appropriate. */ void CheckCharFormats( SwDoc& rDoc );
/// change indent of all list levels by given difference void ChangeIndent( const sal_Int32 nDiff ); /// set indent of certain list level to given value void SetIndent( constshort nNewIndent, const sal_uInt16 nListLevel ); /** set indent of first list level to given value and change other list level's
indents accordingly */ void SetIndentOfFirstListLevelAndChangeOthers( constshort nNewIndent );
/// namespace for static functions and methods for numbering and bullets namespace numfunc
{ /** retrieve font family name used for the default bullet list characters */
OUString const & GetDefBulletFontname();
/** determine if default bullet font is user defined
/** retrieve font used for the default bullet list characters */
SW_DLLPUBLIC const vcl::Font& GetDefBulletFont();
/** retrieve unicode of character used for the default bullet list for the given list level */
sal_Unicode GetBulletChar( sal_uInt8 nLevel );
/** configuration, if at first position of the first list item the <TAB>-key increasedtheindentofthecompletelistoronlydemotesthislistitem. Thesamefor<SHIFT-TAB>-keyatthesamepositionfordecreasingthe indentofthecompletelistoronlypromotesthislistitem.
*/ bool ChangeIndentOnTabAtFirstPosOfFirstListItem();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.