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 <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, const OUString &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)
 
static OUString const comphelper::g_aRelListElement ("Relationships")
 
static OUString const comphelper::g_aRelElement ("Relationship")
 
static OUString const comphelper::g_aIDAttr ("Id")
 
static OUString const comphelper::g_aTypeAttr ("Type")
 
static OUString const comphelper::g_aTargetModeAttr ("TargetMode")
 
static OUString const comphelper::g_aTargetAttr ("Target")
 
static OUString const comphelper::g_aTypesElement ("Types")
 
static OUString const comphelper::g_aDefaultElement ("Default")
 
static OUString const comphelper::g_aOverrideElement ("Override")
 
static OUString const comphelper::g_aExtensionAttr ("Extension")
 
static OUString const comphelper::g_aPartNameAttr ("PartName")
 
static OUString const comphelper::g_aContentTypeAttr ("ContentType")
 

Macro Definition Documentation

#define CONTENTTYPE_FORMAT   1
#define FORMAT_MAX_ID   CONTENTTYPE_FORMAT

Definition at line 36 of file ofopxmlhelper.cxx.

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

#define RELATIONINFO_FORMAT   0

Variable Documentation

std::vector< OUString > m_aElementsSeq

Definition at line 51 of file ofopxmlhelper.cxx.

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

Definition at line 50 of file ofopxmlhelper.cxx.

sal_uInt16 const m_nFormat

Definition at line 48 of file ofopxmlhelper.cxx.