33 #include <com/sun/star/frame/XModel.hpp>
34 #include <com/sun/star/style/XStyle.hpp>
35 #include <com/sun/star/lang/XSingleServiceFactory.hpp>
36 #include <com/sun/star/presentation/XPresentationPage.hpp>
37 #include <com/sun/star/drawing/XDrawPages.hpp>
38 #include <com/sun/star/container/XNamed.hpp>
39 #include <com/sun/star/beans/XPropertySet.hpp>
40 #include <com/sun/star/beans/XPropertyState.hpp>
41 #include <com/sun/star/presentation/XHandoutMasterSupplier.hpp>
46 #include <com/sun/star/container/XNameContainer.hpp>
65 SdXMLDrawingPagePropertySetContext(
SvXMLImport& rImport, sal_Int32 nElement,
66 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList,
67 ::std::vector< XMLPropertyState > &rProps,
73 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList,
74 ::std::vector< XMLPropertyState > &rProperties,
80 SdXMLDrawingPagePropertySetContext::SdXMLDrawingPagePropertySetContext(
82 const uno::Reference< xml::sax::XFastAttributeList > & xAttrList,
83 ::std::vector< XMLPropertyState > &rProps,
90 css::uno::Reference< css::xml::sax::XFastContextHandler > SdXMLDrawingPagePropertySetContext::createFastChildContext(
92 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList,
93 ::std::vector< XMLPropertyState > &rProperties,
96 switch( mxMapper->getPropertySetMapper()->GetEntryContextId( rProp.
mnIndex ) )
104 uno::Any aAny( GetImport().GetAbsoluteReference( aIter.toString() ) );
106 rProperties.push_back( aPropState );
117 rProperties, rProp );
127 SdXMLDrawingPageStyleContext(
132 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
134 virtual void Finish(
bool bOverwrite )
override;
137 const sal_uInt16 MAX_SPECIAL_DRAW_STYLES = 7;
168 , m_pFamilies(pFamilies)
176 SdXMLDrawingPageStyleContext::SdXMLDrawingPageStyleContext(
183 css::uno::Reference< css::xml::sax::XFastContextHandler > SdXMLDrawingPageStyleContext::createFastChildContext(
185 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
190 GetStyles()->GetImportPropertyMapper( GetFamily() );
192 return new SdXMLDrawingPagePropertySetContext( GetImport(), nElement,
201 void SdXMLDrawingPageStyleContext::Finish(
bool bOverwrite )
205 ::std::vector< XMLPropertyState > &rProperties = GetProperties();
214 sal_Int16 nContextID = rImpPrMap->GetEntryContextId(
property.mnIndex);
220 property.maValue >>= sStyleName;
222 sal_Int32 nStyle = 0;
231 property.maValue <<= nStyle;
246 SAL_WARN_IF( !xImpPrMap.is(),
"xmloff",
"There is the import prop mapper" );
263 xImpPrMap->getPropertySetMapper();
266 const OUString& rPropertyName =
267 rPropMapper->GetEntryAPIName(rState.
mnIndex);
269 xInfo = rPropSet->getPropertySetInfo();
270 if ( xInfo->hasPropertyByName( rPropertyName ) )
272 rPropSet->setPropertyValue( rPropertyName,
Any( sStyleName ) );
282 const uno::Reference< xml::sax::XFastAttributeList>& xAttrList)
290 meOrientation(GetSdImport().IsDraw() ?
view::PaperOrientation_PORTRAIT :
view::PaperOrientation_LANDSCAPE)
297 switch(aIter.getToken())
363 const uno::Reference< xml::sax::XFastAttributeList>& )
373 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
390 const uno::Reference< xml::sax::XFastAttributeList >& )
400 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
409 xContext = xLclContext.get();
412 maList.push_back(xLclContext);
417 return xContext.get();
429 if( pObj0->
GetName() ==
"handout" )
458 if( pObj0->
GetName() ==
"title" )
472 if( pObj1->
GetName() ==
"subtitle" )
476 else if( pObj1->
GetName() ==
"outline" )
480 else if( pObj1->
GetName() ==
"chart" )
484 else if( pObj1->
GetName() ==
"table" )
488 else if( pObj1->
GetName() ==
"object" )
492 else if( pObj1->
GetName() ==
"vertical_outline" )
494 if( pObj0->
GetName() ==
"vertical_title" )
514 if( pObj1->
GetName() ==
"outline" )
516 if( pObj2->
GetName() ==
"outline" )
520 else if( pObj2->
GetName() ==
"chart" )
524 else if( pObj2->
GetName() ==
"graphic" )
540 else if( pObj1->
GetName() ==
"chart" )
544 else if( pObj1->
GetName() ==
"graphic" )
546 if( pObj2->
GetName() ==
"vertical_outline" )
555 else if( pObj1->
GetName() ==
"vertical_outline" )
577 if( pObj1->
GetName() ==
"object" )
598 if( pObj1->
GetName() ==
"object" )
629 const uno::Reference< xml::sax::XFastAttributeList>& xAttrList)
635 switch(aIter.getToken())
639 msName = aIter.toString();
646 mnX, aIter.toView());
678 const uno::Reference< xml::sax::XFastAttributeList>& xAttrList,
679 uno::Reference< drawing::XShapes >
const & rShapes)
683 OUString sStyleName, sPageMasterName;
687 const OUString sValue = aIter.toString();
688 switch(aIter.getToken())
702 sPageMasterName = sValue;
751 if(!sPageMasterName.isEmpty())
774 pSdContext->SetMasterPageStyles(*
this);
783 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
790 if(
GetSdImport().GetShapeImport()->GetStylesContext())
795 *
GetSdImport().GetShapeImport()->GetStylesContext(),
809 uno::Reference< presentation::XPresentationPage > xPresPage(
GetLocalShapesContext(), uno::UNO_QUERY);
812 uno::Reference< drawing::XDrawPage > xNotesDrawPage = xPresPage->getNotesPage();
813 if(xNotesDrawPage.is())
829 mbIsAutoStyle(bIsAutoStyle)
838 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList)
844 auto pContext =
GetImport().
GetShapeImport()->GetShapeTableImport()->CreateTableTemplateContext(nElement, xAttrList );
893 const uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList)
898 return new SdXMLDrawingPageStyleContext(
GetSdImport(), *
this );
915 const Reference< XFastAttributeList > & xAttrList )
942 aImpHelper->GetPresPagePropsMapper();
998 if (
const XMLShapeStyleContext* pParentStyle = dynamic_cast<const XMLShapeStyleContext*>(pStyle))
1000 if(pParentStyle->GetStyle().is())
1019 uno::Reference< beans::XPropertySet > xInfoSet(
GetImport().getImportInfo() );
1022 uno::Reference< beans::XPropertySetInfo > xInfoSetInfo( xInfoSet->getPropertySetInfo() );
1024 if( xInfoSetInfo->hasPropertyByName(
"PageLayouts") )
1025 xInfoSet->setPropertyValue(
"PageLayouts", uno::makeAny(
getPageLayouts() ) );
1036 const uno::Reference<container::XNameAccess>& rStyleFamilies =
1039 if (!rStyleFamilies.is())
1047 uno::Reference< container::XNameAccess > xMasterPageStyles( rStyleFamilies->getByName(rMaster.
GetDisplayName()), UNO_QUERY_THROW );
1051 catch (
const uno::Exception&)
1062 if(
GetSdImport().GetLocalDocStyleFamilies().is())
try
1064 uno::Reference< container::XNameAccess > xGraphicPageStyles(
GetSdImport().GetLocalDocStyleFamilies()->getByName(
"graphics"), uno::UNO_QUERY_THROW );
1068 catch( uno::Exception& )
1076 if(
GetSdImport().GetLocalDocStyleFamilies().is())
try
1078 uno::Reference< container::XNameAccess > xGraphicPageStyles(
GetSdImport().GetLocalDocStyleFamilies()->getByName(
"cell"), uno::UNO_QUERY_THROW );
1082 catch( uno::Exception& )
1097 bool bCanSkipReset =
false;
1098 if (pPropStyle && rName ==
u"TextAutoGrowHeight")
1100 bool bOldStyleTextAutoGrowHeight(
false);
1101 rPropSet->getPropertyValue(
"TextAutoGrowHeight") >>= bOldStyleTextAutoGrowHeight;
1103 sal_Int32 nIndexStyle = rPrMap->GetEntryIndex(
XML_NAMESPACE_DRAW,
u"auto-grow-height", 0);
1104 if (nIndexStyle != -1)
1106 const ::std::vector< XMLPropertyState > &rProperties = pPropStyle->
GetProperties();
1107 auto property = std::find_if(rProperties.cbegin(), rProperties.cend(),
1109 if (
property != rProperties.cend())
1111 bool bNewStyleTextAutoGrowHeight(
false);
1112 property->maValue >>= bNewStyleTextAutoGrowHeight;
1113 bCanSkipReset = (bNewStyleTextAutoGrowHeight == bOldStyleTextAutoGrowHeight);
1117 return bCanSkipReset;
1124 sal_Int32 nPrefLen(rPrefix.getLength());
1151 sal_Int32 nStylePrefLen = aStyleName.lastIndexOf(
'-' ) + 1;
1152 if( (nPrefLen != nStylePrefLen) || !aStyleName.startsWith(rPrefix) )
1155 aStyleName = aStyleName.copy( nPrefLen );
1160 uno::Reference< style::XStyle > xStyle;
1161 if(xPageStyles->hasByName(aStyleName))
1163 xPageStyles->getByName(aStyleName) >>= xStyle;
1166 uno::Reference< beans::XPropertySet > xPropSet( xStyle, uno::UNO_QUERY );
1167 uno::Reference< beans::XPropertySetInfo > xPropSetInfo;
1169 xPropSetInfo = xPropSet->getPropertySetInfo();
1171 uno::Reference< beans::XPropertyState > xPropState( xStyle, uno::UNO_QUERY );
1173 if( xPropState.is() )
1177 SAL_WARN_IF( !xImpPrMap.is(),
"xmloff",
"There is the import prop mapper" );
1178 if( xImpPrMap.is() )
1179 xPrMap = xImpPrMap->getPropertySetMapper();
1182 const sal_Int32
nCount = xPrMap->GetEntryCount();
1183 for( sal_Int32 i = 0;
i < nCount;
i++ )
1185 const OUString& rName = xPrMap->GetEntryAPIName( i );
1186 if( xPropSetInfo->hasPropertyByName( rName ) && beans::PropertyState_DIRECT_VALUE == xPropState->getPropertyState( rName ) )
1188 bool bCanSkipReset =
canSkipReset(rName, pPropStyle, xPropSet, xPrMap);
1191 xPropState->setPropertyToDefault( rName );
1200 uno::Reference< lang::XSingleServiceFactory > xServiceFact(xPageStyles, uno::UNO_QUERY);
1201 if(xServiceFact.is())
1203 uno::Reference< style::XStyle > xNewStyle( xServiceFact->createInstance(), uno::UNO_QUERY);
1211 uno::Reference< container::XNameContainer > xInsertContainer(xPageStyles, uno::UNO_QUERY);
1212 if(xInsertContainer.is())
1213 xInsertContainer->insertByName(aStyleName,
uno::Any( xStyle ) );
1221 uno::Reference< beans::XPropertySet > xPropSet(xStyle, uno::UNO_QUERY);
1222 if(xPropSet.is() && pPropStyle)
1230 catch(
const Exception& e)
1232 uno::Sequence<OUString>
aSeq(0);
1247 sal_Int32 nStylePrefLen = aStyleName.lastIndexOf(
'-' ) + 1;
1248 if( (nPrefLen != nStylePrefLen) || !aStyleName.startsWith( rPrefix ) )
1251 aStyleName = aStyleName.copy( nPrefLen );
1254 uno::Reference< style::XStyle > xStyle( xPageStyles->getByName(aStyleName), UNO_QUERY );
1261 sal_Int32 nStylePrefLen = sParentStyleDisplayName.lastIndexOf(
'-' ) + 1;
1262 if( (nPrefLen != nStylePrefLen) || !sParentStyleDisplayName.startsWith( rPrefix ) )
1265 sParentStyleDisplayName = sParentStyleDisplayName.copy( nPrefLen );
1267 xStyle->setParentStyle( sParentStyleDisplayName );
1270 catch(
const Exception& e )
1272 uno::Sequence<OUString>
aSeq(0);
1290 xLayouts->insertByName(pStyle->
GetName(), uno::makeAny(static_cast<sal_Int32>(pContext->GetTypeId())));
1294 return uno::Reference< container::XNameAccess >::query( xLayouts );
1306 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
1315 uno::Reference< drawing::XDrawPage > xNewMasterPage;
1316 uno::Reference< drawing::XDrawPages > xMasterPages(
GetSdImport().GetLocalMasterPages(), uno::UNO_QUERY);
1318 if( xMasterPages.is() )
1321 sal_Int32 nMasterPageCount = xMasterPages->getCount();
1322 if (nNewMasterPageCount + 1 > nMasterPageCount)
1325 xNewMasterPage = xMasterPages->insertNewByIndex(nMasterPageCount);
1330 xMasterPages->getByIndex(nNewMasterPageCount) >>= xNewMasterPage;
1336 if(xNewMasterPage.is())
1342 nElement, xAttrList, xNewMasterPage)};
1344 return xLclContext.get();
1351 uno::Reference< presentation::XHandoutMasterSupplier > xHandoutSupp(
GetSdImport().GetModel(), uno::UNO_QUERY );
1352 if( xHandoutSupp.is() )
1354 uno::Reference< drawing::XShapes > xHandoutPage = xHandoutSupp->getHandoutMasterPage();
1358 nElement, xAttrList, xHandoutPage);
1368 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList)
void SetLayout()
sets the presentation layout at this page.
virtual SvXMLStyleContext * CreateStyleChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
XmlStyleFamily GetFamily() const
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
std::vector< rtl::Reference< SdXMLMasterPageContext > > maMasterPageList
Title, 2 Content and Content.
bool convertMeasureToCore(sal_Int32 &rValue, std::u16string_view rString, sal_Int32 nMin=SAL_MIN_INT32, sal_Int32 nMax=SAL_MAX_INT32) const
convert string to measure with meCoreMeasureUnit, using optional min and max values ...
void AddFooterDecl(const OUString &rName, const OUString &rText)
COMPHELPER_DLLPUBLIC css::uno::Reference< css::container::XNameContainer > NameContainer_createInstance(const css::uno::Type &aType)
const css::uno::Reference< css::container::XNameAccess > & GetLocalDocStyleFamilies() const
rtl::Reference< ::xmloff::OFormLayerXMLImport > const & GetFormImport()
void SetPageMaster(OUString const &rsPageMasterName)
sets the properties from a page master style with the given name on this contexts page ...
rtl::Reference< SdXMLPageMasterStyleContext > mxPageMasterStyle
OUString maUseHeaderDeclName
sal_Int32 GetNewMasterPageCount() const
SvXMLImport & GetImport()
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
const SdXMLImport & GetSdImport() const
SvXMLStyleContext * GetStyle(sal_uInt32 i)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
bool IsDefaultStyle() const
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
#define CTF_FILLGRADIENTNAME
OUString maUseFooterDeclName
#define CTF_FILLTRANSNAME
rtl::Reference< XMLTextImportHelper > const & GetTextImport()
rtl::Reference< SchXMLImportHelper > const & GetChartImport()
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
Title, Content and 2 Content.
#define CTF_FILLBITMAPNAME
XmlStyleFamily const *const m_pFamilies
rtl::Reference< SvXMLImportPropertyMapper > xPresImpPropMapper
const OUString & GetName() const
const SdXMLImport & GetSdImport() const
#define XMLOFF_WARN_UNKNOWN(area, rIter)
const SdXMLImport & GetSdImport() const
Title, 2 Content over Content.
SdXMLPageMasterStyleContext(SdXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
sal_Int32 GetDrawKey() const
std::unique_ptr< ContextID_Index_Pair[]> m_pContextIDs
constexpr sal_uInt16 XML_NAMESPACE_DRAW
#define XMLERROR_FLAG_WARNING
const OUString & GetDisplayName() const
const SdXMLImport & GetSdImport() const
#define CTF_PAGE_SOUND_URL
std::unique_ptr< SvNumberFormatter > mpNumFormatter
virtual rtl::Reference< SvXMLImportPropertyMapper > GetImportPropertyMapper(XmlStyleFamily nFamily) const
void SetMasterPageStyles(SdXMLMasterPageContext const &rMaster) const
#define TOOLS_WARN_EXCEPTION(area, stream)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
#define DBG_ASSERT(sCon, aError)
const OUString & GetDisplayName() const
void DeleteAllShapes()
deletes all shapes on this drawing page
virtual void FillPropertySet(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
Title, Content over Content.
virtual SvXMLStyleContext * CreateDefaultStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
::std::vector< XMLPropertyState > & GetProperties()
exports com.sun.star. view
void SetStyle(const css::uno::Reference< css::style::XStyle > &xStl)
std::vector< rtl::Reference< SdXMLPresentationPlaceholderContext > > maList
virtual SvXMLStyleContext * CreateStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
OUString maUseDateTimeDeclName
Vertical Title, Vertical Content over Vertical Content.
SdXMLMasterStylesContext(SdXMLImport &rImport)
void IncrementNewMasterPageCount()
void AddDateTimeDecl(const OUString &rName, const OUString &rText, bool bFixed, const OUString &rDateTimeFormat)
virtual ~SdXMLMasterPageContext() override
void ImpSetCellStyles() const
void AddHeaderDecl(const OUString &rName, const OUString &rText)
virtual SvXMLStyleContext * CreateDefaultStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
const SdXMLImport & GetSdImport() const
#define CTF_FILLHATCHNAME
virtual ~SdXMLPresentationPlaceholderContext() override
virtual rtl::Reference< SvXMLImportPropertyMapper > GetImportPropertyMapper(XmlStyleFamily nFamily) const override
OUString maPageLayoutName
const SdXMLImport & GetSdImport() const
#define CTF_LINESTARTNAME
This class deliberately does not support XWeak, to improve performance when loading large documents...
virtual void Finish(bool bOverwrite) override
XMLDrawingPageStyleContext(SvXMLImport &rImport, SvXMLStylesContext &rStyles, ContextID_Index_Pair const pContextIDs[], XmlStyleFamily const pFamilies[])
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
const OUString & GetParentName() const
css::uno::Reference< css::uno::XComponentContext > const & GetComponentContext() const
SdXMLPageMasterContext(SdXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
OUString GetStyleDisplayName(XmlStyleFamily nFamily, const OUString &rName) const
#define SAL_WARN_IF(condition, area, stream)
const OUString & GetName() const
virtual SvXMLStyleContext * CreateStyleChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
css::view::PaperOrientation meOrientation
Handling of tokens in XML:
Title, 2 Vertical Content.
const css::uno::Reference< css::drawing::XShapes > & GetLocalShapesContext() const
#define XML_ELEMENT(prefix, name)
css::uno::Reference< css::container::XNameAccess > getPageLayouts() const
virtual SvXMLStyleContext * CreateStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
Smart struct to transport an Any with an index to the appropriate property-name.
const SvXMLUnitConverter & GetMM100UnitConverter() const
SdXMLPresentationPlaceholderContext(SdXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
Sequence< sal_Int8 > aSeq
#define CTF_DATE_TIME_FORMAT
SvXMLStylesContext * GetStyles()
#define XML_TYPE_PROP_DRAWING_PAGE
const SvXMLStyleContext * FindStyleChildContext(XmlStyleFamily nFamily, const OUString &rName, bool bCreateIndex=false) const
void AddStyleDisplayName(XmlStyleFamily nFamily, const OUString &rName, const OUString &rDisplayName)
This struct is used as an optional parameter to the static _FillPropertySet() methods.
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
constexpr sal_Int32 TOKEN_MASK
#define XMLOFF_WARN_UNKNOWN_ELEMENT(area, token)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
SdXMLStylesContext(SdXMLImport &rImport, bool bIsAutoStyle)
SdXMLPresentationPageLayoutContext(SdXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
virtual void FillPropertySet(css::uno::Reference< css::beans::XPropertySet > const &rPropSet) override
sal_uInt32 GetStyleCount() const
void SetStyle(OUString const &rStyleName)
sets the page style on this page
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
const SdXMLImport & GetSdImport() const
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
void FinishStyles(bool bOverwrite)
std::unique_ptr< SvXMLNumFmtHelper > mpNumFmtHelper
Vertical Title, Vertical Content over Vertical Content.
void ImpSetGraphicStyles() const
rtl::Reference< XMLShapeImportHelper > const & GetShapeImport()
virtual ~SdXMLPageMasterStyleContext() override
SdXMLMasterPageContext(SdXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes)
static bool canSkipReset(std::u16string_view rName, const XMLPropStyleContext *pPropStyle, const uno::Reference< beans::XPropertySet > &rPropSet, const rtl::Reference< XMLPropertySetMapper > &rPrMap)