LibreOffice Module comphelper (master)  1
Namespaces | Macros | Functions
ofopxmlhelper.cxx File Reference
#include <comphelper/ofopxmlhelper.hxx>
#include <comphelper/attributelist.hxx>
#include <cppuhelper/implbase.hxx>
#include <rtl/ref.hxx>
#include <com/sun/star/beans/StringPair.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <vector>
Include dependency graph for ofopxmlhelper.cxx:

Go to the source code of this file.

Namespaces

 comphelper
 
 comphelper::OFOPXMLHelper
 

Macros

#define RELATIONINFO_FORMAT   0
 
#define CONTENTTYPE_FORMAT   1
 
#define FORMAT_MAX_ID   CONTENTTYPE_FORMAT
 

Functions

static uno::Sequence< uno::Sequence< beans::StringPair > > comphelper::OFOPXMLHelper::ReadSequence_Impl (const uno::Reference< io::XInputStream > &xInStream, const OUString &aStringID, sal_uInt16 nFormat, const uno::Reference< uno::XComponentContext > &xContext)
 
uno::Sequence< uno::Sequence< beans::StringPair > > comphelper::OFOPXMLHelper::ReadRelationsInfoSequence (const uno::Reference< io::XInputStream > &xInStream, std::u16string_view aStreamName, const uno::Reference< uno::XComponentContext > &rContext)
 
uno::Sequence< uno::Sequence< beans::StringPair > > comphelper::OFOPXMLHelper::ReadContentTypeSequence (const uno::Reference< io::XInputStream > &xInStream, const uno::Reference< uno::XComponentContext > &rContext)
 
OUString comphelper::OFOPXMLHelper::GetContentTypeByName (const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair >> &rContentTypes, const OUString &rFilename)
 
void comphelper::OFOPXMLHelper::WriteRelationsInfoSequence (const uno::Reference< io::XOutputStream > &xOutStream, const uno::Sequence< uno::Sequence< beans::StringPair > > &aSequence, const uno::Reference< uno::XComponentContext > &rContext)
 
void comphelper::OFOPXMLHelper::WriteContentSequence (const uno::Reference< io::XOutputStream > &xOutStream, const uno::Sequence< beans::StringPair > &aDefaultsSequence, const uno::Sequence< beans::StringPair > &aOverridesSequence, const uno::Reference< uno::XComponentContext > &rContext)
 
constexpr OUStringLiteral comphelper::g_aRelListElement (u"Relationships")
 
constexpr OUStringLiteral comphelper::g_aRelElement (u"Relationship")
 
constexpr OUStringLiteral comphelper::g_aIDAttr (u"Id")
 
constexpr OUStringLiteral comphelper::g_aTypeAttr (u"Type")
 
constexpr OUStringLiteral comphelper::g_aTargetModeAttr (u"TargetMode")
 
constexpr OUStringLiteral comphelper::g_aTargetAttr (u"Target")
 
constexpr OUStringLiteral comphelper::g_aTypesElement (u"Types")
 
constexpr OUStringLiteral comphelper::g_aDefaultElement (u"Default")
 
constexpr OUStringLiteral comphelper::g_aOverrideElement (u"Override")
 
constexpr OUStringLiteral comphelper::g_aExtensionAttr (u"Extension")
 
constexpr OUStringLiteral comphelper::g_aPartNameAttr (u"PartName")
 
constexpr OUStringLiteral comphelper::g_aContentTypeAttr (u"ContentType")
 

Macro Definition Documentation

#define CONTENTTYPE_FORMAT   1
#define FORMAT_MAX_ID   CONTENTTYPE_FORMAT

Definition at line 37 of file ofopxmlhelper.cxx.

Referenced by comphelper::OFOPXMLHelper::ReadSequence_Impl().

#define RELATIONINFO_FORMAT   0

Variable Documentation

std::vector< OUString > m_aElementsSeq

Definition at line 52 of file ofopxmlhelper.cxx.

css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > m_aResultSeq

Definition at line 51 of file ofopxmlhelper.cxx.

sal_uInt16 const m_nFormat

Definition at line 49 of file ofopxmlhelper.cxx.