24#include <com/sun/star/inspection/XPropertyControl.hpp>
25#include <com/sun/star/inspection/XPropertyHandler.hpp>
33#define EDITOR_LIST_REPLACE_EXISTING \
34 std::numeric_limits<ListBoxLines::size_type>::max()
40 class IPropertyLineListener;
41 class IPropertyControlObserver;
42 struct OLineDescriptor;
43 class InspectorHelpWindow;
44 class PropertyControlContext_Impl;
54 css::uno::Reference< css::inspection::XPropertyHandler >
77 css::uno::Reference< css::inspection::XPropertyControl >
104 void SetPropertyValue(
const OUString& rEntryName,
const css::uno::Any& rValue,
bool _bUnknownValue );
105 sal_uInt16
GetPropertyPos( std::u16string_view rEntryName )
const;
106 css::uno::Reference< css::inspection::XPropertyControl >
115 void focusGained(
const css::uno::Reference< css::inspection::XPropertyControl >&
Control );
117 void valueChanged(
const css::uno::Reference< css::inspection::XPropertyControl >&
Control );
119 void activateNextControl(
const css::uno::Reference< css::inspection::XPropertyControl >& CurrentControl );
129 sal_uInt16
impl_getControlPos(
const css::uno::Reference< css::inspection::XPropertyControl >& _rxControl )
const;
non-UNO version of the XPropertyControlObserver
std::unique_ptr< weld::Container > m_xLinesPlayground
void focusGained(const css::uno::Reference< css::inspection::XPropertyControl > &Control)
std::unique_ptr< weld::SizeGroup > m_xSizeGroup
void ChangeEntry(const OLineDescriptor &, ListBoxLines::size_type nPos)
static void impl_setControlAsPropertyValue(const ListBoxLine &_rLine, const css::uno::Any &_rPropertyValue)
sets the given property value at the given control, after converting it as necessary
IPropertyLineListener * m_pLineListener
void EnablePropertyControls(const OUString &_rEntryName, sal_Int16 _nControls, bool _bEnable)
void activateNextControl(const css::uno::Reference< css::inspection::XPropertyControl > &CurrentControl)
std::unique_ptr< InspectorHelpWindow > m_xHelpWindow
bool RemoveEntry(const OUString &_rName)
css::uno::Reference< css::inspection::XPropertyControl > GetPropertyControl(const OUString &rEntryName)
IPropertyControlObserver * m_pControlObserver
css::uno::Reference< css::inspection::XPropertyControl > m_xActiveControl
std::unique_ptr< weld::ScrolledWindow > m_xScrolledWindow
sal_uInt16 GetPropertyPos(std::u16string_view rEntryName) const
OBrowserListBox(weld::Builder &rBuilder, weld::Container *pContainer)
void SetPropertyValue(const OUString &rEntryName, const css::uno::Any &rValue, bool _bUnknownValue)
sal_uInt16 m_nTheNameSize
static css::uno::Any impl_getControlAsPropertyValue(const ListBoxLine &_rLine)
retrieves the value for the given control, as a property value, after converting it as necessary
void EnableHelpSection(bool _bEnable)
weld::Container * m_pInitialControlParent
sal_uInt16 impl_getControlPos(const css::uno::Reference< css::inspection::XPropertyControl > &_rxControl) const
retrieves the index of a given control in our line list
void valueChanged(const css::uno::Reference< css::inspection::XPropertyControl > &Control)
bool HasHelpSection() const
void EnablePropertyLine(const OUString &_rEntryName, bool _bEnable)
void SetObserver(IPropertyControlObserver *_pObserver)
void SetHelpText(const OUString &_rHelpText)
void buttonClicked(OBrowserLine *_pLine, bool _bPrimary) override
void InsertEntry(const OLineDescriptor &, sal_uInt16 nPos)
::rtl::Reference< PropertyControlContext_Impl > m_pControlContextImpl
void SetListener(IPropertyLineListener *_pListener)
void ShowEntry(sal_uInt16 nPos)
bool impl_getBrowserLineForName(const OUString &_rEntryName, BrowserLinePointer &_out_rpLine) const
retrieves the ->BrowserLinePointer for a given entry name
a property handler for any virtual string properties
std::vector< ListBoxLine > ListBoxLines
std::shared_ptr< OBrowserLine > BrowserLinePointer
css::uno::Reference< css::inspection::XPropertyHandler > xHandler
ListBoxLine(OUString _aName, BrowserLinePointer _pLine, css::uno::Reference< css::inspection::XPropertyHandler > _xHandler)