LibreOffice Module sw (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwPageDesc Class Referencefinal

#include <pagedesc.hxx>

Inheritance diagram for SwPageDesc:
[legend]
Collaboration diagram for SwPageDesc:
[legend]

Classes

struct  change_name
 
struct  StashedPageDesc
 

Public Member Functions

const OUString & GetName () const
 
bool SetName (const OUString &rNewName)
 
bool GetLandscape () const
 
void SetLandscape (bool bNew)
 
const SvxNumberTypeGetNumType () const
 
void SetNumType (const SvxNumberType &rNew)
 
const SwPageFootnoteInfoGetFootnoteInfo () const
 
SwPageFootnoteInfoGetFootnoteInfo ()
 
void SetFootnoteInfo (const SwPageFootnoteInfo &rNew)
 
bool IsHeaderShared () const
 
bool IsFooterShared () const
 
void ChgHeaderShare (bool bNew)
 
void ChgFooterShare (bool bNew)
 
bool IsFirstShared () const
 
void ChgFirstShare (bool bNew)
 
bool IsHidden () const
 
void SetHidden (bool const bValue)
 
void StashFrameFormat (const SwFrameFormat &rFormat, bool bHeader, bool bLeft, bool bFirst)
 Remember original header/footer formats even when they are hidden by "sharing". More...
 
const SwFrameFormatGetStashedFrameFormat (bool bHeader, bool bLeft, bool bFirst) const
 Used to restore hidden header/footer formats. More...
 
bool HasStashedFormat (bool bHeader, bool bLeft, bool bFirst)
 Checks if the pagedescriptor has a stashed format according to the parameters or not. More...
 
void RemoveStashedFormat (bool bHeader, bool bLeft, bool bFirst)
 Gives the feature of removing the stashed format by hand if it is necessary. More...
 
void SetUseOn (UseOnPage eNew)
 Same as WriteUseOn(), but the >= HeaderShare part of the bitfield is not modified. More...
 
UseOnPage GetUseOn () const
 
void WriteUseOn (UseOnPage const eNew)
 
UseOnPage ReadUseOn () const
 
SwFrameFormatGetMaster ()
 
SwFrameFormatGetLeft ()
 
SwFrameFormatGetFirstMaster ()
 
SwFrameFormatGetFirstLeft ()
 
const SwFrameFormatGetMaster () const
 
const SwFrameFormatGetLeft () const
 
const SwFrameFormatGetFirstMaster () const
 
const SwFrameFormatGetFirstLeft () const
 
void ResetAllMasterAttr ()
 Reset all attrs of the format but keep the ones a pagedesc cannot live without. More...
 
SwFrameFormatGetRightFormat (bool const bFirst=false)
 Layout uses the following methods to obtain a format in order to be able to create a page. More...
 
const SwFrameFormatGetRightFormat (bool const bFirst=false) const
 
SwFrameFormatGetLeftFormat (bool const bFirst=false)
 
const SwFrameFormatGetLeftFormat (bool const bFirst=false) const
 
sal_uInt16 GetRegHeight () const
 
sal_uInt16 GetRegAscent () const
 
void SetRegHeight (sal_uInt16 const nNew)
 
void SetRegAscent (sal_uInt16 const nNew)
 
drawing::TextVerticalAdjust GetVerticalAdjustment () const
 
void SetVerticalAdjustment (const drawing::TextVerticalAdjust nVA)
 
void SetFollow (const SwPageDesc *pNew)
 
const SwPageDescGetFollow () const
 
SwPageDescGetFollow ()
 
void SetRegisterFormatColl (const SwTextFormatColl *rFormat)
 set the style for the grid alignment More...
 
const SwTextFormatCollGetRegisterFormatColl () const
 retrieve the style for the grid alignment More...
 
void RegisterChange ()
 notify all affected page frames More...
 
sal_uInt16 GetPoolFormatId () const
 Query and set PoolFormat-Id. More...
 
void SetPoolFormatId (sal_uInt16 const nId)
 
sal_uInt16 GetPoolHelpId () const
 
void SetPoolHelpId (sal_uInt16 const nId)
 
sal_uInt8 GetPoolHlpFileId () const
 
void SetPoolHlpFileId (sal_uInt8 const nId)
 
virtual bool GetInfo (SfxPoolItem &) const override
 Query information from Client. More...
 
const SwFrameFormatGetPageFormatOfNode (const SwNode &rNd, bool bCheckForThisPgDc=true) const
 
bool IsFollowNextPageOfNode (const SwNode &rNd) const
 
SwPageDescoperator= (const SwPageDesc &)
 
 SwPageDesc (const SwPageDesc &)
 
virtual ~SwPageDesc () override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Static Public Member Functions

static const SwPageDescGetPageDescOfNode (const SwNode &rNd)
 Given a SwNode return the pagedesc in use at that location. More...
 
static SwPageDescGetByName (SwDoc &rDoc, std::u16string_view rName)
 

Private Member Functions

SAL_DLLPRIVATE void Mirror ()
 Called for mirroring of Chg (doc). More...
 
SAL_DLLPRIVATE void ResetAllAttr ()
 
SAL_DLLPRIVATE SwPageDesc (const OUString &, SwFrameFormat *, SwDoc *pDc)
 
virtual void SwClientNotify (const SwModify &, const SfxHint &) override
 special handling if the style of the grid alignment changes More...
 

Private Attributes

OUString m_StyleName
 
SvxNumberType m_NumType
 
SwFrameFormat m_Master
 
SwFrameFormat m_Left
 
SwFrameFormat m_FirstMaster
 
SwFrameFormat m_FirstLeft
 
StashedPageDesc m_aStashedHeader
 
StashedPageDesc m_aStashedFooter
 
sw::WriterMultiListener m_aDepends
 Because of grid alignment (Registerhaltigkeit). More...
 
const SwTextFormatCollm_pTextFormatColl
 
SwPageDescm_pFollow
 
sal_uInt16 m_nRegHeight
 Sentence spacing and fontascent of style. More...
 
sal_uInt16 m_nRegAscent
 For grid alignment (Registerhaltigkeit). More...
 
drawing::TextVerticalAdjust m_nVerticalAdjustment
 
UseOnPage m_eUse
 
bool m_IsLandscape
 
bool m_IsHidden
 
SwPageFootnoteInfo m_FootnoteInfo
 Footnote information. More...
 
SwPageDescsm_pdList
 Backref to the assigned SwPageDescs list to handle renames. More...
 

Friends

class SwDoc
 
class SwPageDescs
 

Detailed Description

Definition at line 138 of file pagedesc.hxx.

Constructor & Destructor Documentation

◆ SwPageDesc() [1/2]

SwPageDesc::SwPageDesc ( const OUString &  rName,
SwFrameFormat pFormat,
SwDoc pDc 
)
private

Definition at line 44 of file pagedesc.cxx.

References All, FirstShare, FooterShare, and HeaderShare.

◆ SwPageDesc() [2/2]

SwPageDesc::SwPageDesc ( const SwPageDesc rCpy)

◆ ~SwPageDesc()

SwPageDesc::~SwPageDesc ( )
overridevirtual

Definition at line 143 of file pagedesc.cxx.

Member Function Documentation

◆ ChgFirstShare()

void SwPageDesc::ChgFirstShare ( bool  bNew)

Definition at line 401 of file pagedesc.cxx.

References FirstShare, m_eUse, and NoFirstShare.

Referenced by SwDoc::ChgPageDesc(), SwView::ExecTabWin(), and ItemSetToPageDesc().

◆ ChgFooterShare()

void SwPageDesc::ChgFooterShare ( bool  bNew)
inline

◆ ChgHeaderShare()

void SwPageDesc::ChgHeaderShare ( bool  bNew)
inline

◆ dumpAsXml()

void SwPageDesc::dumpAsXml ( xmlTextWriterPtr  pWriter) const

◆ GetByName()

SwPageDesc * SwPageDesc::GetByName ( SwDoc rDoc,
std::u16string_view  rName 
)
static

◆ GetFirstLeft() [1/2]

SwFrameFormat & SwPageDesc::GetFirstLeft ( )
inline

◆ GetFirstLeft() [2/2]

const SwFrameFormat & SwPageDesc::GetFirstLeft ( ) const
inline

Definition at line 245 of file pagedesc.hxx.

◆ GetFirstMaster() [1/2]

SwFrameFormat & SwPageDesc::GetFirstMaster ( )
inline

◆ GetFirstMaster() [2/2]

const SwFrameFormat & SwPageDesc::GetFirstMaster ( ) const
inline

Definition at line 244 of file pagedesc.hxx.

◆ GetFollow() [1/2]

SwPageDesc * SwPageDesc::GetFollow ( )
inline

Definition at line 268 of file pagedesc.hxx.

◆ GetFollow() [2/2]

const SwPageDesc * SwPageDesc::GetFollow ( ) const
inline

◆ GetFootnoteInfo() [1/2]

SwPageFootnoteInfo & SwPageDesc::GetFootnoteInfo ( )
inline

Definition at line 206 of file pagedesc.hxx.

◆ GetFootnoteInfo() [2/2]

const SwPageFootnoteInfo & SwPageDesc::GetFootnoteInfo ( ) const
inline

◆ GetInfo()

bool SwPageDesc::GetInfo ( SfxPoolItem rInfo) const
overridevirtual

Query information from Client.

Definition at line 199 of file pagedesc.cxx.

References m_FirstLeft, m_FirstMaster, m_Left, and m_Master.

Referenced by sw::DocumentStylePoolManager::IsPoolPageDescUsed().

◆ GetLandscape()

bool SwPageDesc::GetLandscape ( ) const
inline

◆ GetLeft() [1/2]

SwFrameFormat & SwPageDesc::GetLeft ( )
inline

◆ GetLeft() [2/2]

const SwFrameFormat & SwPageDesc::GetLeft ( ) const
inline

Definition at line 243 of file pagedesc.hxx.

◆ GetLeftFormat() [1/2]

SwFrameFormat * SwPageDesc::GetLeftFormat ( bool const  bFirst = false)

◆ GetLeftFormat() [2/2]

const SwFrameFormat * SwPageDesc::GetLeftFormat ( bool const  bFirst = false) const
inline

Definition at line 371 of file pagedesc.hxx.

References GetLeftFormat().

◆ GetMaster() [1/2]

SwFrameFormat & SwPageDesc::GetMaster ( )
inline

Definition at line 238 of file pagedesc.hxx.

Referenced by SwXTextView::BuildTmpSelectionDoc(), sw::DefaultToxTabStopTokenHandler::CalculatePageMarginFromPageDescription(), SwWrtShell::ChangeHeaderOrFooter(), SwDoc::CheckDefaultPageFormat(), SwViewShell::ChgAllPageOrientation(), SwViewShell::ChgAllPageSize(), SwDoc::ChgPageDesc(), SwDoc::CopyMasterFooter(), SwDoc::CopyMasterHeader(), SwDoc::CopyPageDesc(), SwWW8ImplReader::CopyPageDescHdFt(), WW8Export::CreateEscher(), sw::CreateParentXText(), WW8Export::CurrentPageWidth(), SwUndoPageDesc::ExchangeContentNodes(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwView::Execute(), SwBaseShell::Execute(), SwHeaderFooterWin::ExecuteCommand(), SwBaseShell::ExecuteGallery(), RtfExport::ExportDocument_Impl(), SwNode::FindPageDesc(), SwHTMLParser::FixHeaderFooterDistance(), AttributeOutputBase::FormatColumns(), MSWordExportBase::getBackground(), WW8Export::GetCurrentPageBgBrush(), MSWordExportBase::GetCurrentPageDirection(), MSWordSections::GetFormatCol(), GetGridItem(), sw::DocumentStylePoolManager::GetPageDescFromPool(), GetPageFormatOfNode(), SwXTextViewCursor::getPosition(), SwView::GetState(), SwDoc::GetTextDirection(), IMPL_LINK_NOARG(), SwModule::InsertEnv(), SwModule::InsertLab(), InsertNewPage(), wwSectionManager::InsertSection(), ItemSetToPageDesc(), lcl_GetFormatForStyle(), lcl_GetPaperBin(), lcl_PageDescOrFollowContainsHeaderFooter(), lcl_PageDescWithHeader(), SwHTMLWriter::MakeHeader(), SwDoc::MakePageDesc(), SwCSS1Parser::makePageDescBackground(), MSWordExportBase::NeedSectionBreak(), SwHTMLParser::NewDivision(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), OutCSS1_SwPageDesc(), OutHTML_SwTextNode(), RtfExport::OutPageDescription(), MSWordExportBase::OutputSectionBreaks(), PageDescToItemSet(), SwWW8ImplReader::Read_HdFt(), RegisterChange(), SwDoc::RemoveAllFormatLanguageDependencies(), SwFieldRefPage::Reset(), ResetAllAttr(), MSWordExportBase::SectionProperties(), SwContentTree::SetActiveShell(), MSWordExportBase::SetCurrentPageDescFromNode(), SwCursorShell::SetCursorInHdFt(), SwDoc::SetDefaultPageMode(), SwCSS1Parser::SetPageDescAttrs(), wwSectionManager::SetSegmentToPageDesc(), SwView::SetZoom_(), SwView::StateTabWin(), SwColumnDlg::SwColumnDlg(), SwEscherEx::SwEscherEx(), SwReadOnlyPopup::SwReadOnlyPopup(), SwUndoPageDesc::SwUndoPageDesc(), SwWriter::Write(), RtfExport::WriteHeaderFooter(), RtfAttributeOutput::WriteHeaderFooter_Impl(), and SwHTMLWriter::WriteStream().

◆ GetMaster() [2/2]

const SwFrameFormat & SwPageDesc::GetMaster ( ) const
inline

Definition at line 242 of file pagedesc.hxx.

◆ GetName()

const OUString & SwPageDesc::GetName ( ) const
inline

Definition at line 196 of file pagedesc.hxx.

Referenced by SwDoc::AppendDoc(), SwDocShell::ApplyStyles(), SwWrtShell::ChangeHeaderOrFooter(), SwDoc::ChgPageDesc(), SwDoc::ClearDoc(), SwDoc::ContainsPageDesc(), SwDoc::CopyFormatArr(), SwDoc::CopyPageDesc(), SwAttrSet::CopyToModify(), SwDoc::DelPageDesc(), SwPageFrame::dumpAsXml(), SwBaseShell::ExecDlg(), SwTextShell::ExecField(), SwHeaderFooterWin::ExecuteCommand(), RtfExport::ExportDocument_Impl(), SwXMLExport::ExportFormat(), SwTextFlowPage::FillItemSet(), SwTitlePageDlg::FillList(), SwViewShell::FillPrtDoc(), SwStyleSheetIterator::First(), GetByName(), SwWrtShell::GetCurPageStyle(), SwUnoCursorHelper::GetCurPageStyle(), SwPageDescExt::GetName(), SwFormatPageDesc::GetPresentation(), SwXFootnoteProperties::getPropertyValue(), SwXEndnoteProperties::getPropertyValue(), SwUndoPageDescCreate::GetRewriter(), IMPL_LINK_NOARG(), SwModule::InsertEnv(), lcl_CopyFollowPageDesc(), lcl_FindPageDesc(), lcl_GetSpecialProperty(), SwDoc::MakePageDesc(), std::less< SwPageDesc * >::operator()(), MSWordExportBase::OutputSectionBreaks(), PageDescToItemSet(), SwFEShell::PastePages(), SwFormatPageDesc::QueryValue(), SwDoc::ReplaceStyles(), SwEndNoteOptionPage::Reset(), SwTextFlowPage::Reset(), SwDocStyleSheet::SetFollow(), SwDocStyleSheet::SetItemSet(), SwDocStyleSheet::SetName(), SwHeaderFooterWin::SetOffset(), SwPageDescExt::SetPageDesc(), SwDocShell::StateStyleSheet(), SwBreakDlg::SwBreakDlg(), SwColumnDlg::SwColumnDlg(), SwToSfxPageDescAttr(), and RtfExport::WritePageDescTable().

◆ GetNumType()

const SvxNumberType & SwPageDesc::GetNumType ( ) const
inline

◆ GetPageDescOfNode()

const SwPageDesc * SwPageDesc::GetPageDescOfNode ( const SwNode rNd)
static

Given a SwNode return the pagedesc in use at that location.

Definition at line 332 of file pagedesc.cxx.

References SwFrame::FindPageFrame(), and lcl_GetFrameOfNode().

Referenced by MSWordExportBase::OutputSectionNode(), and MSWordExportBase::SetCurrentPageDescFromNode().

◆ GetPageFormatOfNode()

const SwFrameFormat * SwPageDesc::GetPageFormatOfNode ( const SwNode rNd,
bool  bCheckForThisPgDc = true 
) const

◆ GetPoolFormatId()

sal_uInt16 SwPageDesc::GetPoolFormatId ( ) const
inline

◆ GetPoolHelpId()

sal_uInt16 SwPageDesc::GetPoolHelpId ( ) const
inline

◆ GetPoolHlpFileId()

sal_uInt8 SwPageDesc::GetPoolHlpFileId ( ) const
inline

◆ GetRegAscent()

sal_uInt16 SwPageDesc::GetRegAscent ( ) const
inline

Definition at line 259 of file pagedesc.hxx.

Referenced by SwTextFrame::FillRegister().

◆ GetRegHeight()

sal_uInt16 SwPageDesc::GetRegHeight ( ) const
inline

Definition at line 258 of file pagedesc.hxx.

Referenced by SwTextFrame::FillRegister().

◆ GetRegisterFormatColl()

const SwTextFormatColl * SwPageDesc::GetRegisterFormatColl ( ) const

retrieve the style for the grid alignment

Definition at line 223 of file pagedesc.cxx.

References sw::WriterMultiListener::IsListeningTo(), m_aDepends, and m_pTextFormatColl.

Referenced by SwDoc::ChgPageDesc(), SwTextFrame::FillRegister(), and PageDescToItemSet().

◆ GetRightFormat() [1/2]

SwFrameFormat * SwPageDesc::GetRightFormat ( bool const  bFirst = false)

Layout uses the following methods to obtain a format in order to be able to create a page.

Definition at line 389 of file pagedesc.cxx.

References m_eUse, m_FirstMaster, m_Master, and Right.

Referenced by SwRootFrame::AssertFlyPages(), SwFrame::CheckPageDescs(), GetRightFormat(), InsertNewPage(), SwFrame::InsertPage(), SwHeaderFooterWin::IsEmptyHeaderFooter(), SwEditWin::MouseButtonDown(), SwFrame::WannaRightPage(), and SwFrame::WrongPageDesc().

◆ GetRightFormat() [2/2]

const SwFrameFormat * SwPageDesc::GetRightFormat ( bool const  bFirst = false) const
inline

Definition at line 367 of file pagedesc.hxx.

References GetRightFormat().

◆ GetStashedFrameFormat()

const SwFrameFormat * SwPageDesc::GetStashedFrameFormat ( bool  bHeader,
bool  bLeft,
bool  bFirst 
) const

◆ GetUseOn()

UseOnPage SwPageDesc::GetUseOn ( ) const
inline

◆ GetVerticalAdjustment()

drawing::TextVerticalAdjust SwPageDesc::GetVerticalAdjustment ( ) const
inline

Definition at line 263 of file pagedesc.hxx.

Referenced by MSWordExportBase::SectionProperties().

◆ HasStashedFormat()

bool SwPageDesc::HasStashedFormat ( bool  bHeader,
bool  bLeft,
bool  bFirst 
)

Checks if the pagedescriptor has a stashed format according to the parameters or not.

Definition at line 473 of file pagedesc.cxx.

References m_aStashedFooter, m_aStashedHeader, SwPageDesc::StashedPageDesc::m_pStashedFirst, SwPageDesc::StashedPageDesc::m_pStashedFirstLeft, SwPageDesc::StashedPageDesc::m_pStashedLeft, and SAL_WARN.

Referenced by SwDoc::ChgPageDesc().

◆ IsFirstShared()

bool SwPageDesc::IsFirstShared ( ) const

◆ IsFollowNextPageOfNode()

bool SwPageDesc::IsFollowNextPageOfNode ( const SwNode rNd) const

◆ IsFooterShared()

bool SwPageDesc::IsFooterShared ( ) const
inline

◆ IsHeaderShared()

bool SwPageDesc::IsHeaderShared ( ) const
inline

◆ IsHidden()

bool SwPageDesc::IsHidden ( ) const
inline

◆ Mirror()

void SwPageDesc::Mirror ( )
private

◆ operator=()

SwPageDesc & SwPageDesc::operator= ( const SwPageDesc rSrc)

◆ ReadUseOn()

UseOnPage SwPageDesc::ReadUseOn ( ) const
inline

◆ RegisterChange()

void SwPageDesc::RegisterChange ( )

◆ RemoveStashedFormat()

void SwPageDesc::RemoveStashedFormat ( bool  bHeader,
bool  bLeft,
bool  bFirst 
)

Gives the feature of removing the stashed format by hand if it is necessary.

Definition at line 517 of file pagedesc.cxx.

References m_aStashedFooter, m_aStashedHeader, SwPageDesc::StashedPageDesc::m_pStashedFirst, SwPageDesc::StashedPageDesc::m_pStashedFirstLeft, SwPageDesc::StashedPageDesc::m_pStashedLeft, and SAL_WARN.

Referenced by SwDoc::ChgPageDesc().

◆ ResetAllAttr()

void SwPageDesc::ResetAllAttr ( )
private

◆ ResetAllMasterAttr()

void SwPageDesc::ResetAllMasterAttr ( )
inline

Reset all attrs of the format but keep the ones a pagedesc cannot live without.

Definition at line 362 of file pagedesc.hxx.

References ResetAllAttr().

◆ SetFollow()

void SwPageDesc::SetFollow ( const SwPageDesc pNew)
inline

◆ SetFootnoteInfo()

void SwPageDesc::SetFootnoteInfo ( const SwPageFootnoteInfo rNew)
inline

◆ SetHidden()

void SwPageDesc::SetHidden ( bool const  bValue)
inline

Definition at line 217 of file pagedesc.hxx.

Referenced by SwDocStyleSheet::SetHidden().

◆ SetLandscape()

void SwPageDesc::SetLandscape ( bool  bNew)
inline

◆ SetName()

bool SwPageDesc::SetName ( const OUString &  rNewName)

◆ SetNumType()

void SwPageDesc::SetNumType ( const SvxNumberType rNew)
inline

◆ SetPoolFormatId()

void SwPageDesc::SetPoolFormatId ( sal_uInt16 const  nId)
inline

◆ SetPoolHelpId()

void SwPageDesc::SetPoolHelpId ( sal_uInt16 const  nId)
inline

◆ SetPoolHlpFileId()

void SwPageDesc::SetPoolHlpFileId ( sal_uInt8 const  nId)
inline

◆ SetRegAscent()

void SwPageDesc::SetRegAscent ( sal_uInt16 const  nNew)
inline

Definition at line 261 of file pagedesc.hxx.

Referenced by SwTextFrame::FillRegister().

◆ SetRegHeight()

void SwPageDesc::SetRegHeight ( sal_uInt16 const  nNew)
inline

Definition at line 260 of file pagedesc.hxx.

Referenced by SwTextFrame::FillRegister().

◆ SetRegisterFormatColl()

void SwPageDesc::SetRegisterFormatColl ( const SwTextFormatColl rFormat)

◆ SetUseOn()

void SwPageDesc::SetUseOn ( UseOnPage  eNew)
inline

Same as WriteUseOn(), but the >= HeaderShare part of the bitfield is not modified.

Definition at line 341 of file pagedesc.hxx.

References FirstShare, FooterShare, HeaderShare, m_eUse, and NONE.

Referenced by SwDoc::ChgPageDesc(), sw::DocumentStylePoolManager::GetPageDescFromPool(), SwModule::InsertEnv(), SwModule::InsertLab(), wwSectionManager::InsertSegments(), and ItemSetToPageDesc().

◆ SetVerticalAdjustment()

void SwPageDesc::SetVerticalAdjustment ( const drawing::TextVerticalAdjust  nVA)
inline

Definition at line 264 of file pagedesc.hxx.

Referenced by wwSectionManager::SetSegmentToPageDesc().

◆ StashFrameFormat()

void SwPageDesc::StashFrameFormat ( const SwFrameFormat rFormat,
bool  bHeader,
bool  bLeft,
bool  bFirst 
)

Remember original header/footer formats even when they are hidden by "sharing".

Definition at line 409 of file pagedesc.cxx.

References m_aStashedFooter, m_aStashedHeader, SwPageDesc::StashedPageDesc::m_pStashedFirst, SwPageDesc::StashedPageDesc::m_pStashedFirstLeft, SwPageDesc::StashedPageDesc::m_pStashedLeft, and SAL_WARN.

Referenced by SwDoc::ChgPageDesc(), and SwDoc::CopyPageDesc().

◆ SwClientNotify()

void SwPageDesc::SwClientNotify ( const SwModify rModify,
const SfxHint rHint 
)
overrideprivatevirtual

special handling if the style of the grid alignment changes

Definition at line 283 of file pagedesc.cxx.

References SfxHint::GetId(), isCHRATR(), sw::LegacyModifyHint::m_pOld, m_pTextFormatColl, RegisterChange(), RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_PARATR_LINESPACING(), and SfxPoolItem::Which().

◆ WriteUseOn()

void SwPageDesc::WriteUseOn ( UseOnPage const  eNew)
inline

Friends And Related Function Documentation

◆ SwDoc

friend class SwDoc
friend

Definition at line 141 of file pagedesc.hxx.

◆ SwPageDescs

friend class SwPageDescs
friend

Definition at line 142 of file pagedesc.hxx.

Member Data Documentation

◆ m_aDepends

sw::WriterMultiListener SwPageDesc::m_aDepends
private

Because of grid alignment (Registerhaltigkeit).

Definition at line 162 of file pagedesc.hxx.

Referenced by GetRegisterFormatColl(), operator=(), SetRegisterFormatColl(), and SwPageDesc().

◆ m_aStashedFooter

StashedPageDesc SwPageDesc::m_aStashedFooter
mutableprivate

◆ m_aStashedHeader

StashedPageDesc SwPageDesc::m_aStashedHeader
mutableprivate

◆ m_eUse

UseOnPage SwPageDesc::m_eUse
private

◆ m_FirstLeft

SwFrameFormat SwPageDesc::m_FirstLeft
private

Definition at line 150 of file pagedesc.hxx.

Referenced by dumpAsXml(), GetInfo(), GetLeftFormat(), and operator=().

◆ m_FirstMaster

SwFrameFormat SwPageDesc::m_FirstMaster
private

Definition at line 149 of file pagedesc.hxx.

Referenced by dumpAsXml(), GetInfo(), GetRightFormat(), and operator=().

◆ m_FootnoteInfo

SwPageFootnoteInfo SwPageDesc::m_FootnoteInfo
private

Footnote information.

Definition at line 173 of file pagedesc.hxx.

◆ m_IsHidden

bool SwPageDesc::m_IsHidden
private

Definition at line 170 of file pagedesc.hxx.

◆ m_IsLandscape

bool SwPageDesc::m_IsLandscape
private

Definition at line 169 of file pagedesc.hxx.

Referenced by operator=().

◆ m_Left

SwFrameFormat SwPageDesc::m_Left
private

Definition at line 147 of file pagedesc.hxx.

Referenced by dumpAsXml(), GetInfo(), GetLeftFormat(), Mirror(), and operator=().

◆ m_Master

SwFrameFormat SwPageDesc::m_Master
private

Definition at line 146 of file pagedesc.hxx.

Referenced by dumpAsXml(), GetInfo(), GetRightFormat(), Mirror(), and operator=().

◆ m_nRegAscent

sal_uInt16 SwPageDesc::m_nRegAscent
private

For grid alignment (Registerhaltigkeit).

Definition at line 166 of file pagedesc.hxx.

Referenced by operator=().

◆ m_nRegHeight

sal_uInt16 SwPageDesc::m_nRegHeight
private

Sentence spacing and fontascent of style.

Definition at line 165 of file pagedesc.hxx.

Referenced by operator=(), and RegisterChange().

◆ m_NumType

SvxNumberType SwPageDesc::m_NumType
private

Definition at line 145 of file pagedesc.hxx.

Referenced by operator=().

◆ m_nVerticalAdjustment

drawing::TextVerticalAdjust SwPageDesc::m_nVerticalAdjustment
private

Definition at line 167 of file pagedesc.hxx.

Referenced by operator=().

◆ m_pdList

SwPageDescs* SwPageDesc::m_pdList
private

Backref to the assigned SwPageDescs list to handle renames.

Definition at line 176 of file pagedesc.hxx.

Referenced by SetName().

◆ m_pFollow

SwPageDesc* SwPageDesc::m_pFollow
private

Definition at line 164 of file pagedesc.hxx.

Referenced by SwDoc::ChgPageDesc(), dumpAsXml(), operator=(), and SetFollow().

◆ m_pTextFormatColl

const SwTextFormatColl* SwPageDesc::m_pTextFormatColl
mutableprivate

◆ m_StyleName

OUString SwPageDesc::m_StyleName
private

Definition at line 144 of file pagedesc.hxx.

Referenced by dumpAsXml(), SwPageDesc::change_name::operator()(), operator=(), and SetName().


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