diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-01-25 13:24:01 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-01-25 19:46:06 +0000 |
commit | 43744a9004e0fa59a525855c7e97ca153a839c42 (patch) | |
tree | 9ff0e0fdea03d3918092ae560cda2a06b3d5cc1f /sw/uiconfig | |
parent | 9d60497954ed25bd802e66b5de0f375b301c79eb (diff) |
tdf#153090 sw: add UI to SwTOXSelectTabPage
Add a checkbox, label and a combobox, for Table of Figures/Table of
Tables/Table of Objects - annoyingly the latter is sort of disjoint in
the .ui file.
Another annoyance is that the tab page sometimes reads its own state
while initialising itself, overwriting its source.
This is perhaps not ideal, but it appears to work if you don't look at
it too closely.
Change-Id: I3d3d79f37a75bf6570149d794a2363a53de2f59f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146143
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/tocindexpage.ui | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/sw/uiconfig/swriter/ui/tocindexpage.ui b/sw/uiconfig/swriter/ui/tocindexpage.ui index aa87d26cdfa8..ee381134748f 100644 --- a/sw/uiconfig/swriter/ui/tocindexpage.ui +++ b/sw/uiconfig/swriter/ui/tocindexpage.ui @@ -812,6 +812,81 @@ </packing> </child> <child> + <object class="GtkFrame" id="parastyleframe"> + <property name="can-focus">False</property> + <property name="no-show-all">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="label-xalign">0</property> + <property name="shadow-type">none</property> + <child> + <!-- n-columns=2 n-rows=2 --> + <object class="GtkGrid" id="grid14"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="hexpand">True</property> + <property name="margin-start">12</property> + <property name="row-spacing">6</property> + <property name="column-spacing">12</property> + <child> + <object class="GtkCheckButton" id="useparastyle"> + <property name="label" translatable="yes" context="tocindexpage|useparastyle">Create from additional paragraph style</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> + <property name="use-underline">True</property> + <property name="active">True</property> + <property name="draw-indicator">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="useparastyle-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="tocindexpage|extended_tip|useparastyle">Include paragraphs that have the selected style applied in the index.</property> + </object> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="parastyleft"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="tocindexpage|parastyleft">Paragraph style:</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">display</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="parastyle"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <child internal-child="accessible"> + <object class="AtkObject" id="parastyle-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes" context="tocindexpage|extended_tip|parastyle">Select the paragraph style for which you want to create index entries.</property> + </object> + </child> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">1</property> + </packing> + </child> + </object> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">4</property> + </packing> + </child> + <child> <object class="GtkFrame" id="authframe"> <property name="can-focus">False</property> <property name="no-show-all">True</property> |