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, std::u16string_view 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, std::u16string_view 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

◆ GetContentTypeByName()

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

Definition at line 98 of file ofopxmlhelper.cxx.

References aName.

◆ ReadContentTypeSequence() [1/2]

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

◆ ReadContentTypeSequence() [2/2]

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

Definition at line 91 of file ofopxmlhelper.cxx.

References CONTENTTYPE_FORMAT, and ReadSequence_Impl().

◆ ReadRelationsInfoSequence() [1/2]

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

◆ ReadRelationsInfoSequence() [2/2]

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 
)

Definition at line 81 of file ofopxmlhelper.cxx.

References ReadSequence_Impl(), and RELATIONINFO_FORMAT.

◆ ReadSequence_Impl()

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 239 of file ofopxmlhelper.cxx.

References FORMAT_MAX_ID.

Referenced by ReadContentTypeSequence(), and ReadRelationsInfoSequence().

◆ WriteContentSequence() [1/2]

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

◆ WriteContentSequence() [2/2]

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 183 of file ofopxmlhelper.cxx.

References u.

◆ WriteRelationsInfoSequence() [1/2]

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

◆ WriteRelationsInfoSequence() [2/2]

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 131 of file ofopxmlhelper.cxx.

References i.