Back to index

scribus-ng  1.3.4.dfsg+svn20071115
documentinformation.h
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 #ifndef DOCUMENTINFORMATION_H
00023 #define DOCUMENTINFORMATION_H
00024 
00025 #include <qstring.h>
00026 #include "scribusapi.h"
00027 
00028 class SCRIBUS_API DocumentInformation
00029 {
00030        public:
00031               DocumentInformation();
00032               ~DocumentInformation() {};
00033               const QString getAuthor();
00034               const QString getComments();
00035               const QString getContrib();
00036               const QString getCover();
00037               const QString getDate();
00038               const QString getFormat();
00039               const QString getIdent();
00040               const QString getKeywords();
00041               const QString getLangInfo();
00042               const QString getPublisher();
00043               const QString getRelation();
00044               const QString getRights();
00045               const QString getSource();
00046               const QString getTitle();
00047               const QString getType();
00048               
00049               void setAuthor(const QString &_author);
00050               void setComments(const QString &_comments);
00051               void setContrib(const QString &_contrib);
00052               void setCover(const QString &_cover);
00053               void setDate(const QString &_date);
00054               void setFormat(const QString &_format);
00055               void setIdent(const QString &_ident);
00056               void setKeywords(const QString &_keywords);
00057               void setLangInfo(const QString &_langInfo);
00058               void setPublisher(const QString &_publisher);
00059               void setRelation(const QString &_relation);
00060               void setRights(const QString &_rights);
00061               void setSource(const QString &_source);
00062               void setTitle(const QString &_title);
00063               void setType(const QString &_type);
00064               
00065        private:
00066               QString author;
00067               QString comments;
00068               QString contrib;
00069               QString cover;
00070               QString date;
00071               QString format;
00072               QString ident;
00073               QString keywords;
00074               QString langInfo;
00075               QString publisher;
00076               QString relation;
00077               QString rights;
00078               QString source;
00079               QString title;
00080               QString type;
00081 };
00082 
00083 #endif