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

#include <TableFillingAndNavigationTools.hxx>

Collaboration diagram for FormulaTemplate:

Public Member Functions

 FormulaTemplate (ScDocument *pDoc)
void setTemplate (const OUString &aTemplate)
void setTemplate (const char *aTemplate)
const OUString & getTemplate ()
void autoReplaceRange (const OUString &aVariable, const ScRange &rRange)
void autoReplaceAddress (const OUString &aVariable, ScAddress const &aAddress)
void autoReplaceUses3D (bool bUse3D)
void applyRange (const OUString &aVariable, const ScRange &aRange, bool b3D=true)
void applyRangeList (const OUString &aVariable, const ScRangeList &aRangeList, sal_Unicode cDelimiter)
void applyAddress (const OUString &aVariable, const ScAddress &aAddress, bool b3D=true)
void applyString (const OUString &aVariable, const OUString &aValue)
void applyNumber (const OUString &aVariable, sal_Int32 aValue)

Private Types

typedef std::map< OUString, ScRangeRangeReplacementMap
typedef std::map< OUString, ScAddressAddressReplacementMap

Private Attributes

OUString mTemplate
bool mbUse3D
AddressReplacementMap mAddressReplacementMap
RangeReplacementMap mRangeReplacementMap

Detailed Description

Definition at line 19 of file TableFillingAndNavigationTools.hxx.

Member Typedef Documentation

Definition at line 27 of file TableFillingAndNavigationTools.hxx.

Definition at line 26 of file TableFillingAndNavigationTools.hxx.

Constructor & Destructor Documentation

FormulaTemplate::FormulaTemplate ( ScDocument pDoc)

Definition at line 24 of file TableFillingAndNavigationTools.cxx.

Member Function Documentation

void FormulaTemplate::applyAddress ( const OUString &  aVariable,
const ScAddress aAddress,
bool  b3D = true 
void FormulaTemplate::applyNumber ( const OUString &  aVariable,
sal_Int32  aValue 
void FormulaTemplate::applyRange ( const OUString &  aVariable,
const ScRange aRange,
bool  b3D = true 
void FormulaTemplate::applyRangeList ( const OUString &  aVariable,
const ScRangeList aRangeList,
sal_Unicode  cDelimiter 
void FormulaTemplate::applyString ( const OUString &  aVariable,
const OUString &  aValue 
void FormulaTemplate::autoReplaceAddress ( const OUString &  aVariable,
ScAddress const &  aAddress 
void FormulaTemplate::autoReplaceRange ( const OUString &  aVariable,
const ScRange rRange 
void FormulaTemplate::autoReplaceUses3D ( bool  bUse3D)
const OUString & FormulaTemplate::getTemplate ( )
void FormulaTemplate::setTemplate ( const OUString &  aTemplate)
void FormulaTemplate::setTemplate ( const char *  aTemplate)

Definition at line 34 of file TableFillingAndNavigationTools.cxx.

References mTemplate.

Member Data Documentation

AddressReplacementMap FormulaTemplate::mAddressReplacementMap

Definition at line 29 of file TableFillingAndNavigationTools.hxx.

Referenced by autoReplaceAddress(), and getTemplate().

bool FormulaTemplate::mbUse3D

Definition at line 24 of file TableFillingAndNavigationTools.hxx.

Referenced by getTemplate().

ScDocument* FormulaTemplate::mpDoc

Definition at line 23 of file TableFillingAndNavigationTools.hxx.

Referenced by applyAddress(), applyRange(), and applyRangeList().

RangeReplacementMap FormulaTemplate::mRangeReplacementMap

Definition at line 30 of file TableFillingAndNavigationTools.hxx.

Referenced by autoReplaceRange(), and getTemplate().

OUString FormulaTemplate::mTemplate

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