LibreOffice Module xmloff (master) 1
|
#include <sal/config.h>
#include <set>
#include <stack>
#include <string_view>
#include <o3tl/deleter.hxx>
#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/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <utility>
#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 <optional>
Go to the source code of this file.
Classes | |
struct | o3tl::typed_flags< SvXMLImportFlags > |
class | SvXMLImportFastNamespaceHandler |
struct | SvXMLImportFastNamespaceHandler::NamespaceDefine |
class | SvXMLLegacyToFastDocHandler |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
#file | |
namespace | com::sun::star::beans |
namespace | com::sun::star::document |
namespace | com::sun::star::embed |
namespace | com::sun::star::graphic |
namespace | com::sun::star::task |
namespace | com::sun::star::uno |
namespace | com::sun::star::util |
namespace | com::sun::star::xml |
namespace | com::sun::star::xml::sax |
namespace | com::sun::star::frame |
namespace | com::sun::star::io |
namespace | com::sun::star::rdf |
namespace | comphelper |
namespace | xmloff |
namespace | xmloff::token |
Handling of tokens in XML: | |
namespace | o3tl |
Macros | |
#define | XML_ELEMENT(prefix, name) ( NAMESPACE_TOKEN(XML_NAMESPACE_##prefix) | name ) |
Enumerations | |
enum class | SvXMLImportFlags { NONE = 0x0000 , META = 0x0001 , STYLES = 0x0002 , MASTERSTYLES = 0x0004 , AUTOSTYLES = 0x0008 , CONTENT = 0x0010 , SCRIPTS = 0x0020 , SETTINGS = 0x0040 , FONTDECLS = 0x0080 , EMBEDDED = 0x0100 , 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 |
#define XML_ELEMENT | ( | prefix, | |
name | |||
) | ( NAMESPACE_TOKEN(XML_NAMESPACE_##prefix) | name ) |
Definition at line 97 of file xmlimp.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
META | |
STYLES | |
MASTERSTYLES | |
AUTOSTYLES | |
CONTENT | |
SCRIPTS | |
SETTINGS | |
FONTDECLS | |
EMBEDDED | |
ALL |
Definition at line 111 of file xmlimp.hxx.
|
constexpr |
Definition at line 104 of file xmlimp.hxx.
References NMSP_MASK, NMSP_SHIFT, and nToken.
Referenced by xmloff::BasicLibrariesElement::createFastChildContext(), xmloff::BasicEmbeddedLibraryElement::createFastChildContext(), xmloff::BasicModuleElement::createFastChildContext(), XMLPropStyleContext::createFastChildContext(), XMLTextStyleContext::createFastChildContext(), XMLGraphicsDefaultStyle::createFastChildContext(), XMLShapeStyleContext::createFastChildContext(), XMLTextShapeStyleContext::createFastChildContext(), XMLVariableDeclsImportContext::createFastChildContext(), XMLChartStyleContext::createFastChildContext(), SdXMLTableShapeContext::createFastChildContext(), XMLTextFrameContext::createFastChildContext(), XMLIndexTemplateContext::createFastChildContext(), xmloff::OControlImport::handleAttribute(), SvXMLImportPropertyMapper::importXML(), xmloff::AnimationNodeContext::init_node(), SdXMLTableShapeContext::processAttribute(), SdXML3DSceneAttributesHelper::processSceneAttribute(), SchXMLPositionAttributesHelper::readPositioningAttribute(), XMLBibliographyFieldImportContext::startFastElement(), and XMLIndexTOCContext::XMLIndexTOCContext().
|
constexpr |
Definition at line 99 of file xmlimp.hxx.
References NMSP_SHIFT.
Referenced by xmloff::BasicLibrariesElement::createFastChildContext(), xmloff::BasicEmbeddedLibraryElement::createFastChildContext(), SvXMLLegacyToFastDocHandler::endElement(), and SvXMLLegacyToFastDocHandler::startElement().
|
constexpr |
Definition at line 92 of file xmlimp.hxx.
|
constexpr |
Definition at line 95 of file xmlimp.hxx.
Referenced by IsTokenInNamespace().
|
constexpr |
Definition at line 93 of file xmlimp.hxx.
Referenced by xmloff::metadata::getAttributeDescription(), XMLPropertySetMapper::GetEntryIndex(), DomBuilderContext::HandleAttributes(), IsTokenInNamespace(), lcl_createElement(), and NAMESPACE_TOKEN().
|
constexpr |
Definition at line 94 of file xmlimp.hxx.
Referenced by xmloff::AnimationNodeContext::AnimationNodeContext(), xmloff::OFormLayerXMLImport_Impl::createContext(), xmloff::BasicLibrariesElement::createFastChildContext(), xmloff::BasicEmbeddedLibraryElement::createFastChildContext(), xmloff::BasicModuleElement::createFastChildContext(), XMLPropStyleContext::createFastChildContext(), XMLTextStyleContext::createFastChildContext(), XMLGraphicsDefaultStyle::createFastChildContext(), XMLShapeStyleContext::createFastChildContext(), XMLTextShapeStyleContext::createFastChildContext(), XMLChartStyleContext::createFastChildContext(), XMLLabelSeparatorContext::createFastChildContext(), XMLSymbolImageContext::createFastChildContext(), SdXMLFrameShapeContext::createFastChildContext(), xmloff::OListAndComboImport::createFastChildContext(), xmloff::OColumnWrapperImport::createFastChildContext(), xmloff::OGridImport::createFastChildContext(), xmloff::OFormImport::createFastChildContext(), xmloff::OPropertyImport::createFastChildContext(), xmloff::OPropertyElementsContext::createFastChildContext(), xmloff::OListPropertyContext::createFastChildContext(), XMLTextFrameContext::createFastChildContext(), xmloff::OPropertyImport::encounteredAttribute(), SdXMLDescriptionContext::endFastElement(), SdXMLHeaderFooterDeclContext::endFastElement(), xmloff::metadata::getAttributeDescription(), xmloff::OAttribute2Property::getAttributeTranslation(), xmloff::OElementNameMap::getElementType(), SchemaRestrictionContext::HandleAttribute(), SchemaSimpleTypeContext::HandleAttribute(), XFormsBindContext::HandleAttribute(), XFormsInstanceContext::HandleAttribute(), XFormsModelContext::HandleAttribute(), XFormsSubmissionContext::HandleAttribute(), xmloff::OPropertyImport::handleAttribute(), xmloff::OElementImport::handleAttribute(), xmloff::OControlImport::handleAttribute(), xmloff::OImagePositionImport::handleAttribute(), xmloff::OReferredControlImport::handleAttribute(), xmloff::OPasswordImport::handleAttribute(), xmloff::ORadioImport::handleAttribute(), xmloff::OURLReferenceImport::handleAttribute(), xmloff::OValueRangeImport::handleAttribute(), xmloff::OListAndComboImport::handleAttribute(), xmloff::OFormImport::handleAttribute(), SchemaRestrictionContext::HandleChild(), xmloff::OAttribute2Property::implAdd(), XMLMarkerStyleImport::importXML(), XMLBibliographyFieldImportContext::MapBibliographyFieldName(), SdXMLTableShapeContext::processAttribute(), SdXML3DSceneAttributesHelper::processSceneAttribute(), SchXMLPositionAttributesHelper::readPositioningAttribute(), SdXMLMasterPageContext::SdXMLMasterPageContext(), SdXMLNumberFormatImportContext::SdXMLNumberFormatImportContext(), XMLShapeStyleContext::SetAttribute(), XMLChartStyleContext::SetAttribute(), xmloff::OElementImport::simulateDefaultedAttribute(), xmloff::OPropertyImport::startFastElement(), XMLBibliographyFieldImportContext::startFastElement(), XMLSectionImportContext::startFastElement(), XMLTextMarkImportContext::startFastElement(), and SvxXMLListLevelStyleContext_Impl::SvxXMLListLevelStyleContext_Impl().