28#include <osl/diagnose.h>
34 using namespace report;
36 using namespace xml::sax;
39 const Reference< XFastAttributeList > & _xAttrList
40 ,
const Reference< XReportControlModel > & _xComponent) :
42,m_xComponent(_xComponent)
45 OSL_ENSURE(m_xComponent.is(),
"Component is NULL!");
51 switch( aIter.getToken() )
53 case XML_ELEMENT(REPORT, XML_PRINT_WHEN_GROUP_CHANGE):
56 case XML_ELEMENT(REPORT, XML_PRINT_REPEATED_VALUES):
67 TOOLS_WARN_EXCEPTION(
"reportdesign",
"Exception caught while filling the report definition props");
72OXMLReportElement::~OXMLReportElement()
76css::uno::Reference< css::xml::sax::XFastContextHandler > OXMLReportElement::createFastChildContext(
78 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
80 css::uno::Reference< css::xml::sax::XFastContextHandler > xContext;
87 xContext =
new OXMLComponent( rImport,xAttrList,m_xComponent);
95 uno::Reference< report::XFormatCondition > xNewCond = m_xComponent->createFormatCondition();
96 m_xComponent->insertByIndex(m_xComponent->getCount(),
uno::Any(xNewCond));
OXMLReportElement(const OXMLReportElement &)=delete
#define TOOLS_WARN_EXCEPTION(area, stream)
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
XML_CONDITIONAL_PRINT_EXPRESSION
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
#define PROGRESS_BAR_STEP
#define XMLOFF_WARN_UNKNOWN(area, rIter)
#define XML_ELEMENT(prefix, name)