// register at used page
maUsedPage.AddPageUser(*this);
}
MasterPageDescriptor::~MasterPageDescriptor()
{ // de-register at used page
maUsedPage.RemovePageUser(*this);
mpViewContact.reset();
}
// ViewContact part
sdr::contact::ViewContact& MasterPageDescriptor::GetViewContact() const
{ if(!mpViewContact)
{
mpViewContact.reset( new sdr::contact::ViewContactOfMasterPageDescriptor(*const_cast< MasterPageDescriptor* >(this)) );
}
return *mpViewContact;
}
// this method is called from the destructor of the referenced page. // do all necessary action to forget the page. It is not necessary to call // RemovePageUser(), that is done from the destructor. void MasterPageDescriptor::PageInDestruction(const SdrPage& /*rPage*/)
{
maOwnerPage.TRG_ClearMasterPage();
}
if(pCorrectPage->IsMasterPage() && !pCorrectProperties->GetStyleSheet())
{ // #i110846# Suppress SdrPage FillStyle for MasterPages without StyleSheets, // else the PoolDefault (XFILL_COLOR and Blue8) will be used. Normally, all // MasterPages should have a StyleSheet exactly for this reason, but historically // e.g. the Notes MasterPage has no StyleSheet set (and there maybe others).
pCorrectProperties = nullptr;
}
return pCorrectProperties;
}
} // end of namespace sdr
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.