LibreOffice Module xmloff (master)  1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
xmlimp.hxx File Reference
#include <sal/config.h>
#include <set>
#include <stack>
#include <xmloff/dllapi.h>
#include <sal/types.h>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XFastParser.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <xmloff/txtimp.hxx>
#include <xmloff/shapeimport.hxx>
#include <xmloff/SchXMLImportHelper.hxx>
#include <cppuhelper/implbase.hxx>
#include <xmloff/formlayerimport.hxx>
#include <sax/fastattribs.hxx>
#include <rtl/ustring.hxx>
#include <unordered_map>
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
#include <o3tl/typed_flags_set.hxx>
#include <memory>
Include dependency graph for xmlimp.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SvXMLImportFlags >
 
class  SvXMLImportFastNamespaceHandler
 
struct  SvXMLImportFastNamespaceHandler::NamespaceDefine
 
class  SvXMLLegacyToFastDocHandler
 
class  SvXMLImport
 

Namespaces

 com::sun::star::beans
 
 com::sun::star::document
 
 com::sun::star::embed
 
 com::sun::star::graphic
 
 com::sun::star::task
 
 com::sun::star::uno
 
 com::sun::star::util
 
 com::sun::star::xml::sax
 
 com::sun::star
 #file
 
 com::sun::star::frame
 
 com::sun::star::io
 
 com::sun::star::rdf
 
 comphelper
 
 xmloff
 
 xmloff::token
 Handling of tokens in XML:
 
 o3tl
 

Macros

#define XML_ELEMENT(prefix, name)   ( NAMESPACE_TOKEN(XML_NAMESPACE_##prefix) | name )
 

Enumerations

enum  SvXMLImportFlags {
  SvXMLImportFlags::NONE = 0x0000,
  SvXMLImportFlags::META = 0x0001,
  SvXMLImportFlags::STYLES = 0x0002,
  SvXMLImportFlags::MASTERSTYLES = 0x0004,
  SvXMLImportFlags::AUTOSTYLES = 0x0008,
  SvXMLImportFlags::CONTENT = 0x0010,
  SvXMLImportFlags::SCRIPTS = 0x0020,
  SvXMLImportFlags::SETTINGS = 0x0040,
  SvXMLImportFlags::FONTDECLS = 0x0080,
  SvXMLImportFlags::EMBEDDED = 0x0100,
  SvXMLImportFlags::ALL = 0xffff
}
 

Functions

constexpr sal_Int32 NAMESPACE_TOKEN (sal_uInt16 prefixToken)
 
constexpr bool IsTokenInNamespace (sal_Int32 nToken, sal_uInt16 nNamespacePrefix)
 

Variables

constexpr sal_Int32 LAST_NAMESPACE = 121
 
constexpr size_t NMSP_SHIFT = 16
 
constexpr sal_Int32 TOKEN_MASK = 0xffff
 
constexpr sal_Int32 NMSP_MASK = 0xffff0000
 

Macro Definition Documentation

#define XML_ELEMENT (   prefix,
  name 
)    ( NAMESPACE_TOKEN(XML_NAMESPACE_##prefix) | name )

Definition at line 94 of file xmlimp.hxx.

Referenced by SvXMLNumFmtHelper::CreateChildContext(), SdXMLDrawPageContext::createFastChildContext(), XMLScriptContext::createFastChildContext(), SvxXMLTabStopImportContext::createFastChildContext(), XMLTextShapeStyleContext::createFastChildContext(), PageStyleContext::createFastChildContext(), SdXMLShowsContext::createFastChildContext(), XMLDocumentSettingsContext::createFastChildContext(), PageHeaderFooterContext::createFastChildContext(), XMLTextColumnsContext::createFastChildContext(), SvXMLMetaDocumentContext::createFastChildContext(), xmloff::BasicLibrariesElement::createFastChildContext(), SchXMLDocContext::createFastChildContext(), SvxXMLListStyleContext::createFastChildContext(), SdXMLBodyContext::createFastChildContext(), XMLTextMasterPageContext::createFastChildContext(), XMLBackgroundImageContext::createFastChildContext(), XMLTextStyleContext::createFastChildContext(), XMLFontStyleContextFontFace::createFastChildContext(), XMLFootnoteConfigurationImportContext::createFastChildContext(), XMLIndexBibliographyConfigurationContext::createFastChildContext(), SdXMLGenericPageContext::createFastChildContext(), SchXMLFlatDocContext_Impl::createFastChildContext(), XMLFontStyleContextFontFaceSrc::createFastChildContext(), XMLVersionListContext::createFastChildContext(), XMLLineNumberingImportContext::createFastChildContext(), XMLBitmapStyleContext::createFastChildContext(), SdXMLPageMasterContext::createFastChildContext(), XMLFontStyleContextFontFaceUri::createFastChildContext(), SdXMLMasterPageContext::createFastChildContext(), XMLEventsImportContext::createFastChildContext(), SdXMLPresentationPageLayoutContext::createFastChildContext(), SvXMLNumFormatContext::createFastChildContext(), SvxXMLListLevelStyleContext_Impl::createFastChildContext(), SdXMLMasterStylesContext::createFastChildContext(), XMLVersionListImport::CreateFastContext(), XMLAutoTextEventImport::CreateFastContext(), SdXMLImport::CreateFastContext(), SchXMLImport::CreateFastContext(), CreateSettingsContext(), XMLTextMasterStylesContext::CreateStyleChildContext(), XMLFontStylesContext::CreateStyleChildContext(), SvXMLStylesContext::CreateStyleChildContext(), SdXMLStylesContext::CreateStyleChildContext(), XMLStringBufferImportContext::endFastElement(), SvXMLMetaDocumentContext::FinishMetaElement(), XMLTransGradientStyleImport::importXML(), xmloff::AnimationNodeContext::init_node(), XMLTextDropCapImportContext::ProcessAttrs(), XMLBackgroundImageContext::ProcessAttrs(), SchXMLBodyContext::SchXMLBodyContext(), SchXMLDocContext::SchXMLDocContext(), SdXMLDrawPageContext::SdXMLDrawPageContext(), SdXMLGenericPageContext::SdXMLGenericPageContext(), SdXMLHeaderFooterDeclContext::SdXMLHeaderFooterDeclContext(), SdXMLMasterPageContext::SdXMLMasterPageContext(), SdXMLNotesContext::SdXMLNotesContext(), SdXMLNumberFormatMemberImportContext::SdXMLNumberFormatMemberImportContext(), SdXMLPageMasterStyleContext::SdXMLPageMasterStyleContext(), SdXMLPresentationPlaceholderContext::SdXMLPresentationPlaceholderContext(), SdXMLShowsContext::SdXMLShowsContext(), XMLSymbolImageContext::startFastElement(), XMLSectionSourceDDEImportContext::startFastElement(), SvXMLMetaDocumentContext::startFastElement(), SchXMLParagraphContext::startFastElement(), XMLLineNumberingSeparatorImportContext::startFastElement(), XMLSectionFootnoteConfigImport::startFastElement(), XMLFootnoteSeparatorImport::startFastElement(), SvXMLImport::startFastElement(), SvxXMLListLevelStyleContext_Impl::SvxXMLListLevelStyleContext_Impl(), SvxXMLTabStopContext_Impl::SvxXMLTabStopContext_Impl(), XMLFootnoteConfigurationImportContext::XMLFootnoteConfigurationImportContext(), XMLTextColumnContext_Impl::XMLTextColumnContext_Impl(), XMLTextColumnsContext::XMLTextColumnsContext(), XMLTextColumnSepContext_Impl::XMLTextColumnSepContext_Impl(), XMLTextMasterPageContext::XMLTextMasterPageContext(), and XMLVersionContext::XMLVersionContext().

Enumeration Type Documentation

enum SvXMLImportFlags
strong
Enumerator
NONE 
META 
STYLES 
MASTERSTYLES 
AUTOSTYLES 
CONTENT 
SCRIPTS 
SETTINGS 
FONTDECLS 
EMBEDDED 
ALL 

Definition at line 108 of file xmlimp.hxx.

Function Documentation

constexpr bool IsTokenInNamespace ( sal_Int32  nToken,
sal_uInt16  nNamespacePrefix 
)
constexpr sal_Int32 NAMESPACE_TOKEN ( sal_uInt16  prefixToken)

Variable Documentation

constexpr sal_Int32 LAST_NAMESPACE = 121

Definition at line 89 of file xmlimp.hxx.

constexpr sal_Int32 NMSP_MASK = 0xffff0000
constexpr size_t NMSP_SHIFT = 16
constexpr sal_Int32 TOKEN_MASK = 0xffff