20 #include <com/sun/star/beans/XPropertySet.hpp>
21 #include <com/sun/star/text/XText.hpp>
22 #include <com/sun/star/sheet/XHeaderFooterContent.hpp>
30 #include <unonames.hxx>
42 xml::sax::XFastAttributeList > & xAttrList,
44 bool bFooter,
bool bLeft ) :
46 xPropSet( rPageStylePropSet ),
48 bContainsRight(false),
49 bContainsCenter(false)
55 bool bDisplay(
true );
71 xPropSet->setPropertyValue( sShareContent, uno::makeAny(
false) );
77 xPropSet->setPropertyValue( sShareContent, uno::makeAny(
true) );
83 if ( bOn != bDisplay )
84 xPropSet->setPropertyValue( sOn, uno::makeAny(bDisplay) );
99 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
103 uno::Reference < text::XText > xText;
122 xText->setString(
"");
123 uno::Reference < text::XTextCursor > xTempTextCursor(xText->createTextCursor());
135 xText->setString(
"");
154 if(
GetImport().GetTextImport()->GetCursor().is() )
157 if(
GetImport().GetTextImport()->GetCursor()->goLeft( 1,
true ) )
160 GetImport().GetTextImport()->GetCursorAsRange(),
"",
182 uno::Reference< text::XTextCursor >& xCursor ) :
184 xTextCursor ( xCursor )
196 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
212 if(
GetImport().GetTextImport()->GetCursor().is() )
215 if(
GetImport().GetTextImport()->GetCursor()->goLeft( 1,
true ) )
218 GetImport().GetTextImport()->GetCursorAsRange(),
"",
#define SC_UNO_PAGE_RIGHTFTRCON
SvXMLImport & GetImport()
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
rtl::Reference< XMLTextImportHelper > const & GetTextImport()
#define XMLOFF_WARN_UNKNOWN(area, rIter)
#define SC_UNO_PAGE_LEFTHDRCONT
#define SC_UNO_PAGE_HDRON
#define SC_UNO_PAGE_LEFTFTRCONT
#define SC_UNO_PAGE_FTRON
#define SC_UNO_PAGE_HDRSHARED
#define XML_ELEMENT(prefix, name)
#define SC_UNO_PAGE_FTRSHARED
#define XMLOFF_WARN_UNKNOWN_ELEMENT(area, token)
#define SC_UNO_PAGE_RIGHTHDRCON
bool any2bool(const css::uno::Any &rAny)