LibreOffice Module sw (master)  1
Macros | Functions
labimp.hxx File Reference
#include <vcl/weld.hxx>
Include dependency graph for labimp.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GETFLDVAL(rField)    (rField).Denormalize((rField).GetValue(FieldUnit::TWIP))
 
#define SETFLDVAL(rField, lValue)   (rField).SetValue((rField).Normalize(lValue), FieldUnit::TWIP)
 

Functions

int getfldval (const weld::MetricSpinButton &rField)
 
void setfldval (weld::MetricSpinButton &rField, int lValue)
 

Macro Definition Documentation

#define GETFLDVAL (   rField)    (rField).Denormalize((rField).GetValue(FieldUnit::TWIP))

Definition at line 24 of file labimp.hxx.

#define SETFLDVAL (   rField,
  lValue 
)    (rField).SetValue((rField).Normalize(lValue), FieldUnit::TWIP)

Definition at line 25 of file labimp.hxx.

Referenced by SwLabPage::DisplayFormat().

Function Documentation

int getfldval ( const weld::MetricSpinButton rField)
inline
void setfldval ( weld::MetricSpinButton rField,
int  lValue 
)
inline