LibreOffice Module extensions (master) 1
|
#include <pushbuttonnavigation.hxx>
Public Member Functions | |
PushButtonNavigation (const css::uno::Reference< css::beans::XPropertySet > &_rxControlModel) | |
ctor More... | |
css::uno::Any | getCurrentButtonType () const |
returns the current value of the "ButtonType" property, taking into account the "virtual" button types such as "move-to-next-record button". More... | |
void | setCurrentButtonType (const css::uno::Any &_rValue) const |
sets the current value of the "ButtonType" property, taking into account the "virtual" button types such as "move-to-next-record button". More... | |
css::beans::PropertyState | getCurrentButtonTypeState () const |
retrieves the current state of the "ButtonType" property, taking into account the "virtual" button types such as "move-to-next-record button". More... | |
css::uno::Any | getCurrentTargetURL () const |
returns the current value of the "TargetURL" property, taking into account that some URLs are special values caused by "virtual" ButtonTypes More... | |
void | setCurrentTargetURL (const css::uno::Any &_rValue) const |
sets the current value of the "TargetURL" property, taking into account that some URLs are special values caused by "virtual" ButtonTypes More... | |
css::beans::PropertyState | getCurrentTargetURLState () const |
retrieves the current state of the "TargetURL" property, taking into account that some URLs are special values caused by "virtual" ButtonTypes More... | |
bool | currentButtonTypeIsOpenURL () const |
determines whether the current button type is FormButtonType_URL More... | |
bool | hasNonEmptyCurrentTargetURL () const |
determines whether the TargetURL property does currently denote a non-empty string More... | |
Private Member Functions | |
css::form::FormButtonType | implGetCurrentButtonType () const |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | m_xControlModel |
bool | m_bIsPushButton |
Definition at line 33 of file pushbuttonnavigation.hxx.
|
explicit |
ctor
_rxControlModel | the control model which is or will be bound |
Definition at line 83 of file pushbuttonnavigation.cxx.
References Exception, m_bIsPushButton, m_xControlModel, PROPERTY_BUTTONTYPE, and TOOLS_WARN_EXCEPTION.
bool pcr::PushButtonNavigation::currentButtonTypeIsOpenURL | ( | ) | const |
determines whether the current button type is FormButtonType_URL
Definition at line 272 of file pushbuttonnavigation.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, and implGetCurrentButtonType().
Any pcr::PushButtonNavigation::getCurrentButtonType | ( | ) | const |
returns the current value of the "ButtonType" property, taking into account the "virtual" button types such as "move-to-next-record button".
Definition at line 123 of file pushbuttonnavigation.cxx.
References Any, Exception, implGetCurrentButtonType(), m_bIsPushButton, and TOOLS_WARN_EXCEPTION.
PropertyState pcr::PushButtonNavigation::getCurrentButtonTypeState | ( | ) | const |
retrieves the current state of the "ButtonType" property, taking into account the "virtual" button types such as "move-to-next-record button".
Definition at line 171 of file pushbuttonnavigation.cxx.
References Exception, m_bIsPushButton, m_xControlModel, PROPERTY_BUTTONTYPE, PROPERTY_TARGET_URL, and TOOLS_WARN_EXCEPTION.
Any pcr::PushButtonNavigation::getCurrentTargetURL | ( | ) | const |
returns the current value of the "TargetURL" property, taking into account that some URLs are special values caused by "virtual" ButtonTypes
Definition at line 205 of file pushbuttonnavigation.cxx.
References Any, Exception, implGetCurrentButtonType(), m_bIsPushButton, m_xControlModel, PROPERTY_TARGET_URL, and TOOLS_WARN_EXCEPTION.
Referenced by hasNonEmptyCurrentTargetURL().
PropertyState pcr::PushButtonNavigation::getCurrentTargetURLState | ( | ) | const |
retrieves the current state of the "TargetURL" property, taking into account that some URLs are special values caused by "virtual" ButtonTypes
Definition at line 251 of file pushbuttonnavigation.cxx.
References Exception, m_xControlModel, PROPERTY_TARGET_URL, and TOOLS_WARN_EXCEPTION.
bool pcr::PushButtonNavigation::hasNonEmptyCurrentTargetURL | ( | ) | const |
determines whether the TargetURL property does currently denote a non-empty string
Definition at line 287 of file pushbuttonnavigation.cxx.
References getCurrentTargetURL().
|
private |
Definition at line 100 of file pushbuttonnavigation.cxx.
References m_xControlModel, PROPERTY_BUTTONTYPE, and PROPERTY_TARGET_URL.
Referenced by currentButtonTypeIsOpenURL(), getCurrentButtonType(), and getCurrentTargetURL().
void pcr::PushButtonNavigation::setCurrentButtonType | ( | const css::uno::Any & | _rValue | ) | const |
sets the current value of the "ButtonType" property, taking into account the "virtual" button types such as "move-to-next-record button".
Definition at line 140 of file pushbuttonnavigation.cxx.
References Any, Exception, m_bIsPushButton, m_xControlModel, PROPERTY_BUTTONTYPE, PROPERTY_TARGET_URL, and TOOLS_WARN_EXCEPTION.
void pcr::PushButtonNavigation::setCurrentTargetURL | ( | const css::uno::Any & | _rValue | ) | const |
sets the current value of the "TargetURL" property, taking into account that some URLs are special values caused by "virtual" ButtonTypes
Definition at line 235 of file pushbuttonnavigation.cxx.
References Exception, m_xControlModel, PROPERTY_TARGET_URL, and TOOLS_WARN_EXCEPTION.
|
private |
Definition at line 37 of file pushbuttonnavigation.hxx.
Referenced by getCurrentButtonType(), getCurrentButtonTypeState(), getCurrentTargetURL(), PushButtonNavigation(), and setCurrentButtonType().
|
private |
Definition at line 36 of file pushbuttonnavigation.hxx.
Referenced by getCurrentButtonTypeState(), getCurrentTargetURL(), getCurrentTargetURLState(), implGetCurrentButtonType(), PushButtonNavigation(), setCurrentButtonType(), and setCurrentTargetURL().