LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwJavaEditDialog Class Referencefinal

#include <javaedit.hxx>

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

Public Member Functions

 SwJavaEditDialog (weld::Window *pParent, SwWrtShell *pWrtSh)
 
virtual ~SwJavaEditDialog () override
 
const OUString & GetScriptText () const
 
const OUString & GetScriptType () const
 
bool IsUrl () const
 
bool IsNew () const
 
bool IsUpdate () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (OKHdl, weld::Button &, void)
 
 DECL_LINK (PrevHdl, weld::Button &, void)
 
 DECL_LINK (NextHdl, weld::Button &, void)
 
 DECL_LINK (RadioButtonHdl, weld::Toggleable &, void)
 
 DECL_LINK (InsertFileHdl, weld::Button &, void)
 
 DECL_LINK (DlgClosedHdl, sfx2::FileDialogHelper *, void)
 
void UpdateFromRadioButtons ()
 
void CheckTravel ()
 
void SetField ()
 

Private Attributes

OUString m_aText
 
OUString m_aType
 
bool m_bNew
 
bool m_bIsUrl
 
SwScriptFieldm_pField
 
std::unique_ptr< SwFieldMgrm_pMgr
 
SwWrtShellm_pSh
 
std::unique_ptr< sfx2::FileDialogHelperm_pFileDlg
 
std::unique_ptr< weld::Entrym_xTypeED
 
std::unique_ptr< weld::RadioButtonm_xUrlRB
 
std::unique_ptr< weld::RadioButtonm_xEditRB
 
std::unique_ptr< weld::Buttonm_xUrlPB
 
std::unique_ptr< weld::Entrym_xUrlED
 
std::unique_ptr< weld::TextViewm_xEditED
 
std::unique_ptr< weld::Buttonm_xOKBtn
 
std::unique_ptr< weld::Buttonm_xPrevBtn
 
std::unique_ptr< weld::Buttonm_xNextBtn
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 29 of file javaedit.hxx.

Constructor & Destructor Documentation

◆ SwJavaEditDialog()

SwJavaEditDialog::SwJavaEditDialog ( weld::Window pParent,
SwWrtShell pWrtSh 
)

◆ ~SwJavaEditDialog()

SwJavaEditDialog::~SwJavaEditDialog ( )
overridevirtual

Definition at line 74 of file javaedit.cxx.

References SwWrtShell::EnterStdMode(), m_pFileDlg, m_pMgr, and m_pSh.

Member Function Documentation

◆ CheckTravel()

void SwJavaEditDialog::CheckTravel ( )
private

◆ DECL_LINK() [1/6]

SwJavaEditDialog::DECL_LINK ( DlgClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)
private

◆ DECL_LINK() [2/6]

SwJavaEditDialog::DECL_LINK ( InsertFileHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/6]

SwJavaEditDialog::DECL_LINK ( NextHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/6]

SwJavaEditDialog::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/6]

SwJavaEditDialog::DECL_LINK ( PrevHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/6]

SwJavaEditDialog::DECL_LINK ( RadioButtonHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetScriptText()

const OUString & SwJavaEditDialog::GetScriptText ( ) const
inline

Definition at line 68 of file javaedit.hxx.

References m_aText.

◆ GetScriptType()

const OUString & SwJavaEditDialog::GetScriptType ( ) const
inline

Definition at line 70 of file javaedit.hxx.

References m_aType.

◆ IsNew()

bool SwJavaEditDialog::IsNew ( ) const
inline

Definition at line 73 of file javaedit.hxx.

References m_bNew.

◆ IsUpdate()

bool SwJavaEditDialog::IsUpdate ( ) const

◆ IsUrl()

bool SwJavaEditDialog::IsUrl ( ) const
inline

Definition at line 72 of file javaedit.hxx.

References m_bIsUrl.

◆ SetField()

void SwJavaEditDialog::SetField ( )
private

◆ UpdateFromRadioButtons()

void SwJavaEditDialog::UpdateFromRadioButtons ( )
private

Member Data Documentation

◆ m_aText

OUString SwJavaEditDialog::m_aText
private

Definition at line 32 of file javaedit.hxx.

Referenced by GetScriptText(), IsUpdate(), and SetField().

◆ m_aType

OUString SwJavaEditDialog::m_aType
private

Definition at line 33 of file javaedit.hxx.

Referenced by GetScriptType(), IsUpdate(), and SetField().

◆ m_bIsUrl

bool SwJavaEditDialog::m_bIsUrl
private

Definition at line 36 of file javaedit.hxx.

Referenced by IsUpdate(), IsUrl(), and SetField().

◆ m_bNew

bool SwJavaEditDialog::m_bNew
private

Definition at line 35 of file javaedit.hxx.

Referenced by CheckTravel(), IsNew(), SwJavaEditDialog(), and UpdateFromRadioButtons().

◆ m_pField

SwScriptField* SwJavaEditDialog::m_pField
private

Definition at line 38 of file javaedit.hxx.

Referenced by CheckTravel(), IsUpdate(), and SwJavaEditDialog().

◆ m_pFileDlg

std::unique_ptr<sfx2::FileDialogHelper> SwJavaEditDialog::m_pFileDlg
private

Definition at line 41 of file javaedit.hxx.

Referenced by ~SwJavaEditDialog().

◆ m_pMgr

std::unique_ptr<SwFieldMgr> SwJavaEditDialog::m_pMgr
private

Definition at line 39 of file javaedit.hxx.

Referenced by CheckTravel(), SwJavaEditDialog(), and ~SwJavaEditDialog().

◆ m_pSh

SwWrtShell* SwJavaEditDialog::m_pSh
private

◆ m_xEditED

std::unique_ptr<weld::TextView> SwJavaEditDialog::m_xEditED
private

Definition at line 48 of file javaedit.hxx.

Referenced by CheckTravel(), SetField(), and UpdateFromRadioButtons().

◆ m_xEditRB

std::unique_ptr<weld::RadioButton> SwJavaEditDialog::m_xEditRB
private

Definition at line 45 of file javaedit.hxx.

Referenced by CheckTravel(), and SwJavaEditDialog().

◆ m_xNextBtn

std::unique_ptr<weld::Button> SwJavaEditDialog::m_xNextBtn
private

Definition at line 51 of file javaedit.hxx.

Referenced by CheckTravel(), and SwJavaEditDialog().

◆ m_xOKBtn

std::unique_ptr<weld::Button> SwJavaEditDialog::m_xOKBtn
private

Definition at line 49 of file javaedit.hxx.

Referenced by SetField(), SwJavaEditDialog(), and UpdateFromRadioButtons().

◆ m_xPrevBtn

std::unique_ptr<weld::Button> SwJavaEditDialog::m_xPrevBtn
private

Definition at line 50 of file javaedit.hxx.

Referenced by CheckTravel(), and SwJavaEditDialog().

◆ m_xTypeED

std::unique_ptr<weld::Entry> SwJavaEditDialog::m_xTypeED
private

Definition at line 43 of file javaedit.hxx.

Referenced by CheckTravel(), SetField(), and UpdateFromRadioButtons().

◆ m_xUrlED

std::unique_ptr<weld::Entry> SwJavaEditDialog::m_xUrlED
private

Definition at line 47 of file javaedit.hxx.

Referenced by CheckTravel(), SetField(), and UpdateFromRadioButtons().

◆ m_xUrlPB

std::unique_ptr<weld::Button> SwJavaEditDialog::m_xUrlPB
private

Definition at line 46 of file javaedit.hxx.

Referenced by SwJavaEditDialog(), and UpdateFromRadioButtons().

◆ m_xUrlRB

std::unique_ptr<weld::RadioButton> SwJavaEditDialog::m_xUrlRB
private

Definition at line 44 of file javaedit.hxx.

Referenced by CheckTravel(), SetField(), SwJavaEditDialog(), and UpdateFromRadioButtons().


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