LibreOffice Module sw (master)  1
Macros | Functions
drpcps.cxx File Reference
#include <hintids.hxx>
#include <cmdid.h>
#include <docsh.hxx>
#include <swmodule.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <globals.hrc>
#include <strings.hrc>
#include <vcl/metric.hxx>
#include <vcl/settings.hxx>
#include <svl/stritem.hxx>
#include <editeng/fontitem.hxx>
#include <sfx2/dialoghelper.hxx>
#include <sfx2/htmlmode.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/printer.hxx>
#include <svtools/unitconv.hxx>
#include <vcl/print.hxx>
#include <vcl/svapp.hxx>
#include <com/sun/star/i18n/BreakIterator.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <editeng/scripttypeitem.hxx>
#include <comphelper/processfactory.hxx>
#include <charatr.hxx>
#include <viewopt.hxx>
#include <drpcps.hxx>
#include <paratr.hxx>
#include <uitool.hxx>
#include <charfmt.hxx>
Include dependency graph for drpcps.cxx:

Go to the source code of this file.

Macros

#define LINES   10
 
#define BORDER   2
 

Functions

static OUString GetDefaultString (sal_Int32 nChars)
 
static void calcFontHeightAnyAscent (vcl::RenderContext &rWin, vcl::Font const &_rFont, long &_nHeight, long &_nAscent)
 
 IMPL_LINK_NOARG (SwDropCapsPage, ClickHdl, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (SwDropCapsPage, WholeWordHdl, weld::ToggleButton &, void)
 
 IMPL_LINK (SwDropCapsPage, ModifyHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SwDropCapsPage, ValueChangedHdl, weld::SpinButton &, rEdit, void)
 
 IMPL_LINK (SwDropCapsPage, MetricValueChangedHdl, weld::MetricSpinButton &, rEdit, void)
 
 IMPL_LINK_NOARG (SwDropCapsPage, SelectHdl, weld::ComboBox &, void)
 

Macro Definition Documentation

#define BORDER   2

Definition at line 173 of file drpcps.cxx.

Referenced by SwDropCapsPict::Paint(), and SwDropCapsPict::UpdatePaintSettings().

#define LINES   10

Definition at line 172 of file drpcps.cxx.

Referenced by SwDropCapsPict::Paint(), and SwDropCapsPict::UpdatePaintSettings().

Function Documentation

static void calcFontHeightAnyAscent ( vcl::RenderContext rWin,
vcl::Font const &  _rFont,
long &  _nHeight,
long &  _nAscent 
)
static
static OUString GetDefaultString ( sal_Int32  nChars)
static

Definition at line 110 of file drpcps.cxx.

References aStr, and i.

Referenced by SwDropCapsPage::ModifyEntry(), and SwDropCapsPage::Reset().

IMPL_LINK ( SwDropCapsPage  ,
ModifyHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 676 of file drpcps.cxx.

References rEdit.

IMPL_LINK ( SwDropCapsPage  ,
ValueChangedHdl  ,
weld::SpinButton ,
rEdit  ,
void   
)

Definition at line 681 of file drpcps.cxx.

References rEdit.

IMPL_LINK ( SwDropCapsPage  ,
MetricValueChangedHdl  ,
weld::MetricSpinButton ,
rEdit  ,
void   
)

Definition at line 686 of file drpcps.cxx.

References rEdit.

IMPL_LINK_NOARG ( SwDropCapsPage  ,
ClickHdl  ,
weld::ToggleButton ,
void   
)

Definition at line 589 of file drpcps.cxx.

IMPL_LINK_NOARG ( SwDropCapsPage  ,
WholeWordHdl  ,
weld::ToggleButton ,
void   
)

Definition at line 617 of file drpcps.cxx.

IMPL_LINK_NOARG ( SwDropCapsPage  ,
SelectHdl  ,
weld::ComboBox ,
void   
)

Definition at line 691 of file drpcps.cxx.