LibreOffice Module oox (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
oox::ole::MSConvertOCXControls Class Reference

#include <olehelper.hxx>

Inheritance diagram for oox::ole::MSConvertOCXControls:
[legend]
Collaboration diagram for oox::ole::MSConvertOCXControls:
[legend]

Public Member Functions

 MSConvertOCXControls (const css::uno::Reference< css::frame::XModel > &rxModel)
 
virtual ~MSConvertOCXControls () override
 
bool ReadOCXStorage (tools::SvRef< SotStorage > const &rSrc1, css::uno::Reference< css::form::XFormComponent > &rxFormComp)
 
bool ReadOCXCtlsStream (tools::SvRef< SotStorageStream > const &rSrc1, css::uno::Reference< css::form::XFormComponent > &rxFormComp, sal_Int32 nPos, sal_Int32 nSize)
 
- Public Member Functions inherited from SvxMSConvertOCXControls
 SvxMSConvertOCXControls (css::uno::Reference< css::frame::XModel > xModel)
 
virtual ~SvxMSConvertOCXControls ()
 
virtual bool InsertControl (const css::uno::Reference< css::form::XFormComponent > &, const css::awt::Size &, css::uno::Reference< css::drawing::XShape > *, bool)
 
const css::uno::Reference< css::lang::XMultiServiceFactory > & GetServiceFactory ()
 

Static Public Member Functions

static bool WriteOCXStream (const css::uno::Reference< css::frame::XModel > &rxModel, tools::SvRef< SotStorage > const &rSrc1, const css::uno::Reference< css::awt::XControlModel > &rControlModel, const css::awt::Size &rSize, OUString &rName)
 
static bool WriteOCXExcelKludgeStream (const css::uno::Reference< css::frame::XModel > &rxModel, const css::uno::Reference< css::io::XOutputStream > &xOutStrm, const css::uno::Reference< css::awt::XControlModel > &rControlModel, const css::awt::Size &rSize, OUString &rName)
 

Protected Member Functions

bool importControlFromStream (::oox::BinaryInputStream &rInStrm, css::uno::Reference< css::form::XFormComponent > &rxFormComp, std::u16string_view rGuidString)
 
bool importControlFromStream (::oox::BinaryInputStream &rInStrm, css::uno::Reference< css::form::XFormComponent > &rxFormComp, const OUString &rGuidString, sal_Int32 nSize)
 
- Protected Member Functions inherited from SvxMSConvertOCXControls
const css::uno::Reference< css::drawing::XShapes > & GetShapes ()
 
const css::uno::Reference< css::container::XIndexContainer > & GetFormComps ()
 
virtual void GetDrawPage ()
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > mxCtx
 
::oox::GraphicHelper maGrfHelper
 

Additional Inherited Members

- Protected Attributes inherited from SvxMSConvertOCXControls
css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::drawing::XDrawPage > xDrawPage
 
css::uno::Reference< css::drawing::XShapes > xShapes
 
css::uno::Reference< css::lang::XMultiServiceFactory > xServiceFactory
 
css::uno::Reference< css::container::XIndexContainer > xFormComps
 

Detailed Description

Definition at line 170 of file olehelper.hxx.

Constructor & Destructor Documentation

◆ MSConvertOCXControls()

oox::ole::MSConvertOCXControls::MSConvertOCXControls ( const css::uno::Reference< css::frame::XModel > &  rxModel)

Definition at line 416 of file olehelper.cxx.

References getProcessComponentContext(), and mxCtx.

◆ ~MSConvertOCXControls()

oox::ole::MSConvertOCXControls::~MSConvertOCXControls ( )
overridevirtual

Definition at line 420 of file olehelper.cxx.

Member Function Documentation

◆ importControlFromStream() [1/2]

bool oox::ole::MSConvertOCXControls::importControlFromStream ( ::oox::BinaryInputStream rInStrm,
css::uno::Reference< css::form::XFormComponent > &  rxFormComp,
const OUString &  rGuidString,
sal_Int32  nSize 
)
protected

◆ importControlFromStream() [2/2]

bool oox::ole::MSConvertOCXControls::importControlFromStream ( ::oox::BinaryInputStream rInStrm,
css::uno::Reference< css::form::XFormComponent > &  rxFormComp,
std::u16string_view  rGuidString 
)
protected

◆ ReadOCXCtlsStream()

bool oox::ole::MSConvertOCXControls::ReadOCXCtlsStream ( tools::SvRef< SotStorageStream > const &  rSrc1,
css::uno::Reference< css::form::XFormComponent > &  rxFormComp,
sal_Int32  nPos,
sal_Int32  nSize 
)

◆ ReadOCXStorage()

bool oox::ole::MSConvertOCXControls::ReadOCXStorage ( tools::SvRef< SotStorage > const &  rSrc1,
css::uno::Reference< css::form::XFormComponent > &  rxFormComp 
)

◆ WriteOCXExcelKludgeStream()

bool oox::ole::MSConvertOCXControls::WriteOCXExcelKludgeStream ( const css::uno::Reference< css::frame::XModel > &  rxModel,
const css::uno::Reference< css::io::XOutputStream > &  xOutStrm,
const css::uno::Reference< css::awt::XControlModel > &  rControlModel,
const css::awt::Size &  rSize,
OUString &  rName 
)
static

◆ WriteOCXStream()

bool oox::ole::MSConvertOCXControls::WriteOCXStream ( const css::uno::Reference< css::frame::XModel > &  rxModel,
tools::SvRef< SotStorage > const &  rSrc1,
const css::uno::Reference< css::awt::XControlModel > &  rControlModel,
const css::awt::Size &  rSize,
OUString &  rName 
)
static

Member Data Documentation

◆ maGrfHelper

::oox::GraphicHelper oox::ole::MSConvertOCXControls::maGrfHelper
private

Definition at line 173 of file olehelper.hxx.

◆ mxCtx

css::uno::Reference< css::uno::XComponentContext > oox::ole::MSConvertOCXControls::mxCtx
private

Definition at line 172 of file olehelper.hxx.


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