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