summaryrefslogtreecommitdiff
path: root/sw/inc/reffld.hxx
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2018-01-31 16:35:05 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-02-02 09:06:42 +0100
commit1037e3759bf178b52d16c12a811717f94ab9950a (patch)
treea16ef8d43b9de36691e903e634e6ce64256b55cd /sw/inc/reffld.hxx
parent41759e1e892f37c0a51b8ee8cf9422a42230f0c9 (diff)
tdf#115319 references with Hungarian articles
Add new alternative reference formats, stored by the proposed text:reference-language attribute. This is an implementation of the ODF improvement draft published in the bug report. Note: choose Hungarian locale setting to show the new "Article a/az + Page" etc. reference formats in dialog window "Fields". Change-Id: I210d4b9a3e821fb4e45e24643bad9c70b867c89d Reviewed-on: https://gerrit.libreoffice.org/48944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/inc/reffld.hxx')
-rw-r--r--sw/inc/reffld.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index cbc19e181798..8a9987b9ab87 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -82,6 +82,7 @@ class SW_DLLPUBLIC SwGetRefField : public SwField
{
private:
OUString sSetRefName;
+ OUString sSetReferenceLanguage;
OUString sText;
sal_uInt16 nSubType;
sal_uInt16 nSeqNo;
@@ -95,7 +96,7 @@ private:
const sal_uInt32 nRefNumFormat );
public:
- SwGetRefField( SwGetRefFieldType*, const OUString& rSetRef,
+ SwGetRefField( SwGetRefFieldType*, const OUString& rSetRef, const OUString& rReferenceLanguage,
sal_uInt16 nSubType, sal_uInt16 nSeqNo, sal_uLong nFormat );
virtual ~SwGetRefField() override;