Get the property dump of the text at the cursor

Desktop / LibreOffice - Shivam Kumar Singh [gmail.com] - 25 June 2020 08:17 EDT

We need the property dump consisting of 1) Character Properties 2) Paragraph Properties 3) Character Style Properties 4) Paragraph Style Properties

This patch gives all the properties related to 'Character Styles' at the cursor. This patch manages inheritance features, which means, it lists any property only at that level in which the property has been redefined for the last time.

Change-Id: Ice2ae9ac92aec4af9d395885e06602753e636457 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95094

006c65bbd472 Get the property dump of the text at the cursor
.../sidebar/inspector/InspectorTextPanel.cxx | 1 +
sw/source/uibase/sidebar/SwPanelFactory.cxx | 2 +-
.../uibase/sidebar/WriterInspectorTextPanel.cxx | 182 ++++++++++++++++++++-
.../uibase/sidebar/WriterInspectorTextPanel.hxx | 25 ++-
4 files changed, 197 insertions(+), 13 deletions(-)

Upstream: cgit.freedesktop.org


  • Share