// get itemset. Override here to allow creating the empty itemset // without asserting const SfxItemSet& PageProperties::GetObjectItemSet() const
{ if(!mxEmptyItemSet)
{
mxEmptyItemSet.emplace(GetSdrObject().GetObjectItemPool());
}
DBG_ASSERT(mxEmptyItemSet, "Could not create an SfxItemSet(!)");
return *mxEmptyItemSet;
}
SfxStyleSheet* PageProperties::GetStyleSheet() const
{ // override to legally return a 0L pointer here return nullptr;
}
void PageProperties::SetStyleSheet(SfxStyleSheet* /*pStyleSheet*/, bool /*bDontRemoveHardAttr*/, bool/*bBroadcast*/, bool /*bAdjustTextFrameWidthAndHeight*/)
{ // override to legally ignore the StyleSheet here
}
void PageProperties::SetObjectItem(const SfxPoolItem& /*rItem*/)
{
assert(!"PageProperties::SetObjectItem() should never be called");
}
void PageProperties::SetObjectItemDirect(const SfxPoolItem& /*rItem*/)
{
assert(!"PageProperties::SetObjectItemDirect() should never be called");
}
void PageProperties::ClearObjectItemDirect(const sal_uInt16 /*nWhich*/)
{
assert(!"PageProperties::ClearObjectItemDirect() should never be called");
}
void PageProperties::SetObjectItemSet(const SfxItemSet& /*rSet*/, bool /*bAdjustTextFrameWidthAndHeight*/)
{ // This can be called e.g. when positioning the slide using dialog in Notes view
}
} // end of namespace
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.