1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 /***************************************************************************
8 	begin                : Apr 2005
9 	copyright            : (C) 2005 by Craig Bradney
10 	email                : cbradney@zip.com.au
11 ***************************************************************************/
12 
13 /***************************************************************************
14 *                                                                         *
15 *   Scribus program is free software; you can redistribute it and/or modify  *
16 *   it under the terms of the GNU General Public License as published by  *
17 *   the Free Software Foundation; either version 2 of the License, or     *
18 *   (at your option) any later version.                                   *
19 *                                                                         *
20 ***************************************************************************/
21 
22 #include "documentinformation.h"
23 
DocumentInformation()24 DocumentInformation::DocumentInformation()
25 {
26 	/*m_author = "";
27 	m_comments = "";
28 	m_contrib = "";
29 	m_cover = "";
30 	m_date = "";
31 	m_format = "";
32 	m_ident = "";
33 	m_keywords = "";
34 	m_langInfo = "";
35 	m_publisher = "";
36 	m_relation = "";
37 	m_rights = "";
38 	m_source = "";
39 	m_title = "";
40 	m_type = "";*/
41 }
42 
author()43 const QString& DocumentInformation::author()
44 {
45 	return m_author;
46 }
47 
comments()48 const QString& DocumentInformation::comments()
49 {
50 	return m_comments;
51 }
52 
contrib()53 const QString& DocumentInformation::contrib()
54 {
55 	return m_contrib;
56 }
57 
cover()58 const QString& DocumentInformation::cover()
59 {
60 	return m_cover;
61 }
62 
date()63 const QString& DocumentInformation::date()
64 {
65 	return m_date;
66 }
67 
format()68 const QString& DocumentInformation::format()
69 {
70 	return m_format;
71 }
72 
ident()73 const QString& DocumentInformation::ident()
74 {
75 	return m_ident;
76 }
77 
keywords()78 const QString& DocumentInformation::keywords()
79 {
80 	return m_keywords;
81 }
82 
langInfo()83 const QString& DocumentInformation::langInfo()
84 {
85 	return m_langInfo;
86 }
87 
publisher()88 const QString& DocumentInformation::publisher()
89 {
90 	return m_publisher;
91 }
92 
relation()93 const QString& DocumentInformation::relation()
94 {
95 	return m_relation;
96 }
97 
rights()98 const QString& DocumentInformation::rights()
99 {
100 	return m_rights;
101 }
102 
source()103 const QString& DocumentInformation::source()
104 {
105 	return m_source;
106 }
107 
subject()108 const QString& DocumentInformation::subject()
109 {
110 	return m_subject;
111 }
112 
title()113 const QString& DocumentInformation::title()
114 {
115 	return m_title;
116 }
117 
type()118 const QString& DocumentInformation::type()
119 {
120 	return m_type;
121 }
122 
123 
setAuthor(const QString & _author)124 void DocumentInformation::setAuthor(const QString &_author)
125 {
126 	m_author=_author;
127 }
128 
setComments(const QString & _comments)129 void DocumentInformation::setComments(const QString &_comments)
130 {
131 	m_comments=_comments;
132 }
133 
setContrib(const QString & _contrib)134 void DocumentInformation::setContrib(const QString &_contrib)
135 {
136 	m_contrib=_contrib;
137 }
138 
setCover(const QString & _cover)139 void DocumentInformation::setCover(const QString &_cover)
140 {
141 	m_cover=_cover;
142 }
143 
setDate(const QString & _date)144 void DocumentInformation::setDate(const QString &_date)
145 {
146 	m_date=_date;
147 }
148 
setFormat(const QString & _format)149 void DocumentInformation::setFormat(const QString &_format)
150 {
151 	m_format=_format;
152 }
153 
setIdent(const QString & _ident)154 void DocumentInformation::setIdent(const QString &_ident)
155 {
156 	m_ident=_ident;
157 }
158 
setKeywords(const QString & _keywords)159 void DocumentInformation::setKeywords(const QString &_keywords)
160 {
161 	m_keywords=_keywords;
162 }
163 
setLangInfo(const QString & _langInfo)164 void DocumentInformation::setLangInfo(const QString &_langInfo)
165 {
166 	m_langInfo=_langInfo;
167 }
168 
setPublisher(const QString & _publisher)169 void DocumentInformation::setPublisher(const QString &_publisher)
170 {
171 	m_publisher=_publisher;
172 }
173 
setRelation(const QString & _relation)174 void DocumentInformation::setRelation(const QString &_relation)
175 {
176 	m_relation=_relation;
177 }
178 
setRights(const QString & _rights)179 void DocumentInformation::setRights(const QString &_rights)
180 {
181 	m_rights=_rights;
182 }
183 
setSource(const QString & _source)184 void DocumentInformation::setSource(const QString &_source)
185 {
186 	m_source=_source;
187 }
188 
setSubject(const QString & _subject)189 void DocumentInformation::setSubject(const QString & _subject)
190 {
191 	m_subject = _subject;
192 }
193 
setTitle(const QString & _title)194 void DocumentInformation::setTitle(const QString &_title)
195 {
196 	m_title=_title;
197 }
198 
setType(const QString & _type)199 void DocumentInformation::setType(const QString &_type)
200 {
201 	m_type=_type;
202 }
203 
204