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

Go to the source code of this file.

Namespaces

 sw
 Dialog to specify the properties of date form field.
 
 sw::sidebar
 

Macros

#define SWPAGE_NO_MARGIN   0
 
#define SWPAGE_NARROW_VALUE   720
 
#define SWPAGE_MODERATE_LR   1080
 
#define SWPAGE_NORMAL_VALUE   1136
 
#define SWPAGE_WIDE_VALUE1   1440
 
#define SWPAGE_WIDE_VALUE2   2880
 
#define SWPAGE_WIDE_VALUE3   1800
 
#define SWPAGE_UNIT_THRESHOLD   5
 

Functions

bool sw::sidebar::IsNone (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetNone (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 
bool sw::sidebar::IsNarrow (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetNarrow (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 
bool sw::sidebar::IsModerate (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetModerate (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 
bool sw::sidebar::IsNormal075 (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetNormal075 (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 
bool sw::sidebar::IsNormal100 (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetNormal100 (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 
bool sw::sidebar::IsNormal125 (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetNormal125 (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 
bool sw::sidebar::IsWide (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetWide (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 
bool sw::sidebar::IsMirrored (const long nPageLeftMargin, const long nPageRightMargin, const long nPageTopMargin, const long nPageBottomMargin, bool bMirrored)
 
void sw::sidebar::SetMirrored (long &nPageLeftMargin, long &nPageRightMargin, long &nPageTopMargin, long &nPageBottomMargin, bool &bMirrored)
 

Macro Definition Documentation

#define SWPAGE_MODERATE_LR   1080

Definition at line 22 of file PageMarginUtils.hxx.

Referenced by sw::sidebar::IsModerate(), and sw::sidebar::SetModerate().

#define SWPAGE_NARROW_VALUE   720

Definition at line 21 of file PageMarginUtils.hxx.

Referenced by sw::sidebar::IsNarrow(), and sw::sidebar::SetNarrow().

#define SWPAGE_NO_MARGIN   0

Definition at line 20 of file PageMarginUtils.hxx.

Referenced by sw::sidebar::IsNone(), and sw::sidebar::SetNone().

#define SWPAGE_NORMAL_VALUE   1136

Definition at line 23 of file PageMarginUtils.hxx.

Referenced by sw::sidebar::IsNormal075(), and sw::sidebar::SetNormal075().

#define SWPAGE_UNIT_THRESHOLD   5
#define SWPAGE_WIDE_VALUE1   1440
#define SWPAGE_WIDE_VALUE2   2880

Definition at line 25 of file PageMarginUtils.hxx.

Referenced by sw::sidebar::IsWide(), and sw::sidebar::SetWide().

#define SWPAGE_WIDE_VALUE3   1800