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

#include <XMLAutoTextEventImport.hxx>

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

Public Member Functions

 XMLAutoTextEventImport (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~XMLAutoTextEventImport () noexcept override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override
 
- Public Member Functions inherited from SvXMLImport
 SvXMLImport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, SvXMLImportFlags nImportFlags=SvXMLImportFlags::ALL, const css::uno::Sequence< OUString > &sSupportedServiceNames={})
 
void cleanup () noexcept
 
virtual ~SvXMLImport () noexcept override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL characters (const OUString &aChars) 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 startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL parseStream (const css::xml::sax::InputSource &aInputSource) override
 
virtual void SAL_CALL setFastDocumentHandler (const css::uno::Reference< css::xml::sax::XFastDocumentHandler > &Handler) override
 
virtual void SAL_CALL setTokenHandler (const css::uno::Reference< css::xml::sax::XFastTokenHandler > &Handler) override
 
virtual void SAL_CALL registerNamespace (const OUString &NamespaceURL, sal_Int32 NamespaceToken) override
 
virtual OUString SAL_CALL getNamespaceURL (const OUString &rPrefix) override
 
virtual void SAL_CALL setErrorHandler (const css::uno::Reference< css::xml::sax::XErrorHandler > &Handler) override
 
virtual void SAL_CALL setEntityResolver (const css::uno::Reference< css::xml::sax::XEntityResolver > &Resolver) override
 
virtual void SAL_CALL setLocale (const css::lang::Locale &rLocale) override
 
virtual void SAL_CALL setNamespaceHandler (const css::uno::Reference< css::xml::sax::XFastNamespaceHandler > &Handler) override
 
virtual void SAL_CALL setCustomEntityNames (const ::css::uno::Sequence< ::css::beans::Pair<::rtl::OUString, ::rtl::OUString > > &replacements) override
 
virtual void SAL_CALL setTargetDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual OUString SAL_CALL getImplementationName () final override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) final override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () final override
 
virtual void SetStatistics (const css::uno::Sequence< css::beans::NamedValue > &i_rStats)
 
rtl::Reference< XMLTextImportHelper > const & GetTextImport ()
 
bool HasTextImport () const
 
SvXMLNumFmtHelperGetDataStylesImport ()
 
rtl::Reference< XMLShapeImportHelper > const & GetShapeImport ()
 
rtl::Reference< SchXMLImportHelper > const & GetChartImport ()
 
rtl::Reference< ::xmloff::OFormLayerXMLImport > const & GetFormImport ()
 
const css::uno::Reference< css::beans::XPropertySet > & getImportInfo () const
 
XMLEventImportHelperGetEventImport ()
 
SvXMLNamespaceMapGetNamespaceMap ()
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
const css::uno::Reference< css::xml::sax::XLocator > & GetLocator () const
 
const css::uno::Reference< css::frame::XModel > & GetModel () const
 
const css::uno::Reference< css::container::XNameContainer > & GetGradientHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetHatchHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetBitmapHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetTransGradientHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetMarkerHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetDashHelper ()
 
css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier ()
 
void SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier)
 
css::uno::Reference< css::graphic::XGraphic > loadGraphicByURL (OUString const &rURL)
 
css::uno::Reference< css::graphic::XGraphic > loadGraphicFromBase64 (css::uno::Reference< css::io::XOutputStream > const &rxOutputStream)
 
css::uno::Reference< css::io::XOutputStream > GetStreamForGraphicObjectURLFromBase64 () const
 
bool IsPackageURL (const OUString &rURL) const
 
OUString ResolveEmbeddedObjectURL (const OUString &rURL, std::u16string_view rClassId)
 
css::uno::Reference< css::io::XOutputStream > GetStreamForEmbeddedObjectURLFromBase64 () const
 
OUString ResolveEmbeddedObjectURLFromBase64 ()
 
css::uno::Reference< css::embed::XStorage > const & GetSourceStorage () const
 
void AddStyleDisplayName (XmlStyleFamily nFamily, const OUString &rName, const OUString &rDisplayName)
 
OUString GetStyleDisplayName (XmlStyleFamily nFamily, const OUString &rName) const
 
ProgressBarHelperGetProgressBarHelper ()
 
void AddNumberStyle (sal_Int32 nKey, const OUString &sName)
 
virtual void SetViewSettings (const css::uno::Sequence< css::beans::PropertyValue > &aViewProps)
 
virtual void SetConfigurationSettings (const css::uno::Sequence< css::beans::PropertyValue > &aConfigProps)
 
virtual void SetDocumentSpecificSettings (const OUString &_rSettingsGroupName, const css::uno::Sequence< css::beans::PropertyValue > &_rSettings)
 
XMLFontStylesContextGetFontDecls ()
 
SvXMLStylesContextGetStyles ()
 
SvXMLStylesContextGetAutoStyles ()
 
const XMLFontStylesContextGetFontDecls () const
 
const SvXMLStylesContextGetStyles () const
 
const SvXMLStylesContextGetAutoStyles () const
 
SvXMLImportFlags getImportFlags () const
 
bool IsFormsSupported () const
 
OUString GetAbsoluteReference (const OUString &rValue) const
 
sal_Unicode ConvStarBatsCharToStarSymbol (sal_Unicode c)
 
sal_Unicode ConvStarMathCharToStarSymbol (sal_Unicode c)
 
bool IsTableShapeSupported () const
 
OUString GetODFVersion () const
 
bool IsOOoXML () const
 
bool IsMSO () const
 Determines if the document was generated by Microsoft Office. More...
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator)
 Record an error condition that occurred during import. More...
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams={})
 
void SetError (sal_Int32 nId, const OUString &rMsg1)
 
virtual void DisposingModel ()
 
::comphelper::UnoInterfaceToUniqueIdentifierMappergetInterfaceToIdentifierMapper ()
 
css::uno::Reference< css::uno::XComponentContext > const & GetComponentContext () const
 
bool IsShapePositionInHoriL2R () const
 
bool IsTextDocInOOoFileFormat () const
 
OUString GetBaseURL () const
 
OUString GetDocumentBase () const
 
void SetXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc, OUString const &i_rXmlId)
 set the XmlId attribute of given UNO object (for RDF metadata) More...
 
void AddRDFa (const css::uno::Reference< css::rdf::XMetadatable > &i_xObject, OUString const &i_rAbout, OUString const &i_rProperty, OUString const &i_rContent, OUString const &i_rDatatype)
 Add a RDFa statement; parameters are XML attribute values. More...
 
SAL_DLLPRIVATE::xmloff::RDFaImportHelper & GetRDFaImportHelper ()
 do not dllexport this; only for advanced cases (bookmark-start) More...
 
virtual void initXForms ()
 
bool getBuildIds (sal_Int32 &rUPD, sal_Int32 &rBuild) const
 returns the upd and build id (f.e. More...
 
bool isGeneratorVersionOlderThan (sal_uInt16 const nOOoVersion, sal_uInt16 const nLOVersion)
 depending on whether the generator version indicates LO, compare against either the given LO or given OOo version More...
 
sal_uInt16 getGeneratorVersion () const
 this checks the build ID and returns More...
 
bool embeddedFontAlreadyProcessed (const OUString &url)
 Returns true if the embedded font document URL has already been processed. More...
 
bool addEmbeddedFont (const css::uno::Reference< css::io::XInputStream > &stream, const OUString &fontName, const char *extra, std::vector< unsigned char > const &key, bool eot)
 
virtual void NotifyContainsEmbeddedFont ()
 
void NotifyMacroEventRead ()
 
bool needFixPositionAfterZ () const
 

Protected Member Functions

virtual SvXMLImportContextCreateFastContext (sal_Int32 Element, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList) override
 
- Protected Member Functions inherited from SvXMLImport
virtual SvXMLImportContextCreateFastContext (sal_Int32 Element, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList)
 
virtual XMLTextImportHelperCreateTextImport ()
 
void ClearTextImport ()
 
virtual XMLShapeImportHelperCreateShapeImport ()
 
bool HasShapeImport () const
 
void ClearShapeImport ()
 
::xmloff::OFormLayerXMLImportCreateFormImport ()
 
void SetFontDecls (XMLFontStylesContext *pFontDecls)
 
void SetStyles (SvXMLStylesContext *pStyles)
 
void SetAutoStyles (SvXMLStylesContext *pAutoStyles)
 
void SetMasterStyles (SvXMLStylesContext *pMasterStyles)
 
bool IsODFVersionConsistent (const OUString &aODFVersion)
 
const css::uno::Reference< css::document::XEmbeddedObjectResolver > & GetEmbeddedResolver () const
 
void SetEmbeddedResolver (css::uno::Reference< css::document::XEmbeddedObjectResolver > const &_xEmbeddedResolver)
 
const css::uno::Reference< css::document::XGraphicStorageHandler > & GetGraphicStorageHandler () const
 
void SetGraphicStorageHandler (css::uno::Reference< css::document::XGraphicStorageHandler > const &rxGraphicStorageHandler)
 
void CreateNumberFormatsSupplier_ ()
 
void CreateDataStylesImport_ ()
 

Private Attributes

css::uno::Reference< css::container::XNameReplace > xEvents
 

Additional Inherited Members

- Static Public Member Functions inherited from SvXMLImport
static std::optional< SvXMLNamespaceMapprocessNSAttributes (std::optional< SvXMLNamespaceMap > &rpNamespaceMap, SvXMLImport *const pImport, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId () noexcept
 
static const OUString & getNameFromToken (sal_Int32 nToken)
 
static OUString getPrefixAndNameFromToken (sal_Int32 nToken)
 
static OUString getNamespacePrefixFromToken (sal_Int32 nToken, const SvXMLNamespaceMap *pMap)
 
static OUString getNamespaceURIFromToken (sal_Int32 nToken)
 
static OUString getNamespacePrefixFromURI (const OUString &rURI)
 
static sal_Int32 getTokenFromName (const OUString &sName)
 
- Static Public Attributes inherited from SvXMLImport
static constexpr OUStringLiteral aNamespaceSeparator = u":"
 
static const sal_uInt16 OOo_1x = 10
 
static const sal_uInt16 OOo_2x = 20
 
static const sal_uInt16 OOo_30x = 30
 
static const sal_uInt16 OOo_31x = 31
 
static const sal_uInt16 OOo_32x = 32
 
static const sal_uInt16 OOo_33x = 33
 
static const sal_uInt16 OOo_34x = 34
 
static const sal_uInt16 AOO_40x = 40
 
static const sal_uInt16 AOO_4x = 41
 
static const sal_uInt16 LO_flag = 0x100
 
static const sal_uInt16 LO_3x = 30 | LO_flag
 
static const sal_uInt16 LO_41x = 41 | LO_flag
 
static const sal_uInt16 LO_42x = 42 | LO_flag
 
static const sal_uInt16 LO_43x = 43 | LO_flag
 
static const sal_uInt16 LO_44x = 44 | LO_flag
 
static const sal_uInt16 LO_5x = 50 | LO_flag
 
static const sal_uInt16 LO_6x = 60 | LO_flag
 @ATTENTION: when adding a new value more specific than "6x", grep for all current uses and adapt them!!! More...
 
static const sal_uInt16 LO_63x = 63 | LO_flag
 
static const sal_uInt16 LO_7x = 70 | LO_flag
 
static const sal_uInt16 ProductVersionUnknown = SAL_MAX_UINT16
 
- Static Protected Member Functions inherited from SvXMLImport
static SchXMLImportHelperCreateChartImport ()
 
- Protected Attributes inherited from SvXMLImport
bool mbIsFormsSupported
 
bool mbIsTableShapeSupported
 
bool mbNotifyMacroEventRead
 

Detailed Description

Definition at line 38 of file XMLAutoTextEventImport.hxx.

Constructor & Destructor Documentation

◆ XMLAutoTextEventImport()

XMLAutoTextEventImport::XMLAutoTextEventImport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)
explicit

Definition at line 43 of file XMLAutoTextEventImport.cxx.

◆ ~XMLAutoTextEventImport()

XMLAutoTextEventImport::~XMLAutoTextEventImport ( )
overridevirtualnoexcept

Definition at line 49 of file XMLAutoTextEventImport.cxx.

Member Function Documentation

◆ CreateFastContext()

SvXMLImportContext * XMLAutoTextEventImport::CreateFastContext ( sal_Int32  Element,
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprotectedvirtual

Reimplemented from SvXMLImport.

Definition at line 77 of file XMLAutoTextEventImport.cxx.

References xEvents, xmloff::token::XML_AUTO_TEXT_EVENTS, and XML_ELEMENT.

◆ initialize()

void XMLAutoTextEventImport::initialize ( const css::uno::Sequence< css::uno::Any > &  rArguments)
overridevirtual

Reimplemented from SvXMLImport.

Definition at line 51 of file XMLAutoTextEventImport.cxx.

References DBG_ASSERT, SvXMLImport::initialize(), and xEvents.

Member Data Documentation

◆ xEvents

css::uno::Reference<css::container::XNameReplace> XMLAutoTextEventImport::xEvents
private

Definition at line 40 of file XMLAutoTextEventImport.hxx.

Referenced by CreateFastContext(), and initialize().


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