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 > xFactory, OUString aServiceName, OUString aObjNameBase)
 
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 1291 of file xlchart.hxx.

Constructor & Destructor Documentation

◆ XclChObjectTable()

XclChObjectTable::XclChObjectTable ( css::uno::Reference< css::lang::XMultiServiceFactory >  xFactory,
OUString  aServiceName,
OUString  aObjNameBase 
)
explicit

Definition at line 544 of file xlchart.cxx.

References maServiceName, mnIndex, mxFactory, and xFactory.

Member Function Documentation

◆ GetObject()

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

Returns a named formatting object from the chart document.

Definition at line 553 of file xlchart.cxx.

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

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

◆ InsertObject()

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

Inserts a named formatting object into the chart document.

Definition at line 576 of file xlchart.cxx.

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

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

Member Data Documentation

◆ maObjNameBase

OUString XclChObjectTable::maObjNameBase
private

Service name to create the container.

Definition at line 1306 of file xlchart.hxx.

Referenced by InsertObject().

◆ maServiceName

OUString XclChObjectTable::maServiceName
private

Container for the objects.

Definition at line 1305 of file xlchart.hxx.

Referenced by GetObject(), and InsertObject().

◆ mnIndex

sal_Int32 XclChObjectTable::mnIndex
private

Base of names for inserted objects.

Definition at line 1307 of file xlchart.hxx.

Referenced by InsertObject().

◆ mxContainer

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

Factory to create the container.

Definition at line 1304 of file xlchart.hxx.

Referenced by GetObject(), and InsertObject().

◆ mxFactory

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

Definition at line 1303 of file xlchart.hxx.

Referenced by GetObject(), and InsertObject().


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