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 /sw/source/uibase | |
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 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/utlui/initui.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/initui.cxx b/sw/source/uibase/utlui/initui.cxx index 5b015c71d9b6..4a07f75678e2 100644 --- a/sw/source/uibase/utlui/initui.cxx +++ b/sw/source/uibase/utlui/initui.cxx @@ -234,7 +234,8 @@ namespace STR_AUTH_FIELD_CUSTOM3, STR_AUTH_FIELD_CUSTOM4, STR_AUTH_FIELD_CUSTOM5, - STR_AUTH_FIELD_ISBN + STR_AUTH_FIELD_ISBN, + STR_AUTH_FIELD_LOCAL_URL, }; } |