LibreOffice Module sw (master) 1
Functions | Variables
mmlayoutpage.cxx File Reference
#include <swtypes.hxx>
#include "mmlayoutpage.hxx"
#include <mailmergewizard.hxx>
#include <mmconfigitem.hxx>
#include <mailmergehelper.hxx>
#include <unotools.hxx>
#include <comphelper/string.hxx>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/servicehelper.hxx>
#include <i18nutil/unicode.hxx>
#include <unotools/tempfile.hxx>
#include <uitool.hxx>
#include <view.hxx>
#include <swundo.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/fcontnr.hxx>
#include <svtools/unitconv.hxx>
#include <com/sun/star/view/XViewSettingsSupplier.hpp>
#include <com/sun/star/view/DocumentZoomType.hpp>
#include <fldmgr.hxx>
#include <fldbas.hxx>
#include <unotxdoc.hxx>
#include <docsh.hxx>
#include <doc.hxx>
#include <wrtsh.hxx>
#include <fmtsrnd.hxx>
#include <pagedesc.hxx>
#include <fmtanchr.hxx>
#include <fmtornt.hxx>
#include <fmtfsize.hxx>
#include <editeng/boxitem.hxx>
#include <osl/file.hxx>
#include <vcl/settings.hxx>
#include <unoprnms.hxx>
#include <dbui.hrc>
Include dependency graph for mmlayoutpage.cxx:

Go to the source code of this file.

Functions

 IMPL_LINK_NOARG (SwMailMergeLayoutPage, PreviewLoadedHdl_Impl, SwOneExampleFrame &, void)
 
 IMPL_LINK (SwMailMergeLayoutPage, ZoomHdl_Impl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK_NOARG (SwMailMergeLayoutPage, ChangeAddressHdl_Impl, weld::MetricSpinButton &, void)
 
 IMPL_LINK (SwMailMergeLayoutPage, GreetingsHdl_Impl, weld::Button &, rButton, void)
 
 IMPL_LINK (SwMailMergeLayoutPage, AlignToTextHdl_Impl, weld::Toggleable &, rBox, void)
 

Variables

constexpr tools::Long DEFAULT_LEFT_DISTANCE = o3tl::toTwips(25, o3tl::Length::mm)
 
constexpr tools::Long DEFAULT_TOP_DISTANCE = o3tl::toTwips(55, o3tl::Length::mm)
 
constexpr tools::Long GREETING_TOP_DISTANCE = o3tl::toTwips(125, o3tl::Length::mm)
 
constexpr tools::Long DEFAULT_ADDRESS_WIDTH = o3tl::toTwips(75, o3tl::Length::mm)
 
constexpr tools::Long DEFAULT_ADDRESS_HEIGHT = o3tl::toTwips(35, o3tl::Length::mm)
 

Function Documentation

◆ IMPL_LINK() [1/3]

IMPL_LINK ( SwMailMergeLayoutPage  ,
AlignToTextHdl_Impl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 684 of file mmlayoutpage.cxx.

◆ IMPL_LINK() [2/3]

IMPL_LINK ( SwMailMergeLayoutPage  ,
GreetingsHdl_Impl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 670 of file mmlayoutpage.cxx.

◆ IMPL_LINK() [3/3]

IMPL_LINK ( SwMailMergeLayoutPage  ,
ZoomHdl_Impl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 628 of file mmlayoutpage.cxx.

References Any, eType, UNO_NAME_ZOOM_TYPE, and UNO_NAME_ZOOM_VALUE.

◆ IMPL_LINK_NOARG() [1/2]

IMPL_LINK_NOARG ( SwMailMergeLayoutPage  ,
ChangeAddressHdl_Impl  ,
weld::MetricSpinButton ,
void   
)

Definition at line 651 of file mmlayoutpage.cxx.

References SwPostItHelper::NONE, and SfxItemSet::Put().

◆ IMPL_LINK_NOARG() [2/2]

IMPL_LINK_NOARG ( SwMailMergeLayoutPage  ,
PreviewLoadedHdl_Impl  ,
SwOneExampleFrame ,
void   
)

Variable Documentation

◆ DEFAULT_ADDRESS_HEIGHT

constexpr tools::Long DEFAULT_ADDRESS_HEIGHT = o3tl::toTwips(35, o3tl::Length::mm)
constexpr

Definition at line 70 of file mmlayoutpage.cxx.

Referenced by SwMailMergeLayoutPage::InsertAddressFrame().

◆ DEFAULT_ADDRESS_WIDTH

constexpr tools::Long DEFAULT_ADDRESS_WIDTH = o3tl::toTwips(75, o3tl::Length::mm)
constexpr

Definition at line 69 of file mmlayoutpage.cxx.

Referenced by SwMailMergeLayoutPage::InsertAddressFrame().

◆ DEFAULT_LEFT_DISTANCE

constexpr tools::Long DEFAULT_LEFT_DISTANCE = o3tl::toTwips(25, o3tl::Length::mm)
constexpr

◆ DEFAULT_TOP_DISTANCE

constexpr tools::Long DEFAULT_TOP_DISTANCE = o3tl::toTwips(55, o3tl::Length::mm)
constexpr

◆ GREETING_TOP_DISTANCE

constexpr tools::Long GREETING_TOP_DISTANCE = o3tl::toTwips(125, o3tl::Length::mm)
constexpr

Definition at line 68 of file mmlayoutpage.cxx.

Referenced by SwMailMergeLayoutPage::InsertGreeting().