LibreOffice Module sw (master)  1
Macros | Functions
autoformatpreview.cxx File Reference
#include <editeng/adjustitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <vcl/settings.hxx>
#include <com/sun/star/i18n/BreakIterator.hpp>
#include <comphelper/processfactory.hxx>
#include <svtools/scriptedtext.hxx>
#include <svx/framelink.hxx>
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <drawinglayer/processor2d/processor2dtools.hxx>
#include <strings.hrc>
#include <autoformatpreview.hxx>
Include dependency graph for autoformatpreview.cxx:

Go to the source code of this file.

Macros

#define FRAME_OFFSET   4
 
#define SETONALLFONTS(MethodName, Value)
 

Functions

static void lcl_SetFontProperties (vcl::Font &rFont, const SvxFontItem &rFontItem, const SvxWeightItem &rWeightItem, const SvxPostureItem &rPostureItem)
 
static void lclSetStyleFromBorder (svx::frame::Style &rStyle, const ::editeng::SvxBorderLine *pBorder)
 

Macro Definition Documentation

#define FRAME_OFFSET   4

Definition at line 42 of file autoformatpreview.cxx.

Referenced by AutoFormatPreview::DrawString().

#define SETONALLFONTS (   MethodName,
  Value 
)
Value:
rFont.MethodName(Value); \
rCJKFont.MethodName(Value); \
rCTLFont.MethodName(Value);

Definition at line 95 of file autoformatpreview.cxx.

Referenced by AutoFormatPreview::MakeFonts().

Function Documentation

static void lcl_SetFontProperties ( vcl::Font rFont,
const SvxFontItem rFontItem,
const SvxWeightItem rWeightItem,
const SvxPostureItem rPostureItem 
)
static
static void lclSetStyleFromBorder ( svx::frame::Style rStyle,
const ::editeng::SvxBorderLine pBorder 
)
static

Definition at line 386 of file autoformatpreview.cxx.

References svx::frame::Style::Set().

Referenced by AutoFormatPreview::CalcLineMap().