Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 2023 → Rev 2024

/branches/Version13x/Scribus/scribus/fileloader.cpp
372,21 → 372,21
doc->toolSettings.defFont = Defont;
doc->toolSettings.dCols=QStoInt(dc.attribute("DCOL", "1"));
doc->toolSettings.dGap=QStodouble(dc.attribute("DGAP", "0.0"));
doc->documentInfo.DocAutor=dc.attribute("AUTHOR");
doc->documentInfo.DocComments=dc.attribute("COMMENTS");
doc->documentInfo.DocKeyWords=dc.attribute("KEYWORDS","");
doc->documentInfo.DocTitel=dc.attribute("TITLE");
doc->documentInfo.DocPublisher = dc.attribute("PUBLISHER", "");
doc->documentInfo.DocDate = dc.attribute("DOCDATE", "");
doc->documentInfo.DocType = dc.attribute("DOCTYPE", "");
doc->documentInfo.DocFormat = dc.attribute("DOCFORMAT", "");
doc->documentInfo.DocIdent = dc.attribute("DOCIDENT", "");
doc->documentInfo.DocSource = dc.attribute("DOCSOURCE", "");
doc->documentInfo.DocLangInfo = dc.attribute("DOCLANGINFO", "");
doc->documentInfo.DocRelation = dc.attribute("DOCRELATION", "");
doc->documentInfo.DocCover = dc.attribute("DOCCOVER", "");
doc->documentInfo.DocRights = dc.attribute("DOCRIGHTS", "");
doc->documentInfo.DocContrib = dc.attribute("DOCCONTRIB", "");
doc->documentInfo.setAuthor(dc.attribute("AUTHOR"));
doc->documentInfo.setComments(dc.attribute("COMMENTS"));
doc->documentInfo.setKeywords(dc.attribute("KEYWORDS",""));
doc->documentInfo.setTitle(dc.attribute("TITLE"));
doc->documentInfo.setPublisher(dc.attribute("PUBLISHER", ""));
doc->documentInfo.setDate(dc.attribute("DOCDATE", ""));
doc->documentInfo.setType(dc.attribute("DOCTYPE", ""));
doc->documentInfo.setFormat(dc.attribute("DOCFORMAT", ""));
doc->documentInfo.setIdent(dc.attribute("DOCIDENT", ""));
doc->documentInfo.setSource(dc.attribute("DOCSOURCE", ""));
doc->documentInfo.setLangInfo(dc.attribute("DOCLANGINFO", ""));
doc->documentInfo.setRelation(dc.attribute("DOCRELATION", ""));
doc->documentInfo.setCover(dc.attribute("DOCCOVER", ""));
doc->documentInfo.setRights(dc.attribute("DOCRIGHTS", ""));
doc->documentInfo.setContrib(dc.attribute("DOCCONTRIB", ""));
doc->typographicSetttings.valueSuperScript = QStoInt(dc.attribute("VHOCH"));
doc->typographicSetttings.scalingSuperScript = QStoInt(dc.attribute("VHOCHSC"));
doc->typographicSetttings.valueSubScript = QStoInt(dc.attribute("VTIEF"));
/branches/Version13x/Scribus/scribus/docinfo.cpp
11,7 → 11,7
extern QPixmap loadIcon(QString nam);
 
#include <qtooltip.h>
#include "scribusdoc.h"
#include "documentinformation.h"
/*
* Constructs a DocInfos which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
19,7 → 19,7
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
DocInfos::DocInfos( QWidget* parent, ScribusDoc* doc )
DocInfos::DocInfos( QWidget* parent, DocumentInformation& docInfo )
: QTabDialog( parent, "i", true, 0 )
{
setMaximumSize( QSize( 32767, 32767 ) );
135,21 → 135,21
addTab( page2, tr("Further &Information") );
 
//set values
titleEdit->setText(doc->documentInfo.DocTitel);
authorEdit->setText(doc->documentInfo.DocAutor);
descriptionEdit->setText(doc->documentInfo.DocComments);
keywordsEdit->setText(doc->documentInfo.DocKeyWords);
publisherEdit->setText(doc->documentInfo.DocPublisher);
dateEdit->setText(doc->documentInfo.DocDate);
typeEdit->setText(doc->documentInfo.DocType);
formatEdit->setText(doc->documentInfo.DocFormat);
identifierEdit->setText(doc->documentInfo.DocIdent);
sourceEdit->setText(doc->documentInfo.DocSource);
languageEdit->setText(doc->documentInfo.DocLangInfo);
relationEdit->setText(doc->documentInfo.DocRelation);
coverageEdit->setText(doc->documentInfo.DocCover);
rightsEdit->setText(doc->documentInfo.DocRights);
contributorsEdit->setText(doc->documentInfo.DocContrib);
titleEdit->setText(docInfo.getTitle());
authorEdit->setText(docInfo.getAuthor());
descriptionEdit->setText(docInfo.getComments());
keywordsEdit->setText(docInfo.getKeywords());
publisherEdit->setText(docInfo.getPublisher());
dateEdit->setText(docInfo.getDate());
typeEdit->setText(docInfo.getType());
formatEdit->setText(docInfo.getFormat());
identifierEdit->setText(docInfo.getIdent());
sourceEdit->setText(docInfo.getSource());
languageEdit->setText(docInfo.getLangInfo());
relationEdit->setText(docInfo.getRelation());
coverageEdit->setText(docInfo.getCover());
rightsEdit->setText(docInfo.getRights());
contributorsEdit->setText(docInfo.getContrib());
 
//tooltips
QToolTip::add( authorEdit, tr( "The person or organisation primarily responsible for making the content of the document.\nThis field can be embedded in the Scribus document for reference, as well as in the metadata of a PDF" ) );
175,3 → 175,25
connect( this, SIGNAL( applyButtonPressed() ), this, SLOT( accept() ) );
connect( this, SIGNAL( cancelButtonPressed() ), this, SLOT( reject() ) );
}
 
 
DocumentInformation DocInfos::getDocInfo()
{
DocumentInformation docInfo;
docInfo.setAuthor(authorEdit->text());
docInfo.setComments(descriptionEdit->text());
docInfo.setContrib(contributorsEdit->text());
docInfo.setCover(coverageEdit->text());
docInfo.setDate(dateEdit->text());
docInfo.setFormat(formatEdit->text());
docInfo.setIdent(identifierEdit->text());
docInfo.setKeywords(keywordsEdit->text());
docInfo.setLangInfo(languageEdit->text());
docInfo.setPublisher(publisherEdit->text());
docInfo.setRelation(relationEdit->text());
docInfo.setRights(rightsEdit->text());
docInfo.setSource(sourceEdit->text());
docInfo.setTitle(titleEdit->text());
docInfo.setType(typeEdit->text());
return docInfo;
}
/branches/Version13x/Scribus/scribus/scribusXml.cpp
1200,21 → 1200,21
doc->toolSettings.defFont = Defont;
doc->toolSettings.dCols=QStoInt(dc.attribute("DCOL", "1"));
doc->toolSettings.dGap=QStodouble(dc.attribute("DGAP", "0.0"));
doc->documentInfo.DocAutor=dc.attribute("AUTHOR");
doc->documentInfo.DocComments=dc.attribute("COMMENTS");
doc->documentInfo.DocKeyWords=dc.attribute("KEYWORDS","");
doc->documentInfo.DocTitel=dc.attribute("TITLE");
doc->documentInfo.DocPublisher = dc.attribute("PUBLISHER", "");
doc->documentInfo.DocDate = dc.attribute("DOCDATE", "");
doc->documentInfo.DocType = dc.attribute("DOCTYPE", "");
doc->documentInfo.DocFormat = dc.attribute("DOCFORMAT", "");
doc->documentInfo.DocIdent = dc.attribute("DOCIDENT", "");
doc->documentInfo.DocSource = dc.attribute("DOCSOURCE", "");
doc->documentInfo.DocLangInfo = dc.attribute("DOCLANGINFO", "");
doc->documentInfo.DocRelation = dc.attribute("DOCRELATION", "");
doc->documentInfo.DocCover = dc.attribute("DOCCOVER", "");
doc->documentInfo.DocRights = dc.attribute("DOCRIGHTS", "");
doc->documentInfo.DocContrib = dc.attribute("DOCCONTRIB", "");
doc->documentInfo.setAuthor(dc.attribute("AUTHOR"));
doc->documentInfo.setComments(dc.attribute("COMMENTS"));
doc->documentInfo.setKeywords(dc.attribute("KEYWORDS",""));
doc->documentInfo.setTitle(dc.attribute("TITLE"));
doc->documentInfo.setPublisher(dc.attribute("PUBLISHER", ""));
doc->documentInfo.setDate(dc.attribute("DOCDATE", ""));
doc->documentInfo.setType(dc.attribute("DOCTYPE", ""));
doc->documentInfo.setFormat(dc.attribute("DOCFORMAT", ""));
doc->documentInfo.setIdent(dc.attribute("DOCIDENT", ""));
doc->documentInfo.setSource(dc.attribute("DOCSOURCE", ""));
doc->documentInfo.setLangInfo(dc.attribute("DOCLANGINFO", ""));
doc->documentInfo.setRelation(dc.attribute("DOCRELATION", ""));
doc->documentInfo.setCover(dc.attribute("DOCCOVER", ""));
doc->documentInfo.setRights(dc.attribute("DOCRIGHTS", ""));
doc->documentInfo.setContrib(dc.attribute("DOCCONTRIB", ""));
doc->typographicSetttings.valueSuperScript = QStoInt(dc.attribute("VHOCH"));
doc->typographicSetttings.scalingSuperScript = QStoInt(dc.attribute("VHOCHSC"));
doc->typographicSetttings.valueSubScript = QStoInt(dc.attribute("VTIEF"));
2626,21 → 2626,21
dc.setAttribute("DSIZE",doc->toolSettings.defSize / 10.0);
dc.setAttribute("DCOL",doc->toolSettings.dCols);
dc.setAttribute("DGAP",doc->toolSettings.dGap);
dc.setAttribute("AUTHOR",doc->documentInfo.DocAutor);
dc.setAttribute("COMMENTS",doc->documentInfo.DocComments);
dc.setAttribute("KEYWORDS",doc->documentInfo.DocKeyWords);
dc.setAttribute("PUBLISHER",doc->documentInfo.DocPublisher);
dc.setAttribute("DOCDATE",doc->documentInfo.DocDate);
dc.setAttribute("DOCTYPE",doc->documentInfo.DocType);
dc.setAttribute("DOCFORMAT",doc->documentInfo.DocFormat);
dc.setAttribute("DOCIDENT",doc->documentInfo.DocIdent);
dc.setAttribute("DOCSOURCE",doc->documentInfo.DocSource);
dc.setAttribute("DOCLANGINFO",doc->documentInfo.DocLangInfo);
dc.setAttribute("DOCRELATION",doc->documentInfo.DocRelation);
dc.setAttribute("DOCCOVER",doc->documentInfo.DocCover);
dc.setAttribute("DOCRIGHTS",doc->documentInfo.DocRights);
dc.setAttribute("DOCCONTRIB",doc->documentInfo.DocContrib);
dc.setAttribute("TITLE",doc->documentInfo.DocTitel);
dc.setAttribute("AUTHOR",doc->documentInfo.getAuthor());
dc.setAttribute("COMMENTS",doc->documentInfo.getComments());
dc.setAttribute("KEYWORDS",doc->documentInfo.getKeywords());
dc.setAttribute("PUBLISHER",doc->documentInfo.getPublisher());
dc.setAttribute("DOCDATE",doc->documentInfo.getDate());
dc.setAttribute("DOCTYPE",doc->documentInfo.getType());
dc.setAttribute("DOCFORMAT",doc->documentInfo.getFormat());
dc.setAttribute("DOCIDENT",doc->documentInfo.getIdent());
dc.setAttribute("DOCSOURCE",doc->documentInfo.getSource());
dc.setAttribute("DOCLANGINFO",doc->documentInfo.getLangInfo());
dc.setAttribute("DOCRELATION",doc->documentInfo.getRelation());
dc.setAttribute("DOCCOVER",doc->documentInfo.getCover());
dc.setAttribute("DOCRIGHTS",doc->documentInfo.getRights());
dc.setAttribute("DOCCONTRIB",doc->documentInfo.getContrib());
dc.setAttribute("TITLE",doc->documentInfo.getTitle());
dc.setAttribute("VHOCH",doc->typographicSetttings.valueSuperScript);
dc.setAttribute("VHOCHSC",doc->typographicSetttings.scalingSuperScript);
dc.setAttribute("VTIEF",doc->typographicSetttings.valueSubScript);
/branches/Version13x/Scribus/scribus/documentinformation.h
22,23 → 22,55
{
public:
DocumentInformation();
~DocumentInformation();
QString DocAutor;
QString DocTitel;
QString DocComments;
QString DocKeyWords;
QString DocPublisher;
QString DocType;
QString DocDate;
QString DocFormat;
QString DocIdent;
QString DocSource;
QString DocLangInfo;
QString DocRelation;
QString DocCover;
QString DocRights;
QString DocContrib;
~DocumentInformation() {};
const QString getAuthor();
const QString getComments();
const QString getContrib();
const QString getCover();
const QString getDate();
const QString getFormat();
const QString getIdent();
const QString getKeywords();
const QString getLangInfo();
const QString getPublisher();
const QString getRelation();
const QString getRights();
const QString getSource();
const QString getTitle();
const QString getType();
void setAuthor(const QString &_author);
void setComments(const QString &_comments);
void setContrib(const QString &_contrib);
void setCover(const QString &_cover);
void setDate(const QString &_date);
void setFormat(const QString &_format);
void setIdent(const QString &_ident);
void setKeywords(const QString &_keywords);
void setLangInfo(const QString &_langInfo);
void setPublisher(const QString &_publisher);
void setRelation(const QString &_relation);
void setRights(const QString &_rights);
void setSource(const QString &_source);
void setTitle(const QString &_title);
void setType(const QString &_type);
private:
QString author;
QString comments;
QString contrib;
QString cover;
QString date;
QString format;
QString ident;
QString keywords;
QString langInfo;
QString publisher;
QString relation;
QString rights;
QString source;
QString title;
QString type;
};
 
#endif
/branches/Version13x/Scribus/scribus/docinfo.h
14,16 → 14,20
#include <qlayout.h>
#include <qlineedit.h>
#include <qmultilineedit.h>
class ScribusDoc;
 
#include "documentinformation.h"
 
class DocInfos : public QTabDialog
{
Q_OBJECT
 
public:
DocInfos( QWidget* parent, ScribusDoc* doc );
DocInfos( QWidget* parent, DocumentInformation& docInfo );
~DocInfos() {};
DocumentInformation getDocInfo();
 
protected:
QLineEdit* publisherEdit;
QLineEdit* dateEdit;
QLineEdit* typeEdit;
34,14 → 38,13
QLineEdit* relationEdit;
QLineEdit* coverageEdit;
QLineEdit* rightsEdit;
QMultiLineEdit* contributorsEdit;
 
QLineEdit* titleEdit;
QLineEdit* authorEdit;
QMultiLineEdit* descriptionEdit;
QMultiLineEdit* keywordsEdit;
QMultiLineEdit* contributorsEdit;
 
protected:
QLabel* authorLabel;
QLabel* titleLabel;
QLabel* publisherLabel;
/branches/Version13x/Scribus/scribus/libpostscript/pslib.cpp
959,8 → 959,8
QValueList<double> dum;
double gx, gy, gw, gh;
dum.clear();
PS_set_Info("Author", Doc->documentInfo.DocAutor);
PS_set_Info("Title", Doc->documentInfo.DocTitel);
PS_set_Info("Author", Doc->documentInfo.getAuthor());
PS_set_Info("Title", Doc->documentInfo.getTitle());
if (!farb)
PS_setGray();
if ((!Art) && (view->SelItem.count() != 0))
/branches/Version13x/Scribus/scribus/documentinformation.cpp
17,23 → 17,170
 
DocumentInformation::DocumentInformation()
{
DocTitel = "";
DocAutor = "";
DocComments = "";
DocKeyWords = "";
DocPublisher = "";
DocDate = "";
DocType = "";
DocFormat = "";
DocIdent = "";
DocSource = "";
DocLangInfo = "";
DocRelation = "";
DocCover = "";
DocRights = "";
DocContrib = "";
author = "";
comments = "";
contrib = "";
cover = "";
date = "";
format = "";
ident = "";
keywords = "";
langInfo = "";
publisher = "";
relation = "";
rights = "";
source = "";
title = "";
type = "";
}
 
DocumentInformation::~DocumentInformation()
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::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::setTitle(const QString &_title)
{
title=_title;
}
 
void DocumentInformation::setType(const QString &_type)
{
type=_type;
}
/branches/Version13x/Scribus/scribus/scribus.cpp
131,6 → 131,7
#include "scpaths.h"
#include "pdfoptions.h"
#include "actionmanager.h"
#include "documentinformation.h"
 
//CB TODO include for toc testing for now
#include "gtwriter.h"
7525,24 → 7526,10
 
void ScribusApp::InfoDoc()
{
DocInfos *dia = new DocInfos(this, doc);
DocInfos *dia = new DocInfos(this, doc->documentInfo);
if (dia->exec())
{
doc->documentInfo.DocAutor = dia->authorEdit->text();
doc->documentInfo.DocTitel = dia->titleEdit->text();
doc->documentInfo.DocComments = dia->descriptionEdit->text();
doc->documentInfo.DocKeyWords = dia->keywordsEdit->text();
doc->documentInfo.DocPublisher = dia->publisherEdit->text();
doc->documentInfo.DocDate = dia->dateEdit->text();
doc->documentInfo.DocType = dia->typeEdit->text();
doc->documentInfo.DocFormat = dia->formatEdit->text();
doc->documentInfo.DocIdent = dia->identifierEdit->text();
doc->documentInfo.DocSource = dia->sourceEdit->text();
doc->documentInfo.DocLangInfo = dia->languageEdit->text();
doc->documentInfo.DocRelation = dia->relationEdit->text();
doc->documentInfo.DocCover = dia->coverageEdit->text();
doc->documentInfo.DocRights = dia->rightsEdit->text();
doc->documentInfo.DocContrib = dia->contributorsEdit->text();
doc->documentInfo=dia->getDocInfo();
slotDocCh();
}
delete dia;
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdvar.h
6,7 → 6,7
#endif
 
#include <Python.h>
#include "qstring.h"
#include <qstring.h>
#include "scribus.h"
 
class ScripterCore;
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmddoc.cpp
1,6 → 1,7
 
#include "cmddoc.h"
#include "cmdutil.h"
#include "documentinformation.h"
 
PyObject *scribus_newdoc(PyObject */*self*/, PyObject* args)
{
115,9 → 116,9
return NULL;
if(!checkHaveDocument())
return NULL;
Carrier->doc->documentInfo.DocAutor = QString::fromUtf8(Author);
Carrier->doc->documentInfo.DocTitel = QString::fromUtf8(Title);
Carrier->doc->documentInfo.DocComments = QString::fromUtf8(Desc);
Carrier->doc->documentInfo.setAuthor(QString::fromUtf8(Author));
Carrier->doc->documentInfo.setTitle(QString::fromUtf8(Title));
Carrier->doc->documentInfo.setComments(QString::fromUtf8(Desc));
Carrier->slotDocCh();
Py_INCREF(Py_None);
return Py_None;
/branches/Version13x/Scribus/scribus/plugins/fileloader/oodraw/oodrawimp.cpp
222,22 → 222,22
QDomElement mp = metaElem.namedItem( "office:meta" ).toElement();
mpg = mp.namedItem( "dc:title" );
if (!mpg.isNull())
Prog->doc->documentInfo.DocTitel = QString::fromUtf8(mpg.toElement().text());
Prog->doc->documentInfo.setTitle(QString::fromUtf8(mpg.toElement().text()));
mpg = mp.namedItem( "meta:initial-creator" );
if (!mpg.isNull())
Prog->doc->documentInfo.DocAutor = QString::fromUtf8(mpg.toElement().text());
Prog->doc->documentInfo.setAuthor(QString::fromUtf8(mpg.toElement().text()));
mpg = mp.namedItem( "dc:description" );
if (!mpg.isNull())
Prog->doc->documentInfo.DocComments = QString::fromUtf8(mpg.toElement().text());
Prog->doc->documentInfo.setComments(QString::fromUtf8(mpg.toElement().text()));
mpg = mp.namedItem( "dc:language" );
if (!mpg.isNull())
Prog->doc->documentInfo.DocLangInfo = QString::fromUtf8(mpg.toElement().text());
Prog->doc->documentInfo.setLangInfo(QString::fromUtf8(mpg.toElement().text()));
mpg = mp.namedItem( "meta:creation-date" );
if (!mpg.isNull())
Prog->doc->documentInfo.DocDate = QString::fromUtf8(mpg.toElement().text());
Prog->doc->documentInfo.setDate(QString::fromUtf8(mpg.toElement().text()));
mpg = mp.namedItem( "dc:creator" );
if (!mpg.isNull())
Prog->doc->documentInfo.DocContrib = QString::fromUtf8(mpg.toElement().text());
Prog->doc->documentInfo.setContrib(QString::fromUtf8(mpg.toElement().text()));
mpg = mp.namedItem( "meta:keywords" );
if (!mpg.isNull())
{
247,7 → 247,7
Keys += QString::fromUtf8(n.toElement().text())+", ";
}
if (Keys.length() > 2)
Prog->doc->documentInfo.DocKeyWords = Keys.left(Keys.length()-2);
Prog->doc->documentInfo.setKeywords(Keys.left(Keys.length()-2));
}
}
Doku = Prog->doc;
/branches/Version13x/Scribus/scribus/libpdf/pdflib.cpp
470,8 → 470,8
IDg += Options->Datei;
IDg += "Scribus "+QString(VERSION);
IDg += "Libpdf for Scribus "+QString(VERSION);
IDg += doc->documentInfo.DocTitel;
IDg += doc->documentInfo.DocAutor;
IDg += doc->documentInfo.getTitle();
IDg += doc->documentInfo.getAuthor();
IDg += "/False";
FileID = ComputeMD5(IDg);
if (Options->Encrypt)
512,9 → 512,9
StartObj(2);
PutDoc("<<\n/Creator "+EncString("(Scribus "+QString(VERSION)+")",2)+"\n");
PutDoc("/Producer "+EncString("(Libpdf for Scribus "+QString(VERSION)+")",2)+"\n");
PutDoc("/Title "+EncString("("+doc->documentInfo.DocTitel+")",2)+"\n");
PutDoc("/Author "+EncString("("+doc->documentInfo.DocAutor+")",2)+"\n");
PutDoc("/Keywords "+EncString("("+doc->documentInfo.DocKeyWords+")",2)+"\n");
PutDoc("/Title "+EncString("("+doc->documentInfo.getTitle()+")",2)+"\n");
PutDoc("/Author "+EncString("("+doc->documentInfo.getAuthor()+")",2)+"\n");
PutDoc("/Keywords "+EncString("("+doc->documentInfo.getKeywords()+")",2)+"\n");
PutDoc("/CreationDate "+EncString("("+Datum+")",2)+"\n");
PutDoc("/ModDate "+EncString("("+Datum+")",2)+"\n");
if (Options->Version == 12)