LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
XclChObjectTable Class Reference

#include <xlchart.hxx>

Public Member Functions

 XclChObjectTable (css::uno::Reference< css::lang::XMultiServiceFactory > const &xFactory, const OUString &rServiceName, const OUString &rObjNameBase)
 
css::uno::Any GetObject (const OUString &rObjName)
 Returns a named formatting object from the chart document. More...
 
OUString InsertObject (const css::uno::Any &rObj)
 Inserts a named formatting object into the chart document. More...
 

Private Attributes

css::uno::Reference< css::lang::XMultiServiceFactory > mxFactory
 
css::uno::Reference< css::container::XNameContainer > mxContainer
 Factory to create the container. More...
 
OUString maServiceName
 Container for the objects. More...
 
OUString maObjNameBase
 Service name to create the container. More...
 
sal_Int32 mnIndex
 Base of names for inserted objects. More...
 

Detailed Description

Definition at line 1290 of file xlchart.hxx.

Constructor & Destructor Documentation

XclChObjectTable::XclChObjectTable ( css::uno::Reference< css::lang::XMultiServiceFactory > const &  xFactory,
const OUString &  rServiceName,
const OUString &  rObjNameBase 
)
explicit

Definition at line 542 of file xlchart.cxx.

References maServiceName, mnIndex, and mxFactory.

Member Function Documentation

uno::Any XclChObjectTable::GetObject ( const OUString &  rObjName)

Returns a named formatting object from the chart document.

Definition at line 551 of file xlchart.cxx.

References ScfApiHelper::CreateInstance(), maServiceName, mxContainer, and mxFactory.

Referenced by XclChPropSetHelper::ReadEscherProperties(), and XclChPropSetHelper::ReadLineProperties().

OUString XclChObjectTable::InsertObject ( const css::uno::Any &  rObj)

Inserts a named formatting object into the chart document.

Definition at line 574 of file xlchart.cxx.

References ScfApiHelper::CreateInstance(), maObjNameBase, maServiceName, mnIndex, mxContainer, and mxFactory.

Referenced by XclChPropSetHelper::WriteEscherProperties(), and XclChPropSetHelper::WriteLineProperties().

Member Data Documentation

OUString XclChObjectTable::maObjNameBase
private

Service name to create the container.

Definition at line 1305 of file xlchart.hxx.

Referenced by InsertObject().

OUString XclChObjectTable::maServiceName
private

Container for the objects.

Definition at line 1304 of file xlchart.hxx.

Referenced by GetObject(), and InsertObject().

sal_Int32 XclChObjectTable::mnIndex
private

Base of names for inserted objects.

Definition at line 1306 of file xlchart.hxx.

Referenced by InsertObject().

css::uno::Reference< css::container::XNameContainer > XclChObjectTable::mxContainer
private

Factory to create the container.

Definition at line 1303 of file xlchart.hxx.

Referenced by GetObject(), and InsertObject().

css::uno::Reference< css::lang::XMultiServiceFactory > XclChObjectTable::mxFactory
private

Definition at line 1302 of file xlchart.hxx.

Referenced by GetObject(), and InsertObject().


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