LibreOffice Module i18nutil (master) 1
Macros | Variables
paper.cxx File Reference
#include <officecfg/Setup.hxx>
#include <officecfg/System.hxx>
#include <sal/config.h>
#include <sal/macros.h>
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
#include <tools/long.hxx>
#include <i18nutil/paper.hxx>
#include <unotools/configmgr.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <stdio.h>
#include <locale.h>
Include dependency graph for paper.cxx:

Go to the source code of this file.

Macros

#define PT2MM100(v)    tools::Long(((v) * 35.27777778) + 0.5)
 
#define IN2MM100(v)    (tools::Long(((v) * 2540) + 0.5))
 
#define MM2MM100(v)    (tools::Long((v) * 100))
 
#define MAXSLOPPY   PT2MM100(1.25)
 

Variables

const PageDesc aDinTab []
 ! The order of these entries must correspond to enum Paper in <i18nutil/paper.hxx> More...
 
const size_t nTabSize = SAL_N_ELEMENTS(aDinTab)
 

Macro Definition Documentation

◆ IN2MM100

#define IN2MM100 (   v)     (tools::Long(((v) * 2540) + 0.5))

Definition at line 57 of file paper.cxx.

◆ MAXSLOPPY

#define MAXSLOPPY   PT2MM100(1.25)

Definition at line 172 of file paper.cxx.

◆ MM2MM100

#define MM2MM100 (   v)     (tools::Long((v) * 100))

Definition at line 60 of file paper.cxx.

◆ PT2MM100

#define PT2MM100 (   v)     tools::Long(((v) * 35.27777778) + 0.5)

Definition at line 54 of file paper.cxx.

Variable Documentation

◆ aDinTab

const PageDesc aDinTab[]

! The order of these entries must correspond to enum Paper in <i18nutil/paper.hxx>

Definition at line 71 of file paper.cxx.

◆ nTabSize

const size_t nTabSize = SAL_N_ELEMENTS(aDinTab)

Definition at line 166 of file paper.cxx.