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

◆ MAKE_STAMP

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

Definition at line 45 of file tool.h.

◆ nSize_

#define nSize_   2048

Definition at line 84 of file tool.h.

Typedef Documentation

◆ StampTyp

typedef sal_uInt16 StampTyp

Definition at line 43 of file tool.h.

Function Documentation

◆ PutFormString()

void PutFormString ( LotusContext rContext,
SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
char *  pString 
)

◆ SetFormat()

void SetFormat ( LotusContext rContext,
SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
sal_uInt8  nFormat,
sal_uInt8  nSt 
)

◆ Snum32ToDouble()

double Snum32ToDouble ( sal_uInt32  nValue)

Definition at line 129 of file tool.cxx.

References nValue.

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

◆ SnumToDouble()

double SnumToDouble ( sal_Int16  nVal)

Definition at line 104 of file tool.cxx.

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

Variable Documentation

◆ nFractionalFloat

const sal_uInt8 nFractionalFloat = 2

Definition at line 31 of file tool.h.

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

◆ nFractionalStd

const sal_uInt8 nFractionalStd = 0

Definition at line 30 of file tool.h.

Referenced by OP_Label().