LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxRubyDialog Class Referencefinal

#include <rubydialog.hxx>

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

Public Member Functions

 SvxRubyDialog (SfxBindings *pBindings, SfxChildWindow *pCW, weld::Window *pParent)
 
virtual ~SvxRubyDialog () override
 
virtual void Activate () override
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog (int nResponse) override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
virtual void FillInfo (SfxChildWinInfo &) const
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Private Member Functions

 DECL_LINK (ApplyHdl_Impl, weld::Button &, void)
 
 DECL_LINK (CloseHdl_Impl, weld::Button &, void)
 
 DECL_LINK (StylistHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ScrollHdl_Impl, weld::ScrolledWindow &, void)
 
 DECL_LINK (PositionHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (AdjustHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (CharStyleHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (EditModifyHdl_Impl, weld::Entry &, void)
 
 DECL_LINK (EditFocusHdl_Impl, weld::Widget &, void)
 
 DECL_LINK (KeyUpDownHdl_Impl, const KeyEvent &, bool)
 
 DECL_LINK (KeyUpDownTabHdl_Impl, const KeyEvent &, bool)
 
bool EditScrollHdl_Impl (sal_Int32 nParam)
 
bool EditJumpHdl_Impl (sal_Int32 nParam)
 
void SetRubyText (sal_Int32 nPos, weld::Entry &rLeft, weld::Entry &rRight)
 
void GetRubyText ()
 
void ClearCharStyleList ()
 
void AssertOneEntry ()
 
void Update ()
 
virtual void Close () override
 
tools::Long GetLastPos () const
 
void SetLastPos (tools::Long nSet)
 
bool IsModified () const
 
void SetModified (bool bSet)
 
void EnableControls (bool bEnable)
 
void GetCurrentText (OUString &rBase, OUString &rRuby)
 

Private Attributes

tools::Long nLastPos
 
tools::Long nCurrentEdit
 
bool bModified
 
SfxBindingspBindings
 
rtl::Reference< SvxRubyData_Implm_pImpl
 
weld::EntryaEditArr [8]
 
std::unique_ptr< weld::Entrym_xLeft1ED
 
std::unique_ptr< weld::Entrym_xRight1ED
 
std::unique_ptr< weld::Entrym_xLeft2ED
 
std::unique_ptr< weld::Entrym_xRight2ED
 
std::unique_ptr< weld::Entrym_xLeft3ED
 
std::unique_ptr< weld::Entrym_xRight3ED
 
std::unique_ptr< weld::Entrym_xLeft4ED
 
std::unique_ptr< weld::Entrym_xRight4ED
 
std::unique_ptr< weld::ScrolledWindowm_xScrolledWindow
 
std::unique_ptr< weld::ComboBoxm_xAdjustLB
 
std::unique_ptr< weld::ComboBoxm_xPositionLB
 
std::unique_ptr< weld::Labelm_xCharStyleFT
 
std::unique_ptr< weld::ComboBoxm_xCharStyleLB
 
std::unique_ptr< weld::Buttonm_xStylistPB
 
std::unique_ptr< weld::Buttonm_xApplyPB
 
std::unique_ptr< weld::Buttonm_xClosePB
 
std::unique_ptr< weld::Containerm_xContentArea
 
std::unique_ptr< weld::Widgetm_xGrid
 
std::unique_ptr< RubyPreviewm_xPreviewWin
 
std::unique_ptr< weld::CustomWeldm_xPreview
 

Friends

class RubyPreview
 

Additional Inherited Members

- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 

Detailed Description

Definition at line 55 of file rubydialog.hxx.

Constructor & Destructor Documentation

◆ SvxRubyDialog()

SvxRubyDialog::SvxRubyDialog ( SfxBindings pBindings,
SfxChildWindow pCW,
weld::Window pParent 
)

◆ ~SvxRubyDialog()

SvxRubyDialog::~SvxRubyDialog ( )
overridevirtual

Definition at line 255 of file rubydialog.cxx.

References aEvent, ClearCharStyleList(), and m_pImpl.

Member Function Documentation

◆ Activate()

void SvxRubyDialog::Activate ( )
overridevirtual

◆ AssertOneEntry()

void SvxRubyDialog::AssertOneEntry ( )
private

Definition at line 676 of file rubydialog.cxx.

References m_pImpl.

◆ ClearCharStyleList()

void SvxRubyDialog::ClearCharStyleList ( )
private

Definition at line 262 of file rubydialog.cxx.

References m_xCharStyleLB.

Referenced by Activate(), and ~SvxRubyDialog().

◆ Close()

void SvxRubyDialog::Close ( )
overrideprivatevirtual

◆ DECL_LINK() [1/11]

SvxRubyDialog::DECL_LINK ( AdjustHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/11]

SvxRubyDialog::DECL_LINK ( ApplyHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/11]

SvxRubyDialog::DECL_LINK ( CharStyleHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/11]

SvxRubyDialog::DECL_LINK ( CloseHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/11]

SvxRubyDialog::DECL_LINK ( EditFocusHdl_Impl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [6/11]

SvxRubyDialog::DECL_LINK ( EditModifyHdl_Impl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [7/11]

SvxRubyDialog::DECL_LINK ( KeyUpDownHdl_Impl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [8/11]

SvxRubyDialog::DECL_LINK ( KeyUpDownTabHdl_Impl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [9/11]

SvxRubyDialog::DECL_LINK ( PositionHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [10/11]

SvxRubyDialog::DECL_LINK ( ScrollHdl_Impl  ,
weld::ScrolledWindow ,
void   
)
private

◆ DECL_LINK() [11/11]

SvxRubyDialog::DECL_LINK ( StylistHdl_Impl  ,
weld::Button ,
void   
)
private

◆ EditJumpHdl_Impl()

bool SvxRubyDialog::EditJumpHdl_Impl ( sal_Int32  nParam)
private

Definition at line 646 of file rubydialog.cxx.

References aEditArr, EditScrollHdl_Impl(), weld::Widget::grab_focus(), i, and nIndex.

◆ EditScrollHdl_Impl()

bool SvxRubyDialog::EditScrollHdl_Impl ( sal_Int32  nParam)
private

◆ EnableControls()

void SvxRubyDialog::EnableControls ( bool  bEnable)
private

Definition at line 678 of file rubydialog.cxx.

References m_xApplyPB, and m_xContentArea.

Referenced by Activate().

◆ GetCurrentText()

void SvxRubyDialog::GetCurrentText ( OUString &  rBase,
OUString &  rRuby 
)
private

Definition at line 486 of file rubydialog.cxx.

References aEditArr, weld::Entry::get_text(), and nCurrentEdit.

Referenced by RubyPreview::Paint().

◆ GetLastPos()

tools::Long SvxRubyDialog::GetLastPos ( ) const
inlineprivate

Definition at line 118 of file rubydialog.hxx.

References nLastPos.

Referenced by GetRubyText().

◆ GetRubyText()

void SvxRubyDialog::GetRubyText ( )
private

◆ IsModified()

bool SvxRubyDialog::IsModified ( ) const
inlineprivate

Definition at line 121 of file rubydialog.hxx.

References bModified.

◆ SetLastPos()

void SvxRubyDialog::SetLastPos ( tools::Long  nSet)
inlineprivate

Definition at line 119 of file rubydialog.hxx.

References nLastPos.

Referenced by Update().

◆ SetModified()

void SvxRubyDialog::SetModified ( bool  bSet)
inlineprivate

Definition at line 122 of file rubydialog.hxx.

References bModified.

Referenced by GetRubyText(), and Update().

◆ SetRubyText()

void SvxRubyDialog::SetRubyText ( sal_Int32  nPos,
weld::Entry rLeft,
weld::Entry rRight 
)
private

◆ Update()

void SvxRubyDialog::Update ( )
private

Friends And Related Function Documentation

◆ RubyPreview

friend class RubyPreview
friend

Definition at line 57 of file rubydialog.hxx.

Member Data Documentation

◆ aEditArr

weld::Entry* SvxRubyDialog::aEditArr[8]
private

◆ bModified

bool SvxRubyDialog::bModified
private

Definition at line 62 of file rubydialog.hxx.

Referenced by IsModified(), and SetModified().

◆ m_pImpl

rtl::Reference<SvxRubyData_Impl> SvxRubyDialog::m_pImpl
private

◆ m_xAdjustLB

std::unique_ptr<weld::ComboBox> SvxRubyDialog::m_xAdjustLB
private

Definition at line 78 of file rubydialog.hxx.

Referenced by RubyPreview::Paint(), SvxRubyDialog(), and Update().

◆ m_xApplyPB

std::unique_ptr<weld::Button> SvxRubyDialog::m_xApplyPB
private

Definition at line 86 of file rubydialog.hxx.

Referenced by EnableControls(), and SvxRubyDialog().

◆ m_xCharStyleFT

std::unique_ptr<weld::Label> SvxRubyDialog::m_xCharStyleFT
private

Definition at line 82 of file rubydialog.hxx.

Referenced by Activate().

◆ m_xCharStyleLB

std::unique_ptr<weld::ComboBox> SvxRubyDialog::m_xCharStyleLB
private

Definition at line 83 of file rubydialog.hxx.

Referenced by Activate(), ClearCharStyleList(), SvxRubyDialog(), and Update().

◆ m_xClosePB

std::unique_ptr<weld::Button> SvxRubyDialog::m_xClosePB
private

Definition at line 87 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xContentArea

std::unique_ptr<weld::Container> SvxRubyDialog::m_xContentArea
private

Definition at line 89 of file rubydialog.hxx.

Referenced by EnableControls().

◆ m_xGrid

std::unique_ptr<weld::Widget> SvxRubyDialog::m_xGrid
private

Definition at line 90 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xLeft1ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xLeft1ED
private

Definition at line 67 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xLeft2ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xLeft2ED
private

Definition at line 69 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xLeft3ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xLeft3ED
private

Definition at line 71 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xLeft4ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xLeft4ED
private

Definition at line 73 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xPositionLB

std::unique_ptr<weld::ComboBox> SvxRubyDialog::m_xPositionLB
private

Definition at line 80 of file rubydialog.hxx.

Referenced by RubyPreview::Paint(), SvxRubyDialog(), and Update().

◆ m_xPreview

std::unique_ptr<weld::CustomWeld> SvxRubyDialog::m_xPreview
private

Definition at line 93 of file rubydialog.hxx.

◆ m_xPreviewWin

std::unique_ptr<RubyPreview> SvxRubyDialog::m_xPreviewWin
private

Definition at line 92 of file rubydialog.hxx.

Referenced by Activate(), and SvxRubyDialog().

◆ m_xRight1ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xRight1ED
private

Definition at line 68 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xRight2ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xRight2ED
private

Definition at line 70 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xRight3ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xRight3ED
private

Definition at line 72 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xRight4ED

std::unique_ptr<weld::Entry> SvxRubyDialog::m_xRight4ED
private

Definition at line 74 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ m_xScrolledWindow

std::unique_ptr<weld::ScrolledWindow> SvxRubyDialog::m_xScrolledWindow
private

Definition at line 76 of file rubydialog.hxx.

Referenced by EditScrollHdl_Impl(), SvxRubyDialog(), and Update().

◆ m_xStylistPB

std::unique_ptr<weld::Button> SvxRubyDialog::m_xStylistPB
private

Definition at line 84 of file rubydialog.hxx.

Referenced by SvxRubyDialog().

◆ nCurrentEdit

tools::Long SvxRubyDialog::nCurrentEdit
private

Definition at line 61 of file rubydialog.hxx.

Referenced by GetCurrentText().

◆ nLastPos

tools::Long SvxRubyDialog::nLastPos
private

Definition at line 60 of file rubydialog.hxx.

Referenced by GetLastPos(), and SetLastPos().

◆ pBindings

SfxBindings* SvxRubyDialog::pBindings
private

Definition at line 63 of file rubydialog.hxx.


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