diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-07-21 14:52:05 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-21 16:42:48 +0200 |
commit | 3b2b2eae863d1082a36c02851190e0846f90cdd1 (patch) | |
tree | da877b3ed5f2e80bc5b939c97828572e4d80cc7e /offapi | |
parent | 37247ffb6f255ca7f96c6110149bcf85a2cddd44 (diff) |
sw bibliography, local copy: add document model & UNO API
The idea is that a bibliography entry (field) can have not only an URL
(which might be unavailable due to lack of network connectivity,
paywall, etc) but also a local copy, which is also a URL.
The local copy doesn't replace the original URL. The local copy is
stored part of the document, since it may be a relative URL, e.g. ODT +
several PDFs copied around in the same directory.
This commit just starts this feature, up to the extent that read and
write of the new property works.
Change-Id: I3c4df2be3a1f3b02a87c097f8a0630951def09d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119322
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/text/BibliographyDataField.idl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/BibliographyDataField.idl b/offapi/com/sun/star/text/BibliographyDataField.idl index 6934bf8872e7..8923224247fc 100644 --- a/offapi/com/sun/star/text/BibliographyDataField.idl +++ b/offapi/com/sun/star/text/BibliographyDataField.idl @@ -123,6 +123,11 @@ published constants BibliographyDataField /** This field contains the ISBN data of the publishing. */ const short ISBN = 30; + /** This field contains a local copy of the publishing. + + @since LibreOffice 7.3 + */ + const short LOCAL_URL = 31; }; }; }; }; }; |