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 OString &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 OString &rID)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Deactivate ()
 
OString 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::ToggleButton &, 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
void updateDialogTravelUI ()
 
- Protected Member Functions inherited from vcl::IWizardPageController
 ~IWizardPageController ()
 
- 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 ( weld::Container pPage,
SwMailMergeWizard pWizard 
)
SwMailMergeLayoutPage::~SwMailMergeLayoutPage ( )
overridevirtual

Definition at line 154 of file mmlayoutpage.cxx.

References m_sExampleURL.

Member Function Documentation

void SwMailMergeLayoutPage::Activate ( )
overrideprivatevirtual
bool SwMailMergeLayoutPage::commitPage ( ::vcl::WizardTypes::CommitPageReason  _eReason)
overrideprivatevirtual
SwMailMergeLayoutPage::DECL_LINK ( PreviewLoadedHdl_Impl  ,
SwOneExampleFrame ,
void   
)
private
SwMailMergeLayoutPage::DECL_LINK ( ZoomHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SwMailMergeLayoutPage::DECL_LINK ( ChangeAddressHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SwMailMergeLayoutPage::DECL_LINK ( GreetingsHdl_Impl  ,
weld::Button ,
void   
)
private
SwMailMergeLayoutPage::DECL_LINK ( AlignToTextHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SwFrameFormat * SwMailMergeLayoutPage::InsertAddressAndGreeting ( SwView const *  pView,
SwMailMergeConfigItem rConfigItem,
const Point rAddressPos,
bool  bAlignToBody 
)
static
SwFrameFormat * SwMailMergeLayoutPage::InsertAddressFrame ( SwWrtShell rShell,
SwMailMergeConfigItem const &  rConfigItem,
const Point rDestination,
bool  bAlignToBody,
bool  bExample 
)
staticprivate
void SwMailMergeLayoutPage::InsertGreeting ( SwWrtShell rShell,
SwMailMergeConfigItem const &  rConfigItem,
bool  bExample 
)
staticprivate

Definition at line 396 of file mmlayoutpage.cxx.

References aData, aEntries, SwEditShell::AppendTextNode(), SwMergeAddressItem::bIsColumn, Database, DB_DELIM, DEFAULT_LEFT_DISTANCE, SwCursorShell::DeleteCurrent, SwMailMergeConfigItem::FEMALE, FILL_TAB_SPACE, 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, 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(), SwRect::Top(), and SwEditShell::UnlockExpFields().

Referenced by Activate(), and InsertAddressAndGreeting().

Member Data Documentation

bool SwMailMergeLayoutPage::m_bIsGreetingInserted
private

Definition at line 41 of file mmlayoutpage.hxx.

Referenced by Activate().

SwFrameFormat* SwMailMergeLayoutPage::m_pAddressBlockFormat
private

Definition at line 39 of file mmlayoutpage.hxx.

Referenced by Activate().

SwWrtShell* SwMailMergeLayoutPage::m_pExampleWrtShell
private

Definition at line 36 of file mmlayoutpage.hxx.

Referenced by Activate().

SwMailMergeWizard* SwMailMergeLayoutPage::m_pWizard
private

Definition at line 43 of file mmlayoutpage.hxx.

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

OUString SwMailMergeLayoutPage::m_sExampleURL
private

Definition at line 38 of file mmlayoutpage.hxx.

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

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

Definition at line 48 of file mmlayoutpage.hxx.

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

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

Definition at line 54 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage().

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

Definition at line 57 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage().

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

Definition at line 56 of file mmlayoutpage.hxx.

Referenced by Activate(), and SwMailMergeLayoutPage().

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

Definition at line 52 of file mmlayoutpage.hxx.

Referenced by Activate().

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

Definition at line 49 of file mmlayoutpage.hxx.

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

Definition at line 50 of file mmlayoutpage.hxx.

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

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

Definition at line 47 of file mmlayoutpage.hxx.

Referenced by Activate().

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

Definition at line 51 of file mmlayoutpage.hxx.

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

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

Definition at line 53 of file mmlayoutpage.hxx.

Referenced by SwMailMergeLayoutPage().

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

Definition at line 45 of file mmlayoutpage.hxx.

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: