25#include <com/sun/star/inspection/XPropertyControl.hpp>
26#include <com/sun/star/uno/XComponentContext.hpp>
32 class IPropertyLineListener;
33 class IPropertyControlObserver;
35 struct OLineDescriptor;
36 class OBrowserListBox;
47 std::unique_ptr<OBrowserPage>
xPage;
49 PropertyPage(sal_uInt16 nPagePos, OUString aLabel, std::unique_ptr<OBrowserPage> pPage);
56 css::uno::Reference<css::uno::XComponentContext>
m_xContext;
78 void SetHelpId(
const OUString& sHelpId );
79 sal_uInt16
AppendPage(
const OUString& r,
const OUString& _rHelpId );
85 void SetPropertyValue(
const OUString& _rEntryName,
const css::uno::Any& _rValue,
bool _bUnknownValue );
87 css::uno::Reference< css::inspection::XPropertyControl >
non-UNO version of the XPropertyControlObserver
Link< const OUString &, void > m_aPageActivationHandler
IPropertyControlObserver * m_pObserver
void EnablePropertyControls(const OUString &_rEntryName, sal_Int16 _nControls, bool _bEnable)
void forEachPage(PageOperation _pOperation)
OPropertyEditor(const css::uno::Reference< css::uno::XComponentContext > &rContext, weld::Builder &rBuilder)
void RemoveEntry(const OUString &_rName)
std::unique_ptr< weld::Container > m_xContainer
DECL_LINK(OnPageDeactivate, const OUString &, bool)
void SetControlObserver(IPropertyControlObserver *)
css::uno::Reference< css::uno::XComponentContext > m_xContext
DECL_LINK(OnPageActivate, const OUString &, void)
std::map< sal_uInt16, PropertyPage > m_aShownPages
css::uno::Reference< css::inspection::XPropertyControl > GetPropertyControl(const OUString &rEntryName)
Size get_preferred_size() const
sal_uInt16 GetPropertyPos(const OUString &rEntryName) const
bool HasHelpSection() const
std::unique_ptr< weld::Container > m_xControlHoldingParent
void RemovePage(sal_uInt16 nID)
MapStringToPageId m_aPropertyPageIds
std::map< sal_uInt16, PropertyPage > m_aHiddenPages
void ChangeEntry(const OLineDescriptor &)
void SetHelpText(const OUString &_rHelpText)
void enableHelpSection(OBrowserPage &_rPage, const void *)
std::unique_ptr< weld::Notebook > m_xTabControl
sal_uInt16 GetCurPage() const
weld::Widget * getWidget() const
void(OPropertyEditor::* PageOperation)(OBrowserPage &, const void *)
void setPageActivationHandler(const Link< const OUString &, void > &_rHdl)
void ShowPropertyPage(sal_uInt16 _nPageId, bool _bShow)
static void setHelpSectionText(OBrowserPage &_rPage, const void *_pPointerToOUString)
void EnableHelpSection(bool _bEnable)
void SetPropertyValue(const OUString &_rEntryName, const css::uno::Any &_rValue, bool _bUnknownValue)
void SetLineListener(IPropertyLineListener *)
void setPageLineListener(OBrowserPage &_rPage, const void *)
std::map< OUString, sal_uInt16 > MapStringToPageId
sal_uInt16 AppendPage(const OUString &r, const OUString &_rHelpId)
void InsertEntry(const OLineDescriptor &, sal_uInt16 _nPageId, sal_uInt16 nPos=EDITOR_LIST_APPEND)
void EnablePropertyLine(const OUString &_rEntryName, bool _bEnable)
void setPageControlObserver(OBrowserPage &_rPage, const void *)
IPropertyLineListener * m_pListener
void SetHelpId(const OUString &sHelpId)
OBrowserPage * getPage(sal_uInt16 _rPageId)
a property handler for any virtual string properties
#define EDITOR_LIST_APPEND
std::unique_ptr< OBrowserPage > xPage