Back to index

scribus-ng  1.3.4.dfsg+svn20071115
documentinformation.cpp
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008        begin                : Apr 2005
00009        copyright            : (C) 2005 by Craig Bradney
00010        email                : cbradney@zip.com.au
00011 ***************************************************************************/
00012 
00013 /***************************************************************************
00014 *                                                                         *
00015 *   ScMW program is free software; you can redistribute it and/or modify  *
00016 *   it under the terms of the GNU General Public License as published by  *
00017 *   the Free Software Foundation; either version 2 of the License, or     *
00018 *   (at your option) any later version.                                   *
00019 *                                                                         *
00020 ***************************************************************************/
00021 
00022 #include "documentinformation.h"
00023 
00024 DocumentInformation::DocumentInformation()
00025 {
00026        author = "";
00027        comments = "";
00028        contrib = "";
00029        cover = "";
00030        date = "";
00031        format = "";
00032        ident = "";
00033        keywords = "";
00034        langInfo = "";
00035        publisher = "";
00036        relation = "";
00037        rights = "";
00038        source = "";
00039        title = "";
00040        type = "";
00041 }
00042 
00043 const QString DocumentInformation::getAuthor()
00044 {
00045        return author;
00046 }
00047 
00048 const QString DocumentInformation::getComments()
00049 {
00050        return comments;
00051 }
00052 
00053 const QString DocumentInformation::getContrib()
00054 {
00055        return contrib;
00056 }
00057 
00058 const QString DocumentInformation::getCover()
00059 {
00060        return cover;
00061 }
00062 
00063 const QString DocumentInformation::getDate()
00064 {
00065        return date;
00066 }
00067 
00068 const QString DocumentInformation::getFormat()
00069 {
00070        return format;
00071 }
00072 
00073 const QString DocumentInformation::getIdent()
00074 {
00075        return ident;
00076 }
00077 
00078 const QString DocumentInformation::getKeywords()
00079 {
00080        return keywords;
00081 }
00082 
00083 const QString DocumentInformation::getLangInfo()
00084 {
00085        return langInfo;
00086 }
00087 
00088 const QString DocumentInformation::getPublisher()
00089 {
00090        return publisher;
00091 }
00092 
00093 const QString DocumentInformation::getRelation()
00094 {
00095        return relation;
00096 }
00097 
00098 const QString DocumentInformation::getRights()
00099 {
00100        return rights;
00101 }
00102 
00103 const QString DocumentInformation::getSource()
00104 {
00105        return source;
00106 }
00107 
00108 const QString DocumentInformation::getTitle()
00109 {
00110        return title;
00111 }
00112 
00113 const QString DocumentInformation::getType()
00114 {
00115        return type;
00116 }
00117 
00118 
00119 void DocumentInformation::setAuthor(const QString &_author)
00120 {
00121        author=_author;
00122 }
00123 
00124 void DocumentInformation::setComments(const QString &_comments)
00125 {
00126        comments=_comments;
00127 }
00128 
00129 void DocumentInformation::setContrib(const QString &_contrib)
00130 {
00131        contrib=_contrib;
00132 }
00133 
00134 void DocumentInformation::setCover(const QString &_cover)
00135 {
00136        cover=_cover;
00137 }
00138 
00139 void DocumentInformation::setDate(const QString &_date)
00140 {
00141        date=_date;
00142 }
00143 
00144 void DocumentInformation::setFormat(const QString &_format)
00145 {
00146        format=_format;
00147 }
00148 
00149 void DocumentInformation::setIdent(const QString &_ident)
00150 {
00151        ident=_ident;
00152 }
00153 
00154 void DocumentInformation::setKeywords(const QString &_keywords)
00155 {
00156        keywords=_keywords;
00157 }
00158 
00159 void DocumentInformation::setLangInfo(const QString &_langInfo)
00160 {
00161        langInfo=_langInfo;
00162 }
00163 
00164 void DocumentInformation::setPublisher(const QString &_publisher)
00165 {
00166        publisher=_publisher;
00167 }
00168 
00169 void DocumentInformation::setRelation(const QString &_relation)
00170 {
00171        relation=_relation;
00172 }
00173 
00174 void DocumentInformation::setRights(const QString &_rights)
00175 {
00176        rights=_rights;
00177 }
00178 
00179 void DocumentInformation::setSource(const QString &_source)
00180 {
00181        source=_source;
00182 }
00183 
00184 void DocumentInformation::setTitle(const QString &_title)
00185 {
00186        title=_title;
00187 }
00188 
00189 void DocumentInformation::setType(const QString &_type)
00190 {
00191        type=_type;
00192 }