diff options
author | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-08-19 17:18:50 +0300 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-09-04 20:54:19 +0200 |
commit | 0deea02b1da1001fa497dc5afa5e43207af491d5 (patch) | |
tree | f977c1bb9e559a8a44c27173d2488f3eb4305f18 /offapi/com | |
parent | a45f72b8122d3bb4c0d5ac4252cf7e5a25d52291 (diff) |
tdf#138792: PDF export: add batch of dublin core attributes
Adds support for exporting, editing in the UI and storage in
ODF for the dublin core attributes listed below.
Contributor (http://purl.org/dc/elements/1.1/contributor)
Coverage (http://purl.org/dc/elements/1.1/coverage)
Identifier (http://purl.org/dc/elements/1.1/identifier)
Publisher (http://purl.org/dc/elements/1.1/publisher)
Relation (http://purl.org/dc/elements/1.1/relation)
Rights (http://purl.org/dc/elements/1.1/rights)
Source (http://purl.org/dc/elements/1.1/source)
Type (http://purl.org/dc/elements/1.1/type)
Introduces XDocumentProperties2 to extend XDocumentProperties interface.
Change-Id: Ie2e0b1fbbbd00b66aef477ba1bf4e4f61c03a3b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156330
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir.extern@allotropia.de>
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/document/XDocumentProperties2.idl | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/offapi/com/sun/star/document/XDocumentProperties2.idl b/offapi/com/sun/star/document/XDocumentProperties2.idl new file mode 100644 index 000000000000..c0d2a18b4af2 --- /dev/null +++ b/offapi/com/sun/star/document/XDocumentProperties2.idl @@ -0,0 +1,50 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +module com { module sun { module star { module document { + +/** Extends XDocumentProperties interface to provide additional attributes + + @since LibreOffice 24.02 +*/ +interface XDocumentProperties2: com::sun::star::document::XDocumentProperties +{ + /** Contributors to the resource (other than the authors). */ + [attribute] sequence< string > Contributor; + + /** The extent or scope of the resource. */ + [attribute] string Coverage; + + /** Unique identifier of the resource. */ + [attribute] string Identifier; + + /** Entities responsible for making the resource available. */ + [attribute] sequence< string > Publisher; + + /** Relationships to other documents. + + Recommended practice is to identify the related resource by means of a + URI. If this is not possible or feasible, a string conforming to a + formal identification system may be provided. + */ + [attribute] sequence< string > Relation; + + /** Informal rights statement. */ + [attribute] string Rights; + + /** Unique identifier of the work from which this resource was derived */ + [attribute] string Source; + + /** The nature or genre of the resource. */ + [attribute] string Type; +}; + + +}; }; }; }; +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |