summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir.extern@allotropia.de>2023-08-19 17:18:50 +0300
committerSarper Akdemir <sarper.akdemir.extern@allotropia.de>2023-09-04 20:54:19 +0200
commit0deea02b1da1001fa497dc5afa5e43207af491d5 (patch)
treef977c1bb9e559a8a44c27173d2488f3eb4305f18 /include/sfx2
parenta45f72b8122d3bb4c0d5ac4252cf7e5a25d52291 (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 'include/sfx2')
-rw-r--r--include/sfx2/dinfdlg.hxx32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 2acbc93cffe9..874e127f20b5 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -72,6 +72,14 @@ private:
sal_Int32 m_EditingDuration;
OUString m_Description;
OUString m_Keywords;
+ OUString m_Contributor;
+ OUString m_Coverage;
+ OUString m_Identifier;
+ OUString m_Publisher;
+ OUString m_Relation;
+ OUString m_Rights;
+ OUString m_Source;
+ OUString m_Type;
OUString m_Subject;
OUString m_Title;
bool m_bHasTemplate;
@@ -120,6 +128,22 @@ public:
void setDescription(const OUString& i_val) { m_Description = i_val; }
const OUString& getKeywords() const { return m_Keywords; }
void setKeywords(const OUString& i_val) { m_Keywords = i_val; }
+ const OUString& getContributor() const { return m_Contributor; }
+ void setContributor(const OUString& i_val) { m_Contributor = i_val; }
+ const OUString& getCoverage() const { return m_Coverage; }
+ void setCoverage(const OUString& i_val) { m_Coverage = i_val; }
+ const OUString& getIdentifier() const { return m_Identifier; }
+ void setIdentifier(const OUString& i_val) { m_Identifier = i_val; }
+ const OUString& getPublisher() const { return m_Publisher; }
+ void setPublisher(const OUString& i_val) { m_Publisher = i_val; }
+ const OUString& getRelation() const { return m_Relation; }
+ void setRelation(const OUString& i_val) { m_Relation = i_val; }
+ const OUString& getRights() const { return m_Rights; }
+ void setRights(const OUString& i_val) { m_Rights = i_val; }
+ const OUString& getSource() const { return m_Source; }
+ void setSource(const OUString& i_val) { m_Source = i_val; }
+ const OUString& getType() const { return m_Type; }
+ void setType(const OUString& i_val) { m_Type = i_val; }
const OUString& getSubject() const { return m_Subject; }
void setSubject(const OUString& i_val) { m_Subject = i_val; }
const OUString& getTitle() const { return m_Title; }
@@ -217,6 +241,14 @@ private:
std::unique_ptr<weld::Entry> m_xTitleEd;
std::unique_ptr<weld::Entry> m_xThemaEd;
std::unique_ptr<weld::Entry> m_xKeywordsEd;
+ std::unique_ptr<weld::Entry> m_xContributorEd;
+ std::unique_ptr<weld::Entry> m_xCoverageEd;
+ std::unique_ptr<weld::Entry> m_xIdentifierEd;
+ std::unique_ptr<weld::Entry> m_xPublisherEd;
+ std::unique_ptr<weld::Entry> m_xRelationEd;
+ std::unique_ptr<weld::Entry> m_xRightsEd;
+ std::unique_ptr<weld::Entry> m_xSourceEd;
+ std::unique_ptr<weld::Entry> m_xTypeEd;
std::unique_ptr<weld::TextView> m_xCommentEd;
virtual bool FillItemSet( SfxItemSet* ) override;