LibreOffice Module sc (master)  1
Classes | Macros | Typedefs | Functions | Variables
tool.h File Reference
#include <document.hxx>
#include <i18nlangtag/lang.h>
#include <svl/intitem.hxx>
#include <types.hxx>
#include <osl/diagnose.h>
Include dependency graph for tool.h:
This graph shows which files directly or indirectly include this file:

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
 

Macro Definition Documentation

#define MAKE_STAMP (   nF,
  nS 
)    ((nS&0x0F)+((nF&0x7F)*16))

Definition at line 46 of file tool.h.

Referenced by FormIdent::FormIdent(), and FormIdent::SetStamp().

#define nSize_   2048

Definition at line 85 of file tool.h.

Referenced by FormCache::GetAttr().

Typedef Documentation

typedef sal_uInt16 StampTyp

Definition at line 44 of file tool.h.

Function Documentation

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 Snum32ToDouble ( sal_uInt32  nValue)

Definition at line 128 of file tool.cxx.

Referenced by LotusToSc::Convert(), and OP_Number123().

double SnumToDouble ( sal_Int16  nVal)

Definition at line 103 of file tool.cxx.

Referenced by LotusToSc::Convert(), and ImportLotus::Smallnumcell().

Variable Documentation

const sal_uInt8 nFractionalFloat = 2

Definition at line 32 of file tool.h.

Referenced by OP_Blank(), OP_Formula(), and OP_Number().

const sal_uInt8 nFractionalStd = 0

Definition at line 31 of file tool.h.

Referenced by OP_Label().