LibreOffice Module sc (master) 1
Macros | Functions
autofmt.cxx File Reference
#include <scitems.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/justifyitem.hxx>
#include <editeng/lineitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <o3tl/unit_conversion.hxx>
#include <osl/diagnose.h>
#include <svl/numformat.hxx>
#include <svtools/scriptedtext.hxx>
#include <svx/framelink.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <comphelper/processfactory.hxx>
#include <drawinglayer/processor2d/processor2dtools.hxx>
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <strings.hrc>
#include <zforauto.hxx>
#include <global.hxx>
#include <autoform.hxx>
#include <autofmt.hxx>
#include <scresid.hxx>
#include <document.hxx>
#include <viewdata.hxx>
#include <svtools/colorcfg.hxx>
#include <scmod.hxx>
Include dependency graph for autofmt.cxx:

Go to the source code of this file.

Macros

#define FRAME_OFFSET   4
 
#define SETONALLFONTS(MethodName, Value)   rFont.MethodName( Value ); rCJKFont.MethodName( Value ); rCTLFont.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 56 of file autofmt.cxx.

◆ SETONALLFONTS

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

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 447 of file autofmt.cxx.

References o3tl::convert(), o3tl::pt, svx::frame::Style::Set(), and o3tl::twip.

Referenced by ScAutoFmtPreview::CalcLineMap().