LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | List of all members
XclImpStringHelper Class Reference

This class provides methods to convert an XclImpString. More...

#include <xihelper.hxx>

Public Member Functions

 XclImpStringHelper (const XclImpStringHelper &)=delete
 delete copy constructor More...
 
const XclImpStringHelperoperator= (const XclImpStringHelper &)=delete
 delete copy-assignment operator More...
 
 XclImpStringHelper ()=delete
 We don't want anybody to instantiate this class, since it is just a collection of static methods. More...
 

Static Public Member Functions

static std::unique_ptr< EditTextObjectCreateTextObject (const XclImpRoot &rRoot, const XclImpString &rString)
 Returns a new edit engine text object. More...
 
static void SetToDocument (ScDocumentImport &rDoc, const ScAddress &rPos, const XclImpRoot &rRoot, const XclImpString &rString, sal_uInt16 nXFIndex)
 

Detailed Description

This class provides methods to convert an XclImpString.

@The string can be converted to an edit engine text object or directly to a Calc edit cell.

Definition at line 106 of file xihelper.hxx.

Constructor & Destructor Documentation

◆ XclImpStringHelper() [1/2]

XclImpStringHelper::XclImpStringHelper ( const XclImpStringHelper )
delete

delete copy constructor

◆ XclImpStringHelper() [2/2]

XclImpStringHelper::XclImpStringHelper ( )
delete

We don't want anybody to instantiate this class, since it is just a collection of static methods.

Member Function Documentation

◆ CreateTextObject()

std::unique_ptr< EditTextObject > XclImpStringHelper::CreateTextObject ( const XclImpRoot rRoot,
const XclImpString rString 
)
static

Returns a new edit engine text object.

Parameters
nXFIndexIndex to XF for first text portion (for escapement).

Definition at line 217 of file xihelper.cxx.

References Editeng.

Referenced by XclImpTextObj::DoPreProcessSdrObj().

◆ operator=()

const XclImpStringHelper & XclImpStringHelper::operator= ( const XclImpStringHelper )
delete

delete copy-assignment operator

◆ SetToDocument()

void XclImpStringHelper::SetToDocument ( ScDocumentImport rDoc,
const ScAddress rPos,
const XclImpRoot rRoot,
const XclImpString rString,
sal_uInt16  nXFIndex 
)
static

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