LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwNumFormat Class Referencefinal

#include <numrule.hxx>

Inheritance diagram for SwNumFormat:
Collaboration diagram for SwNumFormat:

Public Member Functions

 SwNumFormat ()
 SwNumFormat (const SwNumFormat &)
 SwNumFormat (const SvxNumberFormat &, SwDoc *pDoc)
virtual ~SwNumFormat () override
SwNumFormatoperator= (const SwNumFormat &)
bool operator== (const SwNumFormat &) const
bool operator!= (const SwNumFormat &r) const
SwCharFormatGetCharFormat () const
void SetCharFormat (SwCharFormat *)
virtual OUString GetCharFormatName () const override
void SetGrfBulletCP (sal_Unicode cP)
sal_Unicode GetGrfBulletCP () const
virtual void SetGraphicBrush (const SvxBrushItem *pBrushItem, const Size *pSize=nullptr, const sal_Int16 *pOrient=nullptr) override
const SwFormatVertOrientGetGraphicOrientation () const
bool IsEnumeration () const
bool IsItemize () const
- Public Member Functions inherited from SvxNumberFormat
 SvxNumberFormat (SvxNumType nNumberingType)
 SvxNumberFormat (const SvxNumberFormat &rFormat)
 SvxNumberFormat (SvStream &rStream)
virtual ~SvxNumberFormat ()
void Store (SvStream &rStream, FontToSubsFontConverter pConverter)
SvxNumberFormatoperator= (const SvxNumberFormat &)
bool operator== (const SvxNumberFormat &) const
bool operator!= (const SvxNumberFormat &rFmt) const
void SetNumAdjust (SvxAdjust eSet)
SvxAdjust GetNumAdjust () const
void SetPrefix (const OUString &rSet)
const OUString & GetPrefix () const
void SetSuffix (const OUString &rSet)
const OUString & GetSuffix () const
void SetListFormat (const OUString &rSet)
bool HasListFormat () const
const OUString & GetListFormat () const
void SetCharFormatName (const OUString &rSet)
void SetBulletFont (const vcl::Font *pFont)
const vcl::FontGetBulletFont () const
void SetBulletChar (sal_UCS4 cSet)
sal_UCS4 GetBulletChar () const
void SetBulletRelSize (sal_uInt16 nSet)
sal_uInt16 GetBulletRelSize () const
void SetBulletColor (Color nSet)
const ColorGetBulletColor () const
void SetIncludeUpperLevels (sal_uInt8 nSet)
sal_uInt8 GetIncludeUpperLevels () const
void SetStart (sal_uInt16 nSet)
sal_uInt16 GetStart () const
const SvxBrushItemGetBrush () const
void SetGraphic (const OUString &rName)
sal_Int16 GetVertOrient () const
void SetGraphicSize (const Size &rSet)
const SizeGetGraphicSize () const
SvxNumPositionAndSpaceMode GetPositionAndSpaceMode () const
void SetPositionAndSpaceMode (SvxNumPositionAndSpaceMode ePositionAndSpaceMode)
void SetAbsLSpace (sal_Int32 nSet)
sal_Int32 GetAbsLSpace () const
void SetFirstLineOffset (sal_Int32 nSet)
sal_Int32 GetFirstLineOffset () const
void SetCharTextDistance (short nSet)
short GetCharTextDistance () const
void SetLabelFollowedBy (const LabelFollowedBy eLabelFollowedBy)
LabelFollowedBy GetLabelFollowedBy () const
void SetListtabPos (const tools::Long nListtabPos)
tools::Long GetListtabPos () const
void SetFirstLineIndent (const tools::Long nFirstLineIndent)
tools::Long GetFirstLineIndent () const
void SetIndentAt (const tools::Long nIndentAt)
tools::Long GetIndentAt () const
- Public Member Functions inherited from SvxNumberType
 SvxNumberType (SvxNumType nType=SVX_NUM_ARABIC)
 SvxNumberType (const SvxNumberType &rType)
 ~SvxNumberType ()
SvxNumberTypeoperator= (SvxNumberType const &)=default
OUString GetNumStr (sal_Int32 nNo) const
OUString GetNumStr (sal_Int32 nNo, const css::lang::Locale &rLocale) const
void SetNumberingType (SvxNumType nSet)
SvxNumType GetNumberingType () const
void SetShowSymbol (bool bSet)
bool IsShowSymbol () const
bool IsTextFormat () const
void dumpAsXml (xmlTextWriterPtr w) const
- Public Member Functions inherited from SwClient
 SwClient ()
 SwClient (SwClient &&) noexcept
virtual ~SwClient () override
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *)
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
const SwModifyGetRegisteredIn () const
SwModifyGetRegisteredIn ()
void EndListeningAll ()
void StartListeningToSameModifyAs (const SwClient &)
virtual bool GetInfo (SfxPoolItem &) const
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const

Private Member Functions

SAL_DLLPRIVATE void UpdateNumNodes (SwDoc &rDoc)
virtual void SwClientNotify (const SwModify &, const SfxHint &) override

Private Attributes

std::unique_ptr< SwFormatVertOrientm_pVertOrient
sal_Unicode m_cGrfBulletCP

Additional Inherited Members

- Public Types inherited from SvxNumberFormat
enum  SvxNumPositionAndSpaceMode
enum  LabelFollowedBy
- Static Public Member Functions inherited from SvxNumberFormat
static Size GetGraphicSizeMM100 (const Graphic *pGraphic)
static OUString CreateRomanString (sal_uLong nNo, bool bUpper)
- Public Attributes inherited from SvxNumberFormat
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
SwModifyGetRegisteredInNonConst () const
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE

Detailed Description

Definition at line 50 of file numrule.hxx.

Constructor & Destructor Documentation

SwNumFormat::SwNumFormat ( )

Definition at line 179 of file number.cxx.

References SVX_NUM_ARABIC, and text.

SwNumFormat::SwNumFormat ( const SwNumFormat rFormat)
SwNumFormat::SwNumFormat ( const SvxNumberFormat rNumFormat,
SwDoc pDoc 
SwNumFormat::~SwNumFormat ( )

Definition at line 224 of file number.cxx.

Member Function Documentation

SwCharFormat* SwNumFormat::GetCharFormat ( ) const
OUString SwNumFormat::GetCharFormatName ( ) const

Reimplemented from SvxNumberFormat.

Definition at line 303 of file number.cxx.

References SwClient::GetRegisteredIn().

Referenced by SwEditShell::GetPaMAttr().

const SwFormatVertOrient * SwNumFormat::GetGraphicOrientation ( ) const
sal_Unicode SwNumFormat::GetGrfBulletCP ( ) const

Definition at line 82 of file numrule.hxx.

bool SwNumFormat::IsEnumeration ( ) const
bool SwNumFormat::IsItemize ( ) const
bool SwNumFormat::operator!= ( const SwNumFormat r) const

Definition at line 72 of file numrule.hxx.

SwNumFormat & SwNumFormat::operator= ( const SwNumFormat rNumFormat)
bool SwNumFormat::operator== ( const SwNumFormat rNumFormat) const

Definition at line 266 of file number.cxx.

References SwClient::GetRegisteredIn(), and SvxNumberFormat::operator==().

void SwNumFormat::SetCharFormat ( SwCharFormat pChFormat)
void SwNumFormat::SetGraphicBrush ( const SvxBrushItem pBrushItem,
const Size pSize = nullptr,
const sal_Int16 *  pOrient = nullptr 

Reimplemented from SvxNumberFormat.

Definition at line 311 of file number.cxx.

References m_pVertOrient, and SvxNumberFormat::SetGraphicBrush().

Referenced by SwXNumberingRules::SetPropertiesToNumFormat(), and SwNumFormat().

void SwNumFormat::SetGrfBulletCP ( sal_Unicode  cP)

Definition at line 81 of file numrule.hxx.

Referenced by WW8ListManager::ReadLVL().

void SwNumFormat::SwClientNotify ( const SwModify ,
const SfxHint rHint 
void SwNumFormat::UpdateNumNodes ( SwDoc rDoc)

Member Data Documentation

sal_Unicode SwNumFormat::m_cGrfBulletCP

Definition at line 54 of file numrule.hxx.

Referenced by operator=().

std::unique_ptr<SwFormatVertOrient> SwNumFormat::m_pVertOrient

Definition at line 52 of file numrule.hxx.

Referenced by GetGraphicOrientation(), and SetGraphicBrush().

The documentation for this class was generated from the following files: