summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-31 15:14:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-11-01 14:37:43 +0100
commit6d9a2557a0f0366fff169f3c3581414b3cec80bd (patch)
tree6a1ead1edccb8857b888b235684d8781ca4f8194 /include
parentbeaba5f1abbb9a1461286fc831ea6a30131bb3b5 (diff)
Resolves: tdf#105081 and tdf#113420
separate translations for Spacing: vs Margins: separate translations for Inch vs cm Change-Id: I9a2d8fe3ad0edde5afefe00258f1309f898130e8 Reviewed-on: https://gerrit.libreoffice.org/62699 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/spacinglistbox.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svx/spacinglistbox.hxx b/include/svx/spacinglistbox.hxx
index 2e2ca5280398..59ece06a10a9 100644
--- a/include/svx/spacinglistbox.hxx
+++ b/include/svx/spacinglistbox.hxx
@@ -23,11 +23,14 @@
#include <svx/svxdllapi.h>
#include <vcl/lstbox.hxx>
+enum class SpacingType { SPACING_INCH, MARGINS_INCH, SPACING_CM, MARGINS_CM };
+
/// Custom Widget ListBox to hold entries for Spacing & Margin settings of Header/Footer
class SVX_DLLPUBLIC SpacingListBox : public ListBox
{
public:
SpacingListBox( vcl::Window* pParent );
+ void Init(SpacingType eType);
Size GetOptimalSize() const override;
};