diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-12-03 20:52:12 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-12-06 12:43:00 +0100 |
commit | 4c00e8fb10437fcaefe8635ef390b78376938d15 (patch) | |
tree | fd001904cf7640a13bd4a3ef3521f1c2db93fa4b /sfx2/uiconfig/ui/documentinfopage.ui | |
parent | 30d6787b98131fce5a280f005b75e9d496f21573 (diff) |
Add image preffered DPI document setting, use it in Writer, Impress
This adds a "image preferred DPI" document setting, which is used
as a suggestion of the DPI that an image should have in the
document. This is currently used when the image is inserted into
the document (Writer, Impress/Draw) to resize it to the preferred
DPI value.
Change-Id: I3ee9d409257e3c6aa2ead05144ecbba7b3b916f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126334
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sfx2/uiconfig/ui/documentinfopage.ui')
-rw-r--r-- | sfx2/uiconfig/ui/documentinfopage.ui | 92 |
1 files changed, 75 insertions, 17 deletions
diff --git a/sfx2/uiconfig/ui/documentinfopage.ui b/sfx2/uiconfig/ui/documentinfopage.ui index 49a4f8ab1c07..3ea5798caa45 100644 --- a/sfx2/uiconfig/ui/documentinfopage.ui +++ b/sfx2/uiconfig/ui/documentinfopage.ui @@ -2,7 +2,7 @@ <!-- Generated with glade 3.38.2 --> <interface domain="sfx"> <requires lib="gtk+" version="3.20"/> - <!-- n-columns=3 n-rows=13 --> + <!-- n-columns=3 n-rows=14 --> <object class="GtkGrid" id="DocumentInfoPage"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -198,21 +198,6 @@ </packing> </child> <child> - <object class="GtkCheckButton" id="thumbnailsavecb"> - <property name="label" translatable="yes" context="documentinfopage|thumbnailsavecb">Save preview image with this document</property> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">False</property> - <property name="no-show-all">True</property> - <property name="use-underline">True</property> - <property name="draw-indicator">True</property> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">12</property> - </packing> - </child> - <child> <object class="GtkButton" id="reset"> <property name="label" translatable="yes" context="documentinfopage|reset">Reset Properties</property> <property name="can-focus">True</property> @@ -228,7 +213,6 @@ <packing> <property name="left-attach">2</property> <property name="top-attach">11</property> - <property name="height">2</property> </packing> </child> <child> @@ -413,6 +397,79 @@ </packing> </child> <child> + <object class="GtkCheckButton" id="thumbnailsavecb"> + <property name="label" translatable="yes" context="documentinfopage|thumbnailsavecb">Save preview image with this document</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> + <property name="no-show-all">True</property> + <property name="draw-indicator">True</property> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">12</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <child> + <object class="GtkCheckButton" id="image-preferred-dpi-checkbutton"> + <property name="label" translatable="yes" context="documentinfopage|image-preferred-dpi-checkbutton">Image preferred DPI</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> + <property name="hexpand">True</property> + <property name="draw-indicator">True</property> + <accessibility> + <relation type="label-for" target="image-preferred-dpi-combobox"/> + </accessibility> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="image-preferred-dpi-combobox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="has-entry">True</property> + <items> + <item>96</item> + <item>150</item> + <item>200</item> + <item>300</item> + <item>600</item> + </items> + <accessibility> + <relation type="labelled-by" target="image-preferred-dpi-checkbutton"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">13</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> <placeholder/> </child> <child> @@ -427,4 +484,5 @@ </object> </child> </object> + <object class="GtkAction" id="action1"/> </interface> |