6c32d05201
The skew values of a standard connector can have negative values. Those are possible in ODF, rendered in LO and produced by dragging the handles. Only the dialog restricts the metric field to non negative values. The patch allows negative values now. Change-Id: I5174dccc1ed0ed8644e0f62a5d599eea4d5cdbaf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157700 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
473 lines
23 KiB
XML
473 lines
23 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.36.0 -->
|
|
<interface domain="cui">
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkAdjustment" id="adjustment1">
|
|
<property name="lower">-100</property>
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment2">
|
|
<property name="lower">-100</property>
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment3">
|
|
<property name="lower">-100</property>
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment4">
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment5">
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment6">
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment7">
|
|
<property name="upper">100</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">10</property>
|
|
</object>
|
|
<object class="GtkBox" id="ConnectorTabPage">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="border_width">6</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkBox" id="box2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkBox" id="box3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="FT_TYPE">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_TYPE">_Type:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">LB_TYPE</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="LB_TYPE">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="LB_TYPE-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|LB_TYPE">Lists the types of connectors that are available.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFrame" id="FL_DELTA">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label_xalign">0</property>
|
|
<property name="shadow_type">none</property>
|
|
<child>
|
|
<!-- n-columns=1 n-rows=1 -->
|
|
<object class="GtkGrid" id="grid2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="row_spacing">6</property>
|
|
<property name="column_spacing">12</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-top">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="FT_LINE_1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_LINE_1">Line _1:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">MTR_FLD_LINE_1</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="FT_LINE_2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_LINE_2">Line _2:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">MTR_FLD_LINE_2</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="GtkLabel" id="FT_LINE_3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_LINE_3">Line _3:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">MTR_FLD_LINE_3</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="MTR_FLD_LINE_1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="digits">2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="MTR_FLD_LINE_1-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|MTR_FLD_LINE_1">Enter a skew value for Line 1.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="MTR_FLD_LINE_2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="adjustment">adjustment2</property>
|
|
<property name="digits">2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="MTR_FLD_LINE_2-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|MTR_FLD_LINE_2">Enter a skew value for Line 2.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="MTR_FLD_LINE_3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="adjustment">adjustment3</property>
|
|
<property name="digits">2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="MTR_FLD_LINE_3-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|MTR_FLD_LINE_3">Enter a skew value for Line 3.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|label2">Line Skew</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFrame" id="FL_DISTANCE">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label_xalign">0</property>
|
|
<property name="shadow_type">none</property>
|
|
<child>
|
|
<!-- n-columns=1 n-rows=1 -->
|
|
<object class="GtkGrid" id="grid3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="row_spacing">6</property>
|
|
<property name="column_spacing">12</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-top">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="FT_HORZ_1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_HORZ_1">_Begin horizontal:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">MTR_FLD_HORZ_1</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="FT_HORZ_2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_HORZ_2">End _horizontal:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">MTR_FLD_HORZ_2</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="GtkLabel" id="FT_VERT_1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_VERT_1">Begin _vertical:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">MTR_FLD_VERT_1</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="FT_VERT_2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|FT_VERT_2">_End vertical:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">MTR_FLD_VERT_2</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="MTR_FLD_HORZ_1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="adjustment">adjustment4</property>
|
|
<property name="digits">2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="MTR_FLD_HORZ_1-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|MTR_FLD_HORZ_1">Enter the amount of horizontal space you want at the beginning of the connector.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="MTR_FLD_HORZ_2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="adjustment">adjustment5</property>
|
|
<property name="digits">2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="MTR_FLD_HORZ_2-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|MTR_FLD_HORZ_2">Enter the amount of horizontal space you want at the end of the connector.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="MTR_FLD_VERT_1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="adjustment">adjustment6</property>
|
|
<property name="digits">2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="MTR_FLD_VERT_1-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|MTR_FLD_VERT_1">Enter the amount of vertical space you want at the beginning of the connector.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="MTR_FLD_VERT_2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="adjustment">adjustment7</property>
|
|
<property name="digits">2</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="MTR_FLD_VERT_2-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|MTR_FLD_VERT_2">Enter the amount of vertical space you want at the end of the connector.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="label3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes" context="connectortabpage|label3">Line Spacing</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="vscrollbar_policy">never</property>
|
|
<property name="shadow_type">in</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkDrawingArea" id="CTL_PREVIEW">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
|
|
<property name="tooltip_text" translatable="yes" context="connectortabpage|CTL_PREVIEW|tooltip_text">Preview</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="CTL_PREVIEW-atkobject">
|
|
<property name="AtkObject::accessible-name" translatable="yes" context="connectortabpage|CTL_PREVIEW-atkobject">Example</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="ConnectorTabPage-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="connectortabpage|extended_tip|ConnectorTabPage">Sets the properties of a connector.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="sizegroup1">
|
|
<widgets>
|
|
<widget name="FT_TYPE"/>
|
|
<widget name="FT_LINE_1"/>
|
|
<widget name="FT_LINE_2"/>
|
|
<widget name="FT_LINE_3"/>
|
|
<widget name="FT_HORZ_1"/>
|
|
<widget name="FT_HORZ_2"/>
|
|
<widget name="FT_VERT_1"/>
|
|
<widget name="FT_VERT_2"/>
|
|
</widgets>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="sizegroupWidget">
|
|
<widgets>
|
|
<widget name="MTR_FLD_LINE_1"/>
|
|
<widget name="MTR_FLD_LINE_2"/>
|
|
<widget name="MTR_FLD_LINE_3"/>
|
|
<widget name="MTR_FLD_HORZ_1"/>
|
|
<widget name="MTR_FLD_HORZ_2"/>
|
|
<widget name="MTR_FLD_VERT_1"/>
|
|
<widget name="MTR_FLD_VERT_2"/>
|
|
</widgets>
|
|
</object>
|
|
</interface>
|