summaryrefslogtreecommitdiff
path: root/offapi
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 /offapi
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 'offapi')
-rw-r--r--offapi/com/sun/star/text/textfield/GetReference.idl13
1 files changed, 13 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/textfield/GetReference.idl b/offapi/com/sun/star/text/textfield/GetReference.idl
index 110d13c95d26..f561053c8bd9 100644
--- a/offapi/com/sun/star/text/textfield/GetReference.idl
+++ b/offapi/com/sun/star/text/textfield/GetReference.idl
@@ -54,6 +54,19 @@ published service GetReference
@see com::sun::star::text::Footnote
*/
[property] short SequenceNumber;
+ /** contains the language id of the alternative language-dependent references.
+ <p> Alternative language-dependent forms of reference types. </p>
+
+ @since LibreOffice 6.1
+
+ <p> The current set of supported languages is:
+ <ul>
+ <li>hu : Hungarian, reference with lowercase article "a" or "az"</li>
+ <li>Hu : Hungarian, reference with uppercase article "A" or "Az"</li>
+ </ul>
+ </p>
+ */
+ [optional, property] string ReferenceFieldLanguage;
};