|
LibreOffice Module sc (master) 1
|
#include <document.hxx>#include <i18nlangtag/lang.h>#include <svl/intitem.hxx>#include <types.hxx>#include <osl/diagnose.h>Go to the source code of this file.
Classes | |
| class | FormIdent |
| class | FormCache |
Macros | |
| #define | MAKE_STAMP(nF, nS) ((nS&0x0F)+((nF&0x7F)*16)) |
| #define | nSize_ 2048 |
Typedefs | |
| typedef sal_uInt16 | StampTyp |
Functions | |
| void | PutFormString (LotusContext &rContext, SCCOL nCol, SCROW nRow, SCTAB nTab, char *pString) |
| void | SetFormat (LotusContext &rContext, SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt8 nFormat, sal_uInt8 nSt) |
| double | SnumToDouble (sal_Int16 nVal) |
| double | Snum32ToDouble (sal_uInt32 nValue) |
Variables | |
| const sal_uInt8 | nFractionalStd = 0 |
| const sal_uInt8 | nFractionalFloat = 2 |
| void PutFormString | ( | LotusContext & | rContext, |
| SCCOL | nCol, | ||
| SCROW | nRow, | ||
| SCTAB | nTab, | ||
| char * | pString | ||
| ) |
Definition at line 38 of file tool.cxx.
References ScDocument::ApplyAttr(), LotusContext::eCharset, LotusContext::rDoc, SAL_WARN_IF, ScDocument::SanitizeCol(), ScDocument::SanitizeRow(), SanitizeTab(), ScDocument::SetString(), ScSetStringParam::setTextInput(), LotusContext::xAttrCenter, LotusContext::xAttrLeft, LotusContext::xAttrRepeat, LotusContext::xAttrRight, and LotusContext::xAttrStandard.
Referenced by OP_Label(), and OP_Label123().
| void SetFormat | ( | LotusContext & | rContext, |
| SCCOL | nCol, | ||
| SCROW | nRow, | ||
| SCTAB | nTab, | ||
| sal_uInt8 | nFormat, | ||
| sal_uInt8 | nSt | ||
| ) |
Definition at line 88 of file tool.cxx.
References ScDocument::ApplyAttr(), LotusContext::rDoc, ScDocument::SanitizeCol(), ScDocument::SanitizeRow(), SanitizeTab(), ScProtectionAttr::SetProtection(), and LotusContext::xValueFormCache.
Referenced by OP_Blank(), OP_Formula(), OP_Integer(), OP_Label(), and OP_Number().
| double Snum32ToDouble | ( | sal_uInt32 | nValue | ) |
Definition at line 129 of file tool.cxx.
References nValue.
Referenced by LotusToSc::Convert(), and OP_Number123().
| double SnumToDouble | ( | sal_Int16 | nVal | ) |
Definition at line 104 of file tool.cxx.
Referenced by LotusToSc::Convert(), and ImportLotus::Smallnumcell().
| const sal_uInt8 nFractionalFloat = 2 |
Definition at line 31 of file tool.h.
Referenced by OP_Blank(), OP_Formula(), and OP_Number().
| const sal_uInt8 nFractionalStd = 0 |
Definition at line 30 of file tool.h.
Referenced by OP_Label().