LibreOffice Module comphelper (master)  1
Functions
comphelper::OFOPXMLHelper Namespace Reference

Functions

static uno::Sequence< uno::Sequence< beans::StringPair > > 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 > > ReadRelationsInfoSequence (const uno::Reference< io::XInputStream > &xInStream, const OUString &aStreamName, const uno::Reference< uno::XComponentContext > &rContext)
 
uno::Sequence< uno::Sequence< beans::StringPair > > ReadContentTypeSequence (const uno::Reference< io::XInputStream > &xInStream, const uno::Reference< uno::XComponentContext > &rContext)
 
OUString GetContentTypeByName (const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair >> &rContentTypes, const OUString &rFilename)
 
void WriteRelationsInfoSequence (const uno::Reference< io::XOutputStream > &xOutStream, const uno::Sequence< uno::Sequence< beans::StringPair > > &aSequence, const uno::Reference< uno::XComponentContext > &rContext)
 
void 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)
 
COMPHELPER_DLLPUBLIC css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > ReadRelationsInfoSequence (const css::uno::Reference< css::io::XInputStream > &xInStream, const OUString &aStreamName, const css::uno::Reference< css::uno::XComponentContext > &rContext)
 
COMPHELPER_DLLPUBLIC css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > ReadContentTypeSequence (const css::uno::Reference< css::io::XInputStream > &xInStream, const css::uno::Reference< css::uno::XComponentContext > &rContext)
 
COMPHELPER_DLLPUBLIC void WriteRelationsInfoSequence (const css::uno::Reference< css::io::XOutputStream > &xOutStream, const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > &aSequence, const css::uno::Reference< css::uno::XComponentContext > &rContext)
 
COMPHELPER_DLLPUBLIC void WriteContentSequence (const css::uno::Reference< css::io::XOutputStream > &xOutStream, const css::uno::Sequence< css::beans::StringPair > &aDefaultsSequence, const css::uno::Sequence< css::beans::StringPair > &aOverridesSequence, const css::uno::Reference< css::uno::XComponentContext > &rContext)
 

Function Documentation

COMPHELPER_DLLPUBLIC OUString comphelper::OFOPXMLHelper::GetContentTypeByName ( const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair >> &  rContentTypes,
const OUString &  rFilename 
)

Definition at line 95 of file ofopxmlhelper.cxx.

References aName.

COMPHELPER_DLLPUBLIC css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > comphelper::OFOPXMLHelper::ReadContentTypeSequence ( const css::uno::Reference< css::io::XInputStream > &  xInStream,
const css::uno::Reference< css::uno::XComponentContext > &  rContext 
)
Exceptions
css::uno::Exception
uno::Sequence< uno::Sequence< beans::StringPair > > comphelper::OFOPXMLHelper::ReadContentTypeSequence ( const uno::Reference< io::XInputStream > &  xInStream,
const uno::Reference< uno::XComponentContext > &  rContext 
)

Definition at line 87 of file ofopxmlhelper.cxx.

References CONTENTTYPE_FORMAT, and ReadSequence_Impl().

COMPHELPER_DLLPUBLIC css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > comphelper::OFOPXMLHelper::ReadRelationsInfoSequence ( const css::uno::Reference< css::io::XInputStream > &  xInStream,
const OUString &  aStreamName,
const css::uno::Reference< css::uno::XComponentContext > &  rContext 
)
Exceptions
css::uno::Exception
uno::Sequence< uno::Sequence< beans::StringPair > > comphelper::OFOPXMLHelper::ReadRelationsInfoSequence ( const uno::Reference< io::XInputStream > &  xInStream,
const OUString &  aStreamName,
const uno::Reference< uno::XComponentContext > &  rContext 
)

Definition at line 77 of file ofopxmlhelper.cxx.

References ReadSequence_Impl(), and RELATIONINFO_FORMAT.

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 
)
static
Exceptions
css::uno::Exception

Definition at line 245 of file ofopxmlhelper.cxx.

References FORMAT_MAX_ID, and comphelper::OFOPXMLHelper_Impl::GetParsingResult().

Referenced by ReadContentTypeSequence(), and ReadRelationsInfoSequence().

COMPHELPER_DLLPUBLIC void comphelper::OFOPXMLHelper::WriteContentSequence ( const css::uno::Reference< css::io::XOutputStream > &  xOutStream,
const css::uno::Sequence< css::beans::StringPair > &  aDefaultsSequence,
const css::uno::Sequence< css::beans::StringPair > &  aOverridesSequence,
const css::uno::Reference< css::uno::XComponentContext > &  rContext 
)
Exceptions
css::uno::Exception
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 
)

Definition at line 184 of file ofopxmlhelper.cxx.

References comphelper::AttributeList::AddAttribute(), and First.

COMPHELPER_DLLPUBLIC void comphelper::OFOPXMLHelper::WriteRelationsInfoSequence ( const css::uno::Reference< css::io::XOutputStream > &  xOutStream,
const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > &  aSequence,
const css::uno::Reference< css::uno::XComponentContext > &  rContext 
)
Exceptions
css::uno::Exception
void comphelper::OFOPXMLHelper::WriteRelationsInfoSequence ( const uno::Reference< io::XOutputStream > &  xOutStream,
const uno::Sequence< uno::Sequence< beans::StringPair > > &  aSequence,
const uno::Reference< uno::XComponentContext > &  rContext 
)

Definition at line 128 of file ofopxmlhelper.cxx.

References comphelper::AttributeList::AddAttribute(), and First.