LibreOffice Module sw (master) 1
|
Header, for PageFormats Client of FrameFormat describing the header. More...
#include <fmthdft.hxx>
Public Member Functions | |
SwFormatHeader (bool bOn=false) | |
SwFormatHeader (SwFrameFormat *pHeaderFormat) | |
SwFormatHeader (const SwFormatHeader &rCpy) | |
virtual | ~SwFormatHeader () override |
SwFormatHeader & | operator= (const SwFormatHeader &rCpy) |
virtual bool | operator== (const SfxPoolItem &) const override |
"pure virtual methods" of SfxPoolItem More... | |
virtual SwFormatHeader * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override |
const SwFrameFormat * | GetHeaderFormat () const |
SwFrameFormat * | GetHeaderFormat () |
void | RegisterToFormat (SwFormat &rFormat) |
bool | IsActive () const |
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 |
Public Member Functions inherited from SwClient | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
Public Member Functions inherited from sw::WriterListener | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
virtual const SwTable * | DynCastTable () const |
Private Attributes | |
bool | m_bActive |
Only for controlling (creation of content). 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) | |
Protected Member Functions inherited from SwClient | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from sw::WriterListener | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
Header, for PageFormats Client of FrameFormat describing the header.
Definition at line 33 of file fmthdft.hxx.
SwFormatHeader::SwFormatHeader | ( | bool | bOn = false | ) |
Definition at line 503 of file atrfrm.cxx.
Referenced by Clone().
SwFormatHeader::SwFormatHeader | ( | SwFrameFormat * | pHeaderFormat | ) |
Definition at line 489 of file atrfrm.cxx.
SwFormatHeader::SwFormatHeader | ( | const SwFormatHeader & | rCpy | ) |
Definition at line 496 of file atrfrm.cxx.
|
overridevirtual |
Definition at line 510 of file atrfrm.cxx.
References GetHeaderFormat(), and lcl_DelHFFormat().
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 523 of file atrfrm.cxx.
References SwFormatHeader().
Referenced by SwUndoPageDesc::ExchangeContentNodes().
|
inline |
Definition at line 55 of file fmthdft.hxx.
References SwClient::GetRegisteredIn().
|
inline |
Definition at line 54 of file fmthdft.hxx.
References SwClient::GetRegisteredIn().
Referenced by SwWrtShell::ChangeHeaderOrFooter(), SwDoc::ChgPageDesc(), SwDoc::CopyMasterHeader(), SwUndoPageDesc::ExchangeContentNodes(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwHeaderFooterWin::ExecuteCommand(), SwBaseShell::ExecuteGallery(), SwHTMLParser::FixHeaderFooterDistance(), MSWordExportBase::FormatHdFtContainsChapterField(), GetPresentation(), sw::util::HdFtDistanceGlue::HdFtDistanceGlue(), ItemSetToPageDesc(), lcl_makeHeaderFooter(), SwHTMLParser::NewDivision(), PageDescToItemSet(), SwPageFrame::PrepareHeader(), SwWW8ImplReader::Read_HdFt(), MSWordExportBase::SectionProperties(), SwCursorShell::SetCursorInHdFt(), MSWordSections::SetHeaderFlag(), wwSectionManager::SetPageULSpaceItems(), SwView::StateTabWin(), SwFrameFormat::SwClientNotify(), SwUndoPageDesc::SwUndoPageDesc(), MSWordExportBase::WriteHeaderFooterText(), SwHTMLWriter::WriteStream(), and ~SwFormatHeader().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 257 of file attrdesc.cxx.
References GetHeaderFormat(), and SwResId().
|
inline |
Definition at line 58 of file fmthdft.hxx.
Referenced by SwWrtShell::ChangeHeaderOrFooter(), SwDoc::CopyMasterHeader(), SwUndoPageDesc::ExchangeContentNodes(), SwView::ExecTabWin(), sw::util::HdFtDistanceGlue::HdFtDistanceGlue(), SwHeaderFooterWin::IsEmptyHeaderFooter(), ItemSetToPageDesc(), lcl_PageDescOrFollowContainsHeaderFooter(), lcl_PageDescWithHeader(), SwEditWin::MouseButtonDown(), operator==(), PageDescToItemSet(), SwPageFrame::PrepareHeader(), MSWordSections::SetHeaderFlag(), SwView::StateTabWin(), SwFrameFormat::SwClientNotify(), SwPageFrame::SwPageFrame(), and SwUndoPageDesc::SwUndoPageDesc().
SwFormatHeader & SwFormatHeader::operator= | ( | const SwFormatHeader & | rCpy | ) |
|
overridevirtual |
"pure virtual methods" of SfxPoolItem
Implements SfxPoolItem.
Definition at line 516 of file atrfrm.cxx.
References SwClient::GetRegisteredIn(), IsActive(), and m_bActive.
void SwFormatHeader::RegisterToFormat | ( | SwFormat & | rFormat | ) |
Definition at line 528 of file atrfrm.cxx.
|
private |
Only for controlling (creation of content).
Definition at line 35 of file fmthdft.hxx.
Referenced by operator==().