LibreOffice Module sw (master) 1
|
Contains the line numbering properties of this paragraph. More...
#include <fmtline.hxx>
Public Member Functions | |
SwFormatLineNumber () | |
virtual | ~SwFormatLineNumber () override |
SwFormatLineNumber (SwFormatLineNumber const &)=default | |
SwFormatLineNumber (SwFormatLineNumber &&)=default | |
SwFormatLineNumber & | operator= (SwFormatLineNumber const &)=delete |
SwFormatLineNumber & | operator= (SwFormatLineNumber &&)=delete |
virtual bool | operator== (const SfxPoolItem &) const override |
"Pure virtual methods" of SfxPoolItem. More... | |
virtual SwFormatLineNumber * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override |
sal_uLong | GetStartValue () const |
bool | IsCount () const |
void | SetStartValue (sal_uLong nNew) |
void | SetCountLines (bool b) |
Public Member Functions inherited from SfxPoolItem | |
void | AddRef (sal_uInt32 n=1) const |
virtual | ~SfxPoolItem () |
void | SetWhich (sal_uInt16 nId) |
sal_uInt16 | Which () const |
T & | StaticWhichCast (TypedWhichId< T > nId) |
const T & | StaticWhichCast (TypedWhichId< T > nId) const |
T * | DynamicWhichCast (TypedWhichId< T > nId) |
const T * | DynamicWhichCast (TypedWhichId< T > nId) const |
virtual bool | operator== (const SfxPoolItem &) const=0 |
bool | operator!= (const SfxPoolItem &rItem) const |
virtual bool | operator< (const SfxPoolItem &) const |
virtual bool | IsSortable () const |
virtual bool | HasLookup () const |
virtual lookup_iterator | Lookup (lookup_iterator, lookup_iterator end) const |
virtual bool | GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const |
virtual void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) |
virtual bool | HasMetrics () const |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) |
virtual SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (sal_uInt16 nNewWhich) const |
std::unique_ptr< T > | CloneSetWhich (TypedWhichId< T > nId) const |
sal_uInt32 | GetRefCount () const |
SfxItemKind | GetKind () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
virtual boost::property_tree::ptree | dumpAsJSON () const |
virtual bool | IsVoidItem () const |
Static Public Member Functions | |
static SfxPoolItem * | CreateDefault () |
Private Attributes | |
sal_uLong | m_nStartValue:24 |
Starting value for the paragraph. 0 == no starting value. More... | |
bool | m_bCountLines:1 |
Also count lines of paragraph. More... | |
Additional Inherited Members | |
Public Types inherited from SfxPoolItem | |
typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
Protected Member Functions inherited from SfxPoolItem | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Contains the line numbering properties of this paragraph.
Format -> Paragraph -> Outline & List tab, Line Numbering section is the UI for this.
Definition at line 32 of file fmtline.hxx.
SwFormatLineNumber::SwFormatLineNumber | ( | ) |
Definition at line 2211 of file atrfrm.cxx.
References m_bCountLines, and m_nStartValue.
Referenced by Clone(), and CreateDefault().
|
overridevirtual |
Definition at line 2218 of file atrfrm.cxx.
|
default |
|
default |
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 2230 of file atrfrm.cxx.
References SwFormatLineNumber().
|
static |
Definition at line 139 of file atrfrm.cxx.
References SwFormatLineNumber().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 614 of file attrdesc.cxx.
References GetStartValue(), IsCount(), and SwResId().
|
inline |
Definition at line 59 of file fmtline.hxx.
Referenced by GetPresentation(), MSWordExportBase::GetSectionLineNo(), operator==(), DocxExport::OutputEndNode(), QueryValue(), SwTextFrame::RecalcAllLines(), and SwParagraphNumTabPage::Reset().
|
inline |
Definition at line 60 of file fmtline.hxx.
Referenced by DocxAttributeOutput::FormatLineNumbering(), WW8AttributeOutput::FormatLineNumbering(), RtfAttributeOutput::FormatLineNumbering(), GetPresentation(), operator==(), SwTextFrame::PaintExtraData(), QueryValue(), SwTextFrame::RecalcAllLines(), SwParagraphNumTabPage::Reset(), and SwLineNumberingDlg::SwLineNumberingDlg().
|
delete |
|
delete |
|
overridevirtual |
"Pure virtual methods" of SfxPoolItem.
Implements SfxPoolItem.
Definition at line 2222 of file atrfrm.cxx.
References GetStartValue(), IsCount(), m_bCountLines, and m_nStartValue.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 2255 of file atrfrm.cxx.
References MID_LINENUMBER_COUNT, MID_LINENUMBER_STARTVALUE, SetCountLines(), and SetStartValue().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 2235 of file atrfrm.cxx.
References GetStartValue(), IsCount(), MID_LINENUMBER_COUNT, and MID_LINENUMBER_STARTVALUE.
|
inline |
Definition at line 63 of file fmtline.hxx.
Referenced by SwParagraphNumTabPage::FillItemSet(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwWW8ImplReader::HandleLineNumbering(), lcl_setLineNumbering(), PutValue(), and SwWW8ImplReader::Read_NoLineNumb().
|
inline |
Definition at line 62 of file fmtline.hxx.
Referenced by SwParagraphNumTabPage::FillItemSet(), SwWW8ImplReader::HandleLineNumbering(), PutValue(), and SwWW8ImplReader::Read_NoLineNumb().
|
private |
Also count lines of paragraph.
Definition at line 35 of file fmtline.hxx.
Referenced by operator==(), and SwFormatLineNumber().
|
private |
Starting value for the paragraph. 0 == no starting value.
Definition at line 34 of file fmtline.hxx.
Referenced by operator==(), and SwFormatLineNumber().