LibreOffice Module xmloff (master) 1
|
#include <StyleOOoTContext.hxx>
Public Member Functions | |
XMLStyleOOoTContext (XMLTransformerBase &rTransformer, const OUString &rQName, XMLFamilyType eType, bool bPersistent) | |
XMLStyleOOoTContext (XMLTransformerBase &rTransformer, const OUString &rQName, XMLFamilyType eType, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, bool bPersistent) | |
virtual | ~XMLStyleOOoTContext () override |
virtual rtl::Reference< XMLTransformerContext > | CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override |
virtual void | StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override |
virtual void | EndElement () override |
virtual void | Characters (const OUString &rChars) override |
virtual bool | IsPersistent () const override |
Public Member Functions inherited from XMLPersElemContentTContext | |
XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName) | |
XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap) | |
XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken) | |
XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, sal_uInt16 nActionMap) | |
virtual | ~XMLPersElemContentTContext () override |
virtual rtl::Reference< XMLTransformerContext > | CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override |
void | AddContent (rtl::Reference< XMLTransformerContext > const &pContent) |
bool | HasElementContent () const |
virtual void | ExportContent () override |
Public Member Functions inherited from XMLPersAttrListTContext | |
XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName) | |
XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap) | |
XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken) | |
XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, sal_uInt16 nActionMap) | |
virtual rtl::Reference< XMLTransformerContext > | CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override |
virtual void | StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override |
virtual void | EndElement () override |
virtual void | Characters (const OUString &rChars) override |
virtual bool | IsPersistent () const override |
virtual void | Export () override |
virtual void | ExportContent () override |
const OUString & | GetExportQName () const |
void | AddAttribute (sal_uInt16 nAPrefix, ::xmloff::token::XMLTokenEnum eAToken, ::xmloff::token::XMLTokenEnum eVToken) |
void | AddAttribute (sal_uInt16 nAPrefix, ::xmloff::token::XMLTokenEnum eAToken, const OUString &rValue) |
const css::uno::Reference< css::xml::sax::XAttributeList > & | GetAttrList () const |
Public Member Functions inherited from XMLTransformerContext | |
const OUString & | GetQName () const |
bool | HasQName (sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken) const |
bool | HasNamespace (sal_uInt16 nPrefix) const |
XMLTransformerContext (XMLTransformerBase &rTransformer, OUString aQName) | |
virtual rtl::Reference< XMLTransformerContext > | CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) |
virtual void | StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) |
virtual void | EndElement () |
virtual void | Characters (const OUString &rChars) |
virtual bool | IsPersistent () const |
virtual void | Export () |
virtual void | ExportContent () |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Static Public Member Functions | |
static XMLTransformerActions * | CreateTransformerActions (sal_uInt16 nType) |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Private Attributes | |
XMLFamilyType | m_eFamily |
bool const | m_bPersistent |
Additional Inherited Members | |
Protected Member Functions inherited from XMLPersAttrListTContext | |
void | SetExportQName (const OUString &r) |
Protected Member Functions inherited from XMLTransformerContext | |
XMLTransformerBase & | GetTransformer () |
const XMLTransformerBase & | GetTransformer () const |
void | SetQName (const OUString &rQName) |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 29 of file StyleOOoTContext.hxx.
XMLStyleOOoTContext::XMLStyleOOoTContext | ( | XMLTransformerBase & | rTransformer, |
const OUString & | rQName, | ||
XMLFamilyType | eType, | ||
bool | bPersistent | ||
) |
Definition at line 1019 of file StyleOOoTContext.cxx.
XMLStyleOOoTContext::XMLStyleOOoTContext | ( | XMLTransformerBase & | rTransformer, |
const OUString & | rQName, | ||
XMLFamilyType | eType, | ||
sal_uInt16 | nPrefix, | ||
::xmloff::token::XMLTokenEnum | eToken, | ||
bool | bPersistent | ||
) |
Definition at line 1029 of file StyleOOoTContext.cxx.
|
overridevirtual |
Definition at line 1042 of file StyleOOoTContext.cxx.
|
overridevirtual |
Reimplemented from XMLPersAttrListTContext.
Definition at line 1258 of file StyleOOoTContext.cxx.
|
overridevirtual |
Reimplemented from XMLPersElemContentTContext.
Definition at line 1046 of file StyleOOoTContext.cxx.
References aAttrActionMaps, XMLPersElemContentTContext::AddContent(), aPropTokens, aPropTypes, XMLTransformerContext::CreateChildContext(), XMLPersElemContentTContext::CreateChildContext(), XMLTransformerContext::GetTransformer(), xmloff::token::IsXMLToken(), m_bPersistent, m_eFamily, MAX_OOO_PROP_ACTIONS, XML_NAMESPACE_STYLE, XML_PROP_TYPE_END, xmloff::token::XML_PROPERTIES, and XMLPersElemContentTContext::XMLPersElemContentTContext().
|
static |
Definition at line 1268 of file StyleOOoTContext.cxx.
References aChartPropertyOOoAttrActionTable, aChartPropertyOOoElemActionTable, aDrawingPagePropertyOOoAttrActionTable, aGraphicPropertyOOoAttrActionTable, aGraphicPropertyOOoElemActionTable, aHeaderFooterPropertyOOoAttrActionTable, aListLevelPropertyOOoAttrActionTable, aPageLayoutPropertyOOoAttrActionTable, aParagraphPropertyOOoAttrActionTable, aParagraphPropertyOOoElemActionTable, aSectionPropertyOOoAttrActionTable, aTableCellPropertyOOoAttrActionTable, aTableCellPropertyOOoElemActionTable, aTableColumnPropertyOOoAttrActionTable, aTablePropertyOOoAttrActionTable, aTableRowPropertyOOoAttrActionTable, aTextPropertyOOoAttrActionTable, aTextPropertyOOoElemActionTable, nType, PROP_OOO_CHART_ATTR_ACTIONS, PROP_OOO_CHART_ELEM_ACTIONS, PROP_OOO_DRAWING_PAGE_ATTR_ACTIONS, PROP_OOO_GRAPHIC_ATTR_ACTIONS, PROP_OOO_GRAPHIC_ELEM_ACTIONS, PROP_OOO_HEADER_FOOTER_ATTR_ACTIONS, PROP_OOO_LIST_LEVEL_ATTR_ACTIONS, PROP_OOO_PAGE_LAYOUT_ATTR_ACTIONS, PROP_OOO_PARAGRAPH_ATTR_ACTIONS, PROP_OOO_PARAGRAPH_ELEM_ACTIONS, PROP_OOO_SECTION_ATTR_ACTIONS, PROP_OOO_TABLE_ATTR_ACTIONS, PROP_OOO_TABLE_CELL_ATTR_ACTIONS, PROP_OOO_TABLE_CELL_ELEM_ACTIONS, PROP_OOO_TABLE_COLUMN_ATTR_ACTIONS, PROP_OOO_TABLE_ROW_ATTR_ACTIONS, PROP_OOO_TEXT_ATTR_ACTIONS, and PROP_OOO_TEXT_ELEM_ACTIONS.
Referenced by OOo2OasisTransformer::GetUserDefinedActions().
|
overridevirtual |
Reimplemented from XMLPersAttrListTContext.
Definition at line 1250 of file StyleOOoTContext.cxx.
References XMLPersAttrListTContext::EndElement(), XMLTransformerBase::GetDocHandler(), XMLPersAttrListTContext::GetExportQName(), XMLTransformerContext::GetTransformer(), and m_bPersistent.
|
overridevirtual |
Reimplemented from XMLPersAttrListTContext.
Definition at line 1263 of file StyleOOoTContext.cxx.
References m_bPersistent.
|
overridevirtual |
Reimplemented from XMLPersAttrListTContext.
Definition at line 1112 of file StyleOOoTContext.cxx.
References XMLTransformerBase::GetDocHandler(), XMLPersAttrListTContext::GetExportQName(), SvXMLNamespaceMap::GetKeyByAttrName(), XMLTransformerBase::GetNamespaceMap(), XMLTransformerContext::GetTransformer(), XMLTransformerBase::GetUserDefinedActions(), xmloff::token::GetXMLToken(), i, xmloff::token::IsXMLToken(), m_bPersistent, m_eFamily, XMLTransformerBase::NegPercent(), OOO_STYLE_ACTIONS, XMLTransformerBase::ReplaceSingleInchWithIn(), XMLPersAttrListTContext::StartElement(), XML_ATACTION_ENCODE_STYLE_NAME, XML_ATACTION_ENCODE_STYLE_NAME_REF, XML_ATACTION_INCH2IN, XML_ATACTION_NEG_PERCENT, XML_ATACTION_STYLE_FAMILY, XML_ATACTION_URI_OOO, xmloff::token::XML_CHART, xmloff::token::XML_CONTROL, xmloff::token::XML_DISPLAY_NAME, xmloff::token::XML_DRAWING_PAGE, XML_FAMILY_TYPE_CHART, XML_FAMILY_TYPE_DRAWING_PAGE, XML_FAMILY_TYPE_END, XML_FAMILY_TYPE_GRAPHIC, XML_FAMILY_TYPE_PARAGRAPH, XML_FAMILY_TYPE_PRESENTATION, XML_FAMILY_TYPE_RUBY, XML_FAMILY_TYPE_SECTION, XML_FAMILY_TYPE_TABLE, XML_FAMILY_TYPE_TABLE_CELL, XML_FAMILY_TYPE_TABLE_COLUMN, XML_FAMILY_TYPE_TABLE_ROW, XML_FAMILY_TYPE_TEXT, xmloff::token::XML_GRAPHIC, xmloff::token::XML_GRAPHICS, xmloff::token::XML_PARAGRAPH, xmloff::token::XML_PRESENTATION, xmloff::token::XML_RUBY, xmloff::token::XML_SECTION, xmloff::token::XML_TABLE, xmloff::token::XML_TABLE_CELL, xmloff::token::XML_TABLE_COLUMN, xmloff::token::XML_TABLE_ROW, and xmloff::token::XML_TEXT.
|
private |
Definition at line 33 of file StyleOOoTContext.hxx.
Referenced by CreateChildContext(), EndElement(), IsPersistent(), and StartElement().
|
private |
Definition at line 31 of file StyleOOoTContext.hxx.
Referenced by CreateChildContext(), and StartElement().