summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorShivam Kumar Singh <shivamhere247@gmail.com>2020-06-26 17:03:52 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2020-07-03 09:43:26 +0200
commit4b8abb3db70ab5af3a9e92a327b46bbf38a481b3 (patch)
tree1a73938edba316828c9180b2a751114d7c194040 /include/svx
parent006572e4d808e95a6624d0c5f37be8b8d14449ce (diff)
Added tree view for Inspector and support for PS
-> The support for PS has been added. -> The UI for Inspector has been updated with expand/collapse buttons for PS and CS. -> Any property is listed only once at the Inspector either at PS or at CS -> Hide any property having default value (only modified properties are of interest) -> Hide Asian and Complex Properties Change-Id: I3b519eef7a5699339608fdb8c29d6f04498f4346 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97263 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/sidebar/InspectorTextPanel.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/svx/sidebar/InspectorTextPanel.hxx b/include/svx/sidebar/InspectorTextPanel.hxx
index 74c0b90fcd64..77240cd5a671 100644
--- a/include/svx/sidebar/InspectorTextPanel.hxx
+++ b/include/svx/sidebar/InspectorTextPanel.hxx
@@ -25,6 +25,11 @@ namespace svx
{
namespace sidebar
{
+struct TreeNode
+{
+ OUString sNodeName;
+ std::vector<TreeNode> children;
+};
class SVX_DLLPUBLIC InspectorTextPanel : public PanelLayout
{
public:
@@ -36,7 +41,8 @@ public:
InspectorTextPanel(vcl::Window* pParent,
const css::uno::Reference<css::frame::XFrame>& rxFrame);
- virtual void updateEntries(std::vector<OUString> store);
+
+ void updateEntries(const std::vector<TreeNode>& rStore);
private:
std::unique_ptr<weld::TreeView> mxListBoxStyles;