LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwMailMergeLayoutPage Class Reference

#include <mmlayoutpage.hxx>

Inheritance diagram for SwMailMergeLayoutPage:
[legend]
Collaboration diagram for SwMailMergeLayoutPage:
[legend]

Public Member Functions

 SwMailMergeLayoutPage (weld::Container *pPage, SwMailMergeWizard *pWizard)
 
virtual ~SwMailMergeLayoutPage () override
 
- Public Member Functions inherited from vcl::OWizardPage
 OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual ~OWizardPage () override
 
virtual void initializePage () override
 
virtual bool commitPage (WizardTypes::CommitPageReason _eReason) override
 
virtual bool canAdvance () const override
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 

Static Public Member Functions

static SwFrameFormatInsertAddressAndGreeting (SwView const *pView, SwMailMergeConfigItem &rConfigItem, const Point &rAddressPos, bool bAlignToBody)
 

Private Member Functions

 DECL_LINK (PreviewLoadedHdl_Impl, SwOneExampleFrame &, void)
 
 DECL_LINK (ZoomHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ChangeAddressHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (GreetingsHdl_Impl, weld::Button &, void)
 
 DECL_LINK (AlignToTextHdl_Impl, weld::Toggleable &, void)
 
virtual void Activate () override
 
virtual bool commitPage (::vcl::WizardTypes::CommitPageReason _eReason) override
 

Static Private Member Functions

static SwFrameFormatInsertAddressFrame (SwWrtShell &rShell, SwMailMergeConfigItem const &rConfigItem, const Point &rDestination, bool bAlignToBody, bool bExample)
 
static void InsertGreeting (SwWrtShell &rShell, SwMailMergeConfigItem const &rConfigItem, bool bExample)
 

Private Attributes

SwWrtShellm_pExampleWrtShell
 
OUString m_sExampleURL
 
SwFrameFormatm_pAddressBlockFormat
 
bool m_bIsGreetingInserted
 
SwMailMergeWizardm_pWizard
 
css::uno::Reference< css::beans::XPropertySetm_xViewProperties
 
std::unique_ptr< weld::Containerm_xPosition
 
std::unique_ptr< weld::CheckButtonm_xAlignToBodyCB
 
std::unique_ptr< weld::Labelm_xLeftFT
 
std::unique_ptr< weld::MetricSpinButtonm_xLeftMF
 
std::unique_ptr< weld::MetricSpinButtonm_xTopMF
 
std::unique_ptr< weld::Containerm_xGreetingLine
 
std::unique_ptr< weld::Buttonm_xUpPB
 
std::unique_ptr< weld::Buttonm_xDownPB
 
std::unique_ptr< weld::ComboBoxm_xZoomLB
 
std::unique_ptr< SwOneExampleFramem_xExampleFrame
 
std::unique_ptr< weld::CustomWeldm_xExampleContainerWIN
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 34 of file mmlayoutpage.hxx.

Constructor & Destructor Documentation

◆ SwMailMergeLayoutPage()

SwMailMergeLayoutPage::SwMailMergeLayoutPage ( weld::Container pPage,
SwMailMergeWizard pWizard 
)

◆ ~SwMailMergeLayoutPage()

SwMailMergeLayoutPage::~SwMailMergeLayoutPage ( )
overridevirtual

Definition at line 148 of file mmlayoutpage.cxx.

References m_sExampleURL.

Member Function Documentation

◆ Activate()

void SwMailMergeLayoutPage::Activate ( )
overrideprivatevirtual

◆ commitPage()

bool SwMailMergeLayoutPage::commitPage ( ::vcl::WizardTypes::CommitPageReason  _eReason)
overrideprivatevirtual

◆ DECL_LINK() [1/5]

SwMailMergeLayoutPage::DECL_LINK ( AlignToTextHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/5]

SwMailMergeLayoutPage::DECL_LINK ( ChangeAddressHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [3/5]

SwMailMergeLayoutPage::DECL_LINK ( GreetingsHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/5]

SwMailMergeLayoutPage::DECL_LINK ( PreviewLoadedHdl_Impl  ,
SwOneExampleFrame ,
void   
)
private

◆ DECL_LINK() [5/5]

SwMailMergeLayoutPage::DECL_LINK ( ZoomHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ InsertAddressAndGreeting()

SwFrameFormat * SwMailMergeLayoutPage::InsertAddressAndGreeting ( SwView const *  pView,
SwMailMergeConfigItem rConfigItem,
const Point rAddressPos,
bool  bAlignToBody 
)
static

◆ InsertAddressFrame()

SwFrameFormat * SwMailMergeLayoutPage::InsertAddressFrame ( SwWrtShell rShell,
SwMailMergeConfigItem const &  rConfigItem,
const Point rDestination,
bool  bAlignToBody,
bool  bExample 
)
staticprivate

◆ InsertGreeting()

void SwMailMergeLayoutPage::InsertGreeting ( SwWrtShell rShell,
SwMailMergeConfigItem const &  rConfigItem,
bool  bExample 
)
staticprivate

Definition at line 388 of file mmlayoutpage.cxx.

References SL::aData, aEntries, SwEditShell::AppendTextNode(), SwMergeAddressItem::bIsColumn, Database, DB_DELIM, DEFAULT_LEFT_DISTANCE, SwCursorShell::DeleteCurrent, SwMailMergeConfigItem::FEMALE, first, fnParaStart, SwWrtShell::FwdPara(), SwFEShell::GetAnyCurRect(), SwMailMergeConfigItem::GetAssignedColumn(), SwCursorShell::GetCharRect(), SwMailMergeConfigItem::GetColumnAssignment(), SwMailMergeConfigItem::GetCurrentDBData(), SwMailMergeConfigItem::GetCurrentGreeting(), SwMailMergeConfigItem::GetDefaultAddressHeaders(), SwMailMergeConfigItem::GetFemaleGenderValue(), SwMailMergeConfigItem::GetGreetingMoves(), SwMailMergeConfigItem::GetGreetings(), SwEditShell::GetTableFormat(), GoCurrPara(), GREETING_TOP_DISTANCE, SwAddressIterator::HasMore(), HiddenParagraph, SwWrtShell::Insert(), SwFieldMgr::InsertField(), SwCursorShell::IsEndPara(), SwMailMergeConfigItem::IsHideEmptyParagraphs(), SwMailMergeConfigItem::IsIndividualGreeting(), SwRect::Left(), SwEditShell::LockExpFields(), SwMailMergeConfigItem::MALE, min(), SwCursorShell::MovePara(), SwEditShell::MoveParagraph(), SwDBData::nCommandType, SwMailMergeConfigItem::NEUTRAL, SwAddressIterator::Next(), Page, SwWrtShell::Pop(), SwCursorShell::Push(), SwDBData::sCommand, SwDBData::sDataSource, SwCursorShell::SetShadowCursorPos(), SwWrtShell::SplitNode(), SwMergeAddressItem::sText, SwCursorShell::SttEndDoc(), SwWrtShell::SttPara(), TabSpace, SwRect::Top(), and SwEditShell::UnlockExpFields().

Referenced by Activate(), and InsertAddressAndGreeting().

Member Data Documentation

◆ m_bIsGreetingInserted

bool SwMailMergeLayoutPage::m_bIsGreetingInserted
private

Definition at line 41 of file mmlayoutpage.hxx.

Referenced by Activate().

◆ m_pAddressBlockFormat

SwFrameFormat* SwMailMergeLayoutPage::m_pAddressBlockFormat
private

Definition at line 39 of file mmlayoutpage.hxx.

Referenced by Activate().

◆ m_pExampleWrtShell

SwWrtShell* SwMailMergeLayoutPage::m_pExampleWrtShell
private

Definition at line 36 of file mmlayoutpage.hxx.

Referenced by Activate().

◆ m_pWizard

SwMailMergeWizard* SwMailMergeLayoutPage::m_pWizard
private

Definition at line 43 of file mmlayoutpage.hxx.

Referenced by Activate(), commitPage(), and SwMailMergeLayoutPage().

◆ m_sExampleURL

OUString SwMailMergeLayoutPage::m_sExampleURL
private

Definition at line 38 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage(), and ~SwMailMergeLayoutPage().

◆ m_xAlignToBodyCB

std::unique_ptr<weld::CheckButton> SwMailMergeLayoutPage::m_xAlignToBodyCB
private

Definition at line 48 of file mmlayoutpage.hxx.

Referenced by Activate(), commitPage(), and SwMailMergeLayoutPage().

◆ m_xDownPB

std::unique_ptr<weld::Button> SwMailMergeLayoutPage::m_xDownPB
private

Definition at line 54 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage().

◆ m_xExampleContainerWIN

std::unique_ptr<weld::CustomWeld> SwMailMergeLayoutPage::m_xExampleContainerWIN
private

Definition at line 57 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage().

◆ m_xExampleFrame

std::unique_ptr<SwOneExampleFrame> SwMailMergeLayoutPage::m_xExampleFrame
private

Definition at line 56 of file mmlayoutpage.hxx.

Referenced by Activate(), and SwMailMergeLayoutPage().

◆ m_xGreetingLine

std::unique_ptr<weld::Container> SwMailMergeLayoutPage::m_xGreetingLine
private

Definition at line 52 of file mmlayoutpage.hxx.

Referenced by Activate().

◆ m_xLeftFT

std::unique_ptr<weld::Label> SwMailMergeLayoutPage::m_xLeftFT
private

Definition at line 49 of file mmlayoutpage.hxx.

◆ m_xLeftMF

std::unique_ptr<weld::MetricSpinButton> SwMailMergeLayoutPage::m_xLeftMF
private

Definition at line 50 of file mmlayoutpage.hxx.

Referenced by Activate(), commitPage(), and SwMailMergeLayoutPage().

◆ m_xPosition

std::unique_ptr<weld::Container> SwMailMergeLayoutPage::m_xPosition
private

Definition at line 47 of file mmlayoutpage.hxx.

Referenced by Activate().

◆ m_xTopMF

std::unique_ptr<weld::MetricSpinButton> SwMailMergeLayoutPage::m_xTopMF
private

Definition at line 51 of file mmlayoutpage.hxx.

Referenced by Activate(), commitPage(), and SwMailMergeLayoutPage().

◆ m_xUpPB

std::unique_ptr<weld::Button> SwMailMergeLayoutPage::m_xUpPB
private

Definition at line 53 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage().

◆ m_xViewProperties

css::uno::Reference< css::beans::XPropertySet > SwMailMergeLayoutPage::m_xViewProperties
private

Definition at line 45 of file mmlayoutpage.hxx.

◆ m_xZoomLB

std::unique_ptr<weld::ComboBox> SwMailMergeLayoutPage::m_xZoomLB
private

Definition at line 55 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage().


The documentation for this class was generated from the following files: