summaryrefslogtreecommitdiff
path: root/sw/uiconfig
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2023-04-25 16:45:52 -0400
committerMiklos Vajna <vmiklos@collabora.com>2023-04-26 09:35:31 +0200
commitf6f14b98b8be8319c810708e73cffdb189c467ca (patch)
tree6e7014df6234f24dcc2bb836e3941c1edcf75609 /sw/uiconfig
parent8d0acd88214180f93cd09730baa1ed9a8169e987 (diff)
tdf#86630 sw page number wizard: set page style numbering type
Giving the user the opportunity to change the number type is rather important. Well, maybe not too critical since I assume that the default page number style is relatively accurate for each locale, and at least for English we always just use numbers for the page style. However, a wizard is the perfect place to expose such a setting, otherwise it is buried in page style settings - far from where anyone would look when inserting a page number. Change-Id: I9053504fa55d16ebf5424946b480cb044b79988c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151005 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r--sw/uiconfig/swriter/ui/pagenumberdlg.ui43
1 files changed, 43 insertions, 0 deletions
diff --git a/sw/uiconfig/swriter/ui/pagenumberdlg.ui b/sw/uiconfig/swriter/ui/pagenumberdlg.ui
index 27c72323b832..99f9f9145527 100644
--- a/sw/uiconfig/swriter/ui/pagenumberdlg.ui
+++ b/sw/uiconfig/swriter/ui/pagenumberdlg.ui
@@ -166,6 +166,49 @@
<property name="position">3</property>
</packing>
</child>
+ <child>
+ <object class="GtkLabel" id="numfmtLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">start</property>
+ <property name="margin-top">6</property>
+ <property name="label" translatable="yes" context="pagenumberdlg|numfmtLabel">Page numbers:</property>
+ <property name="use-underline">True</property>
+ <property name="mnemonic-widget">numfmtlb</property>
+ <accessibility>
+ <relation type="label-for" target="numfmtlb"/>
+ </accessibility>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="numfmtLabel-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes" context="pagenumberdlg|alignmentLabel-atkobject">Number format</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="numfmtlb">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <accessibility>
+ <relation type="labelled-by" target="numfmtLabel"/>
+ </accessibility>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="numfmtlb-atkobject">
+ <property name="AtkObject::accessible-description" translatable="yes" context="numberingoptionspage|extended_tip|numfmtlb">Select a numbering scheme for the page numbering.</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">5</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>