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 <svtools/colorcfg.hxx>
#include <swmodule.hxx>
#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

◆ FRAME_OFFSET

#define FRAME_OFFSET   4

Definition at line 44 of file autoformatpreview.cxx.

◆ SETONALLFONTS

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

Definition at line 97 of file autoformatpreview.cxx.

Function Documentation

◆ lcl_SetFontProperties()

static void lcl_SetFontProperties ( vcl::Font rFont,
const SvxFontItem rFontItem,
const SvxWeightItem rWeightItem,
const SvxPostureItem rPostureItem 
)
static

◆ lclSetStyleFromBorder()

static void lclSetStyleFromBorder ( svx::frame::Style rStyle,
const ::editeng::SvxBorderLine pBorder 
)
static

Definition at line 388 of file autoformatpreview.cxx.

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

Referenced by AutoFormatPreview::CalcLineMap().