summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShivam Kumar Singh <shivamhere247@gmail.com>2020-07-18 11:51:33 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2020-07-22 21:01:28 +0200
commit19f44fe53863ef8c9087aa965b786544f71ffdc8 (patch)
treed6a2ab749c9cf8899eb4ae4fafaa50ab090d4707 /include
parent3d9f47e9b07ff7133814165a104369bf69634f3f (diff)
tdf#134564 tdf#134578 Improve hierarchy viewing in Inspector
Significance of this patch - * Added TreeView Lines in the ui file for Inspector for better hierarchy viewing * Properties and there respective values are divided into separate columns. * Grey out disabled properties * bold PS, CS and DF Change-Id: I825a75dd2c5bc54715fe59f3c639024a5e3ab5cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98990 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/sidebar/InspectorTextPanel.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/svx/sidebar/InspectorTextPanel.hxx b/include/svx/sidebar/InspectorTextPanel.hxx
index 30285a8870db..10ddf932fe06 100644
--- a/include/svx/sidebar/InspectorTextPanel.hxx
+++ b/include/svx/sidebar/InspectorTextPanel.hxx
@@ -26,7 +26,20 @@ namespace svx::sidebar
struct TreeNode
{
OUString sNodeName;
+ css::uno::Any aValue;
+ bool isGrey;
+ enum
+ {
+ Category,
+ ComplexProperty,
+ SimpleProperty
+ } NodeType;
std::vector<TreeNode> children;
+ TreeNode()
+ : isGrey(false)
+ , NodeType(SimpleProperty)
+ {
+ }
};
class SVX_DLLPUBLIC InspectorTextPanel : public PanelLayout
{