LibreOffice Module sw (master) 1
|
#include <javaedit.hxx>
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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 |
SwScriptField * | m_pField |
std::unique_ptr< SwFieldMgr > | m_pMgr |
SwWrtShell * | m_pSh |
std::unique_ptr< sfx2::FileDialogHelper > | m_pFileDlg |
std::unique_ptr< weld::Entry > | m_xTypeED |
std::unique_ptr< weld::RadioButton > | m_xUrlRB |
std::unique_ptr< weld::RadioButton > | m_xEditRB |
std::unique_ptr< weld::Button > | m_xUrlPB |
std::unique_ptr< weld::Entry > | m_xUrlED |
std::unique_ptr< weld::TextView > | m_xEditED |
std::unique_ptr< weld::Button > | m_xOKBtn |
std::unique_ptr< weld::Button > | m_xPrevBtn |
std::unique_ptr< weld::Button > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 29 of file javaedit.hxx.
SwJavaEditDialog::SwJavaEditDialog | ( | weld::Window * | pParent, |
SwWrtShell * | pWrtSh | ||
) |
Definition at line 36 of file javaedit.cxx.
References CheckTravel(), SwField::GetTyp(), LINK, m_bNew, m_pField, m_pMgr, m_pSh, weld::GenericDialogController::m_xDialog, m_xEditRB, m_xNextBtn, m_xOKBtn, m_xPrevBtn, m_xUrlPB, m_xUrlRB, Script, SwResId(), UpdateFromRadioButtons(), and SwFieldType::Which().
|
overridevirtual |
Definition at line 74 of file javaedit.cxx.
References SwWrtShell::EnterStdMode(), m_pFileDlg, m_pMgr, and m_pSh.
|
private |
Definition at line 109 of file javaedit.cxx.
References SwCursorShell::CreateCursor(), SwCursorShell::DestroyCursor(), SwCursorShell::EndAction(), SwScriptField::GetPar1(), SwScriptField::GetPar2(), INetURLObject::GetProtocol(), SwScriptField::IsCodeURL(), m_bNew, m_pField, m_pMgr, m_pSh, m_xEditED, m_xEditRB, m_xNextBtn, m_xPrevBtn, m_xTypeED, m_xUrlED, m_xUrlRB, INetURLObject::PathToFileName(), and SwCursorShell::StartAction().
Referenced by SwJavaEditDialog().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 68 of file javaedit.hxx.
References m_aText.
|
inline |
Definition at line 70 of file javaedit.hxx.
References m_aType.
|
inline |
Definition at line 73 of file javaedit.hxx.
References m_bNew.
bool SwJavaEditDialog::IsUpdate | ( | ) | const |
Definition at line 195 of file javaedit.cxx.
References SwField::GetFormat(), SwScriptField::GetPar1(), SwScriptField::GetPar2(), m_aText, m_aType, m_bIsUrl, and m_pField.
|
inline |
Definition at line 72 of file javaedit.hxx.
References m_bIsUrl.
|
private |
Definition at line 166 of file javaedit.cxx.
References SwView::GetDocShell(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetMedium(), SfxMedium::GetURLObject(), SwWrtShell::GetView(), m_aText, m_aType, m_bIsUrl, m_pSh, m_xEditED, m_xOKBtn, m_xTypeED, m_xUrlED, m_xUrlRB, and URIHelper::SmartRel2Abs().
|
private |
Definition at line 207 of file javaedit.cxx.
References SwCursorShell::HasReadonlySel(), SwCursorShell::IsReadOnlyAvailable(), m_bNew, m_pSh, m_xEditED, m_xOKBtn, m_xTypeED, m_xUrlED, m_xUrlPB, and m_xUrlRB.
Referenced by SwJavaEditDialog().
|
private |
Definition at line 32 of file javaedit.hxx.
Referenced by GetScriptText(), IsUpdate(), and SetField().
|
private |
Definition at line 33 of file javaedit.hxx.
Referenced by GetScriptType(), IsUpdate(), and SetField().
|
private |
Definition at line 36 of file javaedit.hxx.
Referenced by IsUpdate(), IsUrl(), and SetField().
|
private |
Definition at line 35 of file javaedit.hxx.
Referenced by CheckTravel(), IsNew(), SwJavaEditDialog(), and UpdateFromRadioButtons().
|
private |
Definition at line 38 of file javaedit.hxx.
Referenced by CheckTravel(), IsUpdate(), and SwJavaEditDialog().
|
private |
Definition at line 41 of file javaedit.hxx.
Referenced by ~SwJavaEditDialog().
|
private |
Definition at line 39 of file javaedit.hxx.
Referenced by CheckTravel(), SwJavaEditDialog(), and ~SwJavaEditDialog().
|
private |
Definition at line 40 of file javaedit.hxx.
Referenced by CheckTravel(), SetField(), SwJavaEditDialog(), UpdateFromRadioButtons(), and ~SwJavaEditDialog().
|
private |
Definition at line 48 of file javaedit.hxx.
Referenced by CheckTravel(), SetField(), and UpdateFromRadioButtons().
|
private |
Definition at line 45 of file javaedit.hxx.
Referenced by CheckTravel(), and SwJavaEditDialog().
|
private |
Definition at line 51 of file javaedit.hxx.
Referenced by CheckTravel(), and SwJavaEditDialog().
|
private |
Definition at line 49 of file javaedit.hxx.
Referenced by SetField(), SwJavaEditDialog(), and UpdateFromRadioButtons().
|
private |
Definition at line 50 of file javaedit.hxx.
Referenced by CheckTravel(), and SwJavaEditDialog().
|
private |
Definition at line 43 of file javaedit.hxx.
Referenced by CheckTravel(), SetField(), and UpdateFromRadioButtons().
|
private |
Definition at line 47 of file javaedit.hxx.
Referenced by CheckTravel(), SetField(), and UpdateFromRadioButtons().
|
private |
Definition at line 46 of file javaedit.hxx.
Referenced by SwJavaEditDialog(), and UpdateFromRadioButtons().
|
private |
Definition at line 44 of file javaedit.hxx.
Referenced by CheckTravel(), SetField(), SwJavaEditDialog(), and UpdateFromRadioButtons().