LibreOffice Module xmloff (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Oasis2OOoTransformer Class Reference

#include <Oasis2OOo.hxx>

Inheritance diagram for Oasis2OOoTransformer:
[legend]
Collaboration diagram for Oasis2OOoTransformer:
[legend]

Public Member Functions

 Oasis2OOoTransformer () noexcept
 
virtual ~Oasis2OOoTransformer () noexcept override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual OUString GetEventName (const OUString &rName, bool bForm=false) override
 
- Public Member Functions inherited from XMLTransformerBase
 XMLTransformerBase (XMLTransformerActionInit const *pInit, ::xmloff::token::XMLTokenEnum const *pTKMapInit) noexcept
 
virtual ~XMLTransformerBase () noexcept override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL startElement (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
 
virtual void SAL_CALL endElement (const OUString &aName) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual void SAL_CALL ignorableWhitespace (const OUString &aWhitespaces) override
 
virtual void SAL_CALL processingInstruction (const OUString &aTarget, const OUString &aData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
 
virtual void SAL_CALL startCDATA () override
 
virtual void SAL_CALL endCDATA () override
 
virtual void SAL_CALL comment (const OUString &sComment) override
 
virtual void SAL_CALL allowLineBreak () override
 
virtual void SAL_CALL unknown (const OUString &sString) override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const css::uno::Reference< css::beans::XPropertySet > & GetPropertySet () const
 
SvXMLNamespaceMapGetNamespaceMap ()
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
SvXMLNamespaceMapGetReplaceNamespaceMap ()
 
XMLTransformerActionsGetElemActions ()
 
virtual XMLTransformerActionsGetUserDefinedActions (sal_uInt16 n)
 
virtual XMLTransformerContextCreateUserDefinedContext (const TransformerAction_Impl &rAction, const OUString &rQName, bool bPersistent=false)=0
 
virtual OUString GetEventName (const OUString &rName, bool bForm=false)=0
 
XMLMutableAttributeListProcessAttrList (css::uno::Reference< css::xml::sax::XAttributeList > &rAttrList, sal_uInt16 nActionMap, bool bClone)
 
bool EncodeStyleName (OUString &rName) const
 
void AddNamespacePrefix (OUString &rName, sal_uInt16 nPrefix) const
 
bool RemoveNamespacePrefix (OUString &rName, sal_uInt16 nPrefixOnly=0xffffU) const
 
bool ConvertURIToOASIS (OUString &rURI, bool bSupportPackage) const
 
bool ConvertURIToOOo (OUString &rURI, bool bSupportPackage) const
 
::xmloff::token::XMLTokenEnum GetToken (const OUString &rStr) const
 
const XMLTransformerContextGetCurrentContext () const
 
const XMLTransformerContextGetAncestorContext (sal_uInt32 i) const
 
void SetClass (const OUString &r)
 
const OUString & GetClass () const
 
bool isWriter () const
 

Protected Member Functions

virtual XMLTransformerContextCreateUserDefinedContext (const TransformerAction_Impl &rAction, const OUString &rQName, bool bPersistent=false) override
 
virtual XMLTransformerActionsGetUserDefinedActions (sal_uInt16 n) override
 
- Protected Member Functions inherited from XMLTransformerBase
XMLTransformerContextCreateContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName)
 

Private Attributes

std::unique_ptr< XMLTransformerActionsm_aActions [MAX_OASIS_ACTIONS]
 
XMLTransformerOASISEventMap_Implm_pEventMap
 
XMLTransformerOASISEventMap_Implm_pFormEventMap
 

Additional Inherited Members

- Static Public Member Functions inherited from XMLTransformerBase
static bool ReplaceSingleInchWithIn (OUString &rValue)
 
static bool ReplaceSingleInWithInch (OUString &rValue)
 
static bool ReplaceInchWithIn (OUString &rValue)
 
static bool ReplaceInWithInch (OUString &rValue)
 
static bool DecodeStyleName (OUString &rName)
 
static bool NegPercent (OUString &rValue)
 
static bool RenameAttributeValue (OUString &rOutAttributeValue, sal_Int32 nParam1, sal_Int32 nParam2, sal_Int32 nParam3)
 renames the given rOutAttributeValue if one of the parameters contains a matching token in its lower 16 bits. More...
 
static bool ConvertRNGDateTimeToISO (OUString &rDateTime)
 converts the '. More...
 
- Protected Attributes inherited from XMLTransformerBase
css::uno::Reference< css::frame::XModel > mxModel
 

Detailed Description

Definition at line 27 of file Oasis2OOo.hxx.

Constructor & Destructor Documentation

◆ Oasis2OOoTransformer()

Oasis2OOoTransformer::Oasis2OOoTransformer ( )
noexcept

Definition at line 1806 of file Oasis2OOo.cxx.

References SvXMLNamespaceMap::Add(), XMLTransformerBase::GetNamespaceMap(), XMLTransformerBase::GetReplaceNamespaceMap(), xmloff::token::GetXMLToken(), m_aActions, xmloff::token::XML_N_CHART, xmloff::token::XML_N_CHART_OOO, xmloff::token::XML_N_CONFIG, xmloff::token::XML_N_CONFIG_OOO, xmloff::token::XML_N_DLG, xmloff::token::XML_N_DR3D, xmloff::token::XML_N_DR3D_OOO, xmloff::token::XML_N_DRAW, xmloff::token::XML_N_DRAW_OOO, xmloff::token::XML_N_FORM, xmloff::token::XML_N_FORM_OOO, xmloff::token::XML_N_META, xmloff::token::XML_N_META_OOO, xmloff::token::XML_N_NUMBER, xmloff::token::XML_N_NUMBER_OOO, xmloff::token::XML_N_OFFICE, xmloff::token::XML_N_OFFICE_OOO, xmloff::token::XML_N_PRESENTATION, xmloff::token::XML_N_PRESENTATION_OOO, xmloff::token::XML_N_SCRIPT, xmloff::token::XML_N_SCRIPT_OOO, xmloff::token::XML_N_STYLE, xmloff::token::XML_N_STYLE_OOO, xmloff::token::XML_N_TABLE, xmloff::token::XML_N_TABLE_OOO, xmloff::token::XML_N_TEXT, xmloff::token::XML_N_TEXT_OOO, XML_NAMESPACE_CHART, XML_NAMESPACE_CONFIG, XML_NAMESPACE_DLG, XML_NAMESPACE_DR3D, XML_NAMESPACE_DRAW, XML_NAMESPACE_FO, XML_NAMESPACE_FORM, XML_NAMESPACE_META, XML_NAMESPACE_NUMBER, XML_NAMESPACE_OFFICE, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_SCRIPT, XML_NAMESPACE_STYLE, XML_NAMESPACE_SVG, XML_NAMESPACE_TABLE, XML_NAMESPACE_TEXT, xmloff::token::XML_NP_CHART, xmloff::token::XML_NP_CONFIG, xmloff::token::XML_NP_DLG, xmloff::token::XML_NP_DR3D, xmloff::token::XML_NP_DRAW, xmloff::token::XML_NP_FO, xmloff::token::XML_NP_FORM, xmloff::token::XML_NP_META, xmloff::token::XML_NP_NUMBER, xmloff::token::XML_NP_OFFICE, xmloff::token::XML_NP_PRESENTATION, xmloff::token::XML_NP_SCRIPT, xmloff::token::XML_NP_STYLE, xmloff::token::XML_NP_SVG, xmloff::token::XML_NP_TABLE, and xmloff::token::XML_NP_TEXT.

◆ ~Oasis2OOoTransformer()

Oasis2OOoTransformer::~Oasis2OOoTransformer ( )
overridevirtualnoexcept

Member Function Documentation

◆ CreateUserDefinedContext()

XMLTransformerContext * Oasis2OOoTransformer::CreateUserDefinedContext ( const TransformerAction_Impl rAction,
const OUString &  rQName,
bool  bPersistent = false 
)
overrideprotectedvirtual

◆ GetEventName()

OUString Oasis2OOoTransformer::GetEventName ( const OUString &  rName,
bool  bForm = false 
)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL Oasis2OOoTransformer::getImplementationName ( )
overridevirtual

Definition at line 1872 of file Oasis2OOo.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL Oasis2OOoTransformer::getSupportedServiceNames ( )
overridevirtual

Definition at line 1882 of file Oasis2OOo.cxx.

◆ GetUserDefinedActions()

XMLTransformerActions * Oasis2OOoTransformer::GetUserDefinedActions ( sal_uInt16  n)
overrideprotectedvirtual

Reimplemented from XMLTransformerBase.

Definition at line 1578 of file Oasis2OOo.cxx.

References aAlphabeticalIndexMarkActionTable, aAnimationActionTable, aAnnotationActionTable, aBackgroundImageActionTable, aChangeInfoActionTable, aChartActionTable, aColumnsActionTable, aConfigItemSetActionTable, aConnectorActionTable, aContentValidationActionTable, aDataPilotLevelActionTable, aDataPilotMemberActionTable, aDateTimeActionTable, aDDEConnectionDeclActionTable, aDDEConvModeActionTable, aDlgActionTable, aDrawAreaPolygonActionTable, aDropCapActionTable, aEventActionTable, aFontFaceActionTable, aFootnoteSepActionTable, aFormActionTable, aFormColumnActionTable, aFormControlActionTable, aFormPropActionTable, aFormulaActionTable, aFrameActionTable, aIndexEntryTabStopActionTable, aLineNumberingActionTable, aListStyleRefActionTable, aMapStyleRefActionTable, aMasterPageActionTable, aMasterPageRefActionTable, aNotesActionTable, aParaActionTable, aParaStyleRefActionTable, aScriptActionTable, aShapeActionTable, aSourceServiceActionTable, aStyleActionTable, aTableStyleRefActionTable, aTableValueTypeActionTable, aTabStopActionTable, aTextStyleRefActionTable, aTextValueTypeActionTable, aXLinkActionTable, XMLStyleOASISTContext::CreateTransformerActions(), m_aActions, MAX_OASIS_ACTIONS, MAX_OASIS_PROP_ACTIONS, n, OASIS_ALPHABETICAL_INDEX_MARK_ACTIONS, OASIS_ANIMATION_ACTIONS, OASIS_ANNOTATION_ACTIONS, OASIS_BACKGROUND_IMAGE_ACTIONS, OASIS_CHANGE_INFO_ACTIONS, OASIS_CHART_ACTIONS, OASIS_COLUMNS_ACTIONS, OASIS_CONFIG_ITEM_SET_ACTIONS, OASIS_CONNECTOR_ACTIONS, OASIS_CONTENT_VALIDATION_ACTIONS, OASIS_DATAPILOT_LEVEL_ACTIONS, OASIS_DATAPILOT_MEMBER_ACTIONS, OASIS_DATETIME_ACTIONS, OASIS_DDE_CONNECTION_DECL_ACTIONS, OASIS_DDE_CONV_MODE_ACTIONS, OASIS_DLG_ACTIONS, OASIS_DRAW_AREA_POLYGON_ACTIONS, OASIS_DROP_CAP_ACTIONS, OASIS_EVENT_ACTIONS, OASIS_FONT_FACE_ACTIONS, OASIS_FOOTNOTE_SEP_ACTIONS, OASIS_FORM_ACTIONS, OASIS_FORM_COLUMN_ACTIONS, OASIS_FORM_CONTROL_ACTIONS, OASIS_FORM_PROP_ACTIONS, OASIS_FORMULA_ACTIONS, OASIS_FRAME_ELEM_ACTIONS, OASIS_INDEX_ENTRY_TAB_STOP_ACTIONS, OASIS_LINENUMBERING_ACTIONS, OASIS_LIST_STYLE_REF_ACTIONS, OASIS_MAP_STYLE_REF_ACTIONS, OASIS_MASTER_PAGE_ACTIONS, OASIS_MASTER_PAGE_REF_ACTIONS, OASIS_NOTES_ACTIONS, OASIS_PARA_ACTIONS, OASIS_PARA_STYLE_REF_ACTIONS, OASIS_SCRIPT_ACTIONS, OASIS_SHAPE_ACTIONS, OASIS_SOURCE_SERVICE_ACTIONS, OASIS_STYLE_ACTIONS, OASIS_TAB_STOP_ACTIONS, OASIS_TABLE_STYLE_REF_ACTIONS, OASIS_TABLE_VALUE_TYPE_ACTIONS, OASIS_TEXT_STYLE_REF_ACTIONS, OASIS_TEXT_VALUE_TYPE_ACTIONS, and OASIS_XLINK_ACTIONS.

◆ supportsService()

sal_Bool SAL_CALL Oasis2OOoTransformer::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1877 of file Oasis2OOo.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aActions

std::unique_ptr<XMLTransformerActions> Oasis2OOoTransformer::m_aActions[MAX_OASIS_ACTIONS]
private

◆ m_pEventMap

XMLTransformerOASISEventMap_Impl* Oasis2OOoTransformer::m_pEventMap
private

Definition at line 30 of file Oasis2OOo.hxx.

Referenced by GetEventName(), and ~Oasis2OOoTransformer().

◆ m_pFormEventMap

XMLTransformerOASISEventMap_Impl* Oasis2OOoTransformer::m_pFormEventMap
private

Definition at line 31 of file Oasis2OOo.hxx.

Referenced by GetEventName(), and ~Oasis2OOoTransformer().


The documentation for this class was generated from the following files: