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 <strings.hrc>
#include <vcl/metric.hxx>
#include <vcl/settings.hxx>
#include <rtl/ustrbuf.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 <comphelper/processfactory.hxx>
#include <osl/diagnose.h>
#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, tools::Long &_nHeight, tools::Long &_nAscent)
 
 IMPL_LINK_NOARG (SwDropCapsPage, ClickHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwDropCapsPage, WholeWordHdl, weld::Toggleable &, 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

◆ BORDER

#define BORDER   2

Definition at line 170 of file drpcps.cxx.

◆ LINES

#define LINES   10

Definition at line 169 of file drpcps.cxx.

Function Documentation

◆ calcFontHeightAnyAscent()

static void calcFontHeightAnyAscent ( vcl::RenderContext rWin,
vcl::Font const &  _rFont,
tools::Long _nHeight,
tools::Long _nAscent 
)
static

◆ GetDefaultString()

static OUString GetDefaultString ( sal_Int32  nChars)
static

Definition at line 107 of file drpcps.cxx.

References aStr, and i.

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

◆ IMPL_LINK() [1/3]

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

Definition at line 700 of file drpcps.cxx.

◆ IMPL_LINK() [2/3]

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

Definition at line 690 of file drpcps.cxx.

◆ IMPL_LINK() [3/3]

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

Definition at line 695 of file drpcps.cxx.

◆ IMPL_LINK_NOARG() [1/3]

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

Definition at line 600 of file drpcps.cxx.

◆ IMPL_LINK_NOARG() [2/3]

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

Definition at line 705 of file drpcps.cxx.

◆ IMPL_LINK_NOARG() [3/3]

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

Definition at line 628 of file drpcps.cxx.