LibreOffice Module sw (master) 1
|
SfxPoolItem subclass that is a wrapper around an SwFootnoteEndPosEnum, i.e. More...
#include <fmtftntx.hxx>
Public Member Functions | |
virtual sal_uInt16 | GetValueCount () const override |
virtual bool | operator== (const SfxPoolItem &) 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 |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override |
bool | IsAtEnd () const |
SwFormatFootnoteEndAtTextEnd & | operator= (const SwFormatFootnoteEndAtTextEnd &rAttr) |
SwFormatFootnoteEndAtTextEnd (SwFormatFootnoteEndAtTextEnd const &)=default | |
SvxNumType | GetNumType () const |
void | SetNumType (SvxNumType eType) |
const SvxNumberType & | GetSwNumType () const |
sal_uInt16 | GetOffset () const |
void | SetOffset (sal_uInt16 nOff) |
const OUString & | GetPrefix () const |
void | SetPrefix (const OUString &rSet) |
const OUString & | GetSuffix () const |
void | SetSuffix (const OUString &rSet) |
Public Member Functions inherited from SfxEnumItem< SwFootnoteEndPosEnum > | |
EnumT | GetValue () const |
void | SetValue (EnumT nTheValue) |
virtual sal_uInt16 | GetEnumValue () const override |
virtual void | SetEnumValue (sal_uInt16 nTheValue) override |
virtual bool | operator== (SfxPoolItem const &other) const override |
Public Member Functions inherited from SfxEnumItemInterface | |
virtual bool | operator== (const SfxPoolItem &rItem) const override |
virtual bool | GetPresentation (SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8=0) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8) override |
virtual sal_uInt16 | GetValueCount () const=0 |
virtual sal_uInt16 | GetEnumValue () const=0 |
virtual void | SetEnumValue (sal_uInt16 nValue)=0 |
virtual bool | HasBoolValue () const |
virtual bool | GetBoolValue () const |
virtual void | SetBoolValue (bool bValue) |
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 |
Protected Member Functions | |
SwFormatFootnoteEndAtTextEnd (sal_uInt16 nWhichL, SwFootnoteEndPosEnum ePos) | |
Protected Member Functions inherited from SfxEnumItem< SwFootnoteEndPosEnum > | |
SfxEnumItem (sal_uInt16 const nWhich, EnumT const nValue) | |
SfxEnumItem (const SfxEnumItem &)=default | |
Protected Member Functions inherited from SfxEnumItemInterface | |
SfxEnumItemInterface (sal_uInt16 which) | |
SfxEnumItemInterface (const SfxEnumItemInterface &)=default | |
Protected Member Functions inherited from SfxPoolItem | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Private Attributes | |
OUString | m_sPrefix |
OUString | m_sSuffix |
SvxNumberType | m_aFormat |
sal_uInt16 | m_nOffset |
Additional Inherited Members | |
Public Types inherited from SfxPoolItem | |
typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
SfxPoolItem subclass that is a wrapper around an SwFootnoteEndPosEnum, i.e.
to decide where footnotes or endnotes should be collected. Available on the UI as Format -> Sections -> <Name> -> Options -> Footnotes/Endnotes. This is the shared base class for both footnotes and endnotes.
Definition at line 42 of file fmtftntx.hxx.
|
inlineprotected |
Definition at line 50 of file fmtftntx.hxx.
References ePos.
|
default |
|
inline |
Definition at line 74 of file fmtftntx.hxx.
References SvxNumberType::GetNumberingType().
Referenced by SwSectionFootnoteEndTabPage::ResetState().
|
inline |
Definition at line 79 of file fmtftntx.hxx.
Referenced by SwSectionFootnoteEndTabPage::ResetState().
|
inline |
Definition at line 82 of file fmtftntx.hxx.
Referenced by SwFormatFootnote::GetViewNumStr(), and SwSectionFootnoteEndTabPage::ResetState().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 578 of file attrdesc.cxx.
|
inline |
Definition at line 85 of file fmtftntx.hxx.
Referenced by SwFormatFootnote::GetViewNumStr(), and SwSectionFootnoteEndTabPage::ResetState().
|
inline |
Definition at line 77 of file fmtftntx.hxx.
Referenced by SwFormatFootnote::GetViewNumStr().
|
overridevirtual |
Implements SfxEnumItemInterface.
Definition at line 2010 of file atrfrm.cxx.
References FTNEND_ATTXTEND_END.
|
inline |
Definition at line 68 of file fmtftntx.hxx.
References FTNEND_ATPGORDOCEND, and SfxEnumItem< typename EnumT >::GetValue().
Referenced by SwSectionFrame::CalcEndAtEndFlag(), SwSectionFrame::GetEndSectFormat_(), and SwSectionFrame::IsEndnoteAtMyEnd().
SwFormatFootnoteEndAtTextEnd & SwFormatFootnoteEndAtTextEnd::operator= | ( | const SwFormatFootnoteEndAtTextEnd & | rAttr | ) |
Definition at line 2015 of file atrfrm.cxx.
References SfxEnumItem< typename EnumT >::GetValue(), m_aFormat, m_nOffset, m_sPrefix, m_sSuffix, and SfxEnumItem< typename EnumT >::SetValue().
|
overridevirtual |
Reimplemented from SfxEnumItem< SwFootnoteEndPosEnum >.
Definition at line 2026 of file atrfrm.cxx.
References SvxNumberType::GetNumberingType(), m_aFormat, m_nOffset, m_sPrefix, m_sSuffix, and SfxEnumItem< typename EnumT >::operator==().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 2059 of file atrfrm.cxx.
References FTNEND_ATPGORDOCEND, FTNEND_ATTXTEND, FTNEND_ATTXTEND_OWNNUMANDFMT, FTNEND_ATTXTEND_OWNNUMSEQ, SfxEnumItem< SwFootnoteEndPosEnum >::GetValue(), m_aFormat, m_nOffset, m_sPrefix, m_sSuffix, MID_COLLECT, MID_NUM_START_AT, MID_NUM_TYPE, MID_OWN_NUM, MID_PREFIX, MID_RESTART_NUM, MID_SUFFIX, SvxNumberType::SetNumberingType(), SfxEnumItem< SwFootnoteEndPosEnum >::SetValue(), SVX_NUM_ARABIC, SVX_NUM_CHARS_LOWER_LETTER_N, and SVX_NUM_CHARS_UPPER_LETTER_N.
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 2036 of file atrfrm.cxx.
References FTNEND_ATTXTEND, FTNEND_ATTXTEND_OWNNUMANDFMT, FTNEND_ATTXTEND_OWNNUMSEQ, SvxNumberType::GetNumberingType(), SfxEnumItem< SwFootnoteEndPosEnum >::GetValue(), m_aFormat, m_nOffset, m_sPrefix, m_sSuffix, MID_COLLECT, MID_NUM_START_AT, MID_NUM_TYPE, MID_OWN_NUM, MID_PREFIX, MID_RESTART_NUM, and MID_SUFFIX.
|
inline |
Definition at line 75 of file fmtftntx.hxx.
References eType, and SvxNumberType::SetNumberingType().
Referenced by SwSectionFootnoteEndTabPage::FillItemSet().
|
inline |
Definition at line 80 of file fmtftntx.hxx.
Referenced by SwSectionFootnoteEndTabPage::FillItemSet().
|
inline |
Definition at line 83 of file fmtftntx.hxx.
References rSet.
Referenced by SwSectionFootnoteEndTabPage::FillItemSet().
|
inline |
Definition at line 86 of file fmtftntx.hxx.
References rSet.
Referenced by SwSectionFootnoteEndTabPage::FillItemSet().
|
private |
Definition at line 46 of file fmtftntx.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 47 of file fmtftntx.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 44 of file fmtftntx.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 45 of file fmtftntx.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().