LibreOffice Module oox (master)  1
Static Public Member Functions | List of all members
oox::dump::InputOutputHelper Class Reference

Static helper functions for system file and stream access. More...

#include <dumperbase.hxx>

Static Public Member Functions

static OUString convertFileNameToUrl (const OUString &rFileName)
 
static sal_Int32 getFileNamePos (const OUString &rFileUrl)
 
static OUString getFileNameExtension (const OUString &rFileUrl)
 
static css::uno::Reference< css::io::XInputStream > openInputStream (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const OUString &rFileName)
 
static css::uno::Reference< css::io::XOutputStream > openOutputStream (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const OUString &rFileName)
 
static css::uno::Reference< css::io::XTextOutputStream2 > openTextOutputStream (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::io::XOutputStream > &rxOutStrm, rtl_TextEncoding eTextEnc)
 
static css::uno::Reference< css::io::XTextOutputStream2 > openTextOutputStream (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const OUString &rFileName, rtl_TextEncoding eTextEnc)
 

Detailed Description

Static helper functions for system file and stream access.

Definition at line 99 of file dumperbase.hxx.

Member Function Documentation

OUString oox::dump::InputOutputHelper::convertFileNameToUrl ( const OUString &  rFileName)
static

Definition at line 66 of file dumperbase.cxx.

Referenced by oox::dump::SharedConfigData::SharedConfigData().

OUString oox::dump::InputOutputHelper::getFileNameExtension ( const OUString &  rFileUrl)
static

Definition at line 80 of file dumperbase.cxx.

References getFileNamePos().

Referenced by oox::dump::XmlStreamObject::implDumpText().

sal_Int32 oox::dump::InputOutputHelper::getFileNamePos ( const OUString &  rFileUrl)
static
Reference< XInputStream > oox::dump::InputOutputHelper::openInputStream ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const OUString &  rFileName 
)
static
Reference< XOutputStream > oox::dump::InputOutputHelper::openOutputStream ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const OUString &  rFileName 
)
static

Definition at line 108 of file dumperbase.cxx.

References Exception.

Referenced by oox::dump::StorageObjectBase::extractStream().

static css::uno::Reference< css::io::XTextOutputStream2 > oox::dump::InputOutputHelper::openTextOutputStream ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::io::XOutputStream > &  rxOutStrm,
rtl_TextEncoding  eTextEnc 
)
static
static css::uno::Reference< css::io::XTextOutputStream2 > oox::dump::InputOutputHelper::openTextOutputStream ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const OUString &  rFileName,
rtl_TextEncoding  eTextEnc 
)
static

The documentation for this class was generated from the following files: