Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1971 → Rev 1972

/branches/Version13x/Scribus/scribus/pdfopts.cpp
12,6 → 12,7
#include "customfdialog.h"
#include "prefsfile.h"
#include "units.h"
#include "pdfoptions.h"
 
#ifdef _MSC_VER
#if (_MSC_VER >= 1200)
/branches/Version13x/Scribus/scribus/pdfoptions.cpp
0,0 → 1,52
#include "pdfoptions.h"
#include "scribusstructs.h"
 
PDFOptions::VerifyResults PDFOptions::verify(QString* problemDescription)
{
// TODO: implement this method
return Verify_OtherError;
}
 
bool PDFOptions::saveTo(QTextStream& outStream) const
{
if (!outStream.device()->isWritable())
return false;
// TODO: implement this method
return false;
}
 
// overload of bool PDFOptions::saveTo(QTextStream& outStream) const
bool PDFOptions::saveTo(QString outFileName) const
{
QTextStream ts(outFileName, IO_WriteOnly|IO_Truncate);
return saveTo(ts);
}
 
// overload of bool PDFOptions::saveTo(QTextStream& outStream) const
bool PDFOptions::saveTo(FILE* outFilePtr) const
{
QTextStream ts(outFilePtr, IO_WriteOnly|IO_Truncate);
return saveTo(ts);
}
 
bool readFrom(QTextStream& inStream)
{
if (!inStream.device()->isReadable())
return false;
// TODO: implement this method
return false;
}
 
// overload of bool readFrom(QTextStream& inStream)
bool readFrom(QString inFileName)
{
QTextStream ts(inFileName, IO_ReadOnly);
return readFrom(ts);
}
 
// overload of bool readFrom(QTextStream& inStream)
bool readFrom(FILE* inFilePtr)
{
QTextStream ts(inFilePtr, IO_ReadOnly);
return readFrom(ts);
}
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: branches/Version13x/Scribus/scribus/tabpdfoptions.h
===================================================================
--- branches/Version13x/Scribus/scribus/tabpdfoptions.h (revision 1971)
+++ branches/Version13x/Scribus/scribus/tabpdfoptions.h (revision 1972)
@@ -22,6 +22,8 @@
#include "bookmwin.h"
#include "mspinbox.h"
+class PDFOptions;
+
class TabPDFOptions : public QTabWidget
{
Q_OBJECT
/branches/Version13x/Scribus/scribus/Makefile.am
8,7 → 8,7
pixbuf_libs = pixbuf/libpixbuf.la
endif
 
scribus_SOURCES = about.cpp applytemplatedialog.ui art_kmisc.c art_render_misc.c art_render_pattern.c art_rgb.c art_rgb_affine_private.c art_rgb_svp.c art_rgba_affine.c scrpalettebase.cpp docitemattrprefs.ui pageitemattributes.ui tocindexprefs.ui pagesize.cpp pluginmanager.cpp prefs.cpp fontreplacedialog.cpp tabpdfoptions.cpp tabcheckdoc.cpp checkDocument.cpp units.cpp scraction.cpp menumanager.cpp scmenu.cpp charselect.cpp filewatcher.cpp tabtools.cpp tabguides.cpp tabtypography.cpp arrowchooser.cpp polygonwidget.cpp prefsdialogbase.cpp fileloader.cpp gradienteditor.cpp gtgettext.cpp gtdialogs.cpp gtstyle.cpp gtframestyle.cpp gtparagraphstyle.cpp gtfont.cpp gtwriter.cpp gtaction.cpp gtmeasure.cpp undomanager.cpp undostate.cpp undoobject.cpp undogui.cpp prefsfile.cpp prefscontext.cpp prefsreader.cpp prefstable.cpp ioapi.c unzip.c fileunzip.cpp measurements.cpp langmgr.cpp tabruler.cpp insertTable.cpp pageselector.cpp shadebutton.cpp alignselect.cpp styleselect.cpp search.cpp tabmanager.cpp fparser.cpp autoformbuttongroup.cpp autoform.cpp story.cpp vgradient.cpp scpainter.cpp fontcombo.cpp scpreview.cpp lineformats.cpp multiline.cpp splash.cpp mergedoc.cpp bookpalette.cpp rc4.c md5.c cupsoptions.cpp guidemanager.cpp scribuswin.cpp hyphenator.cpp hyphen.c hyask.cpp hnjalloc.c hysettings.cpp seiten.cpp fpointarray.cpp fpoint.cpp annota.cpp buttonicon.cpp javadocs.cpp selfield.cpp editor.cpp extimageprops.cpp page.cpp layers.cpp polyprops.cpp mpalette.cpp werktoolb.cpp keymanager.cpp navigator.cpp annot.cpp bookmwin.cpp cmsprefs.cpp customfdialog.cpp picsearch.cpp picstatus.cpp newtemp.cpp muster.cpp scfonts_ttf.cpp scrap.cpp scfonts.cpp frameedit.cpp spalette.cpp edit1format.cpp editformats.cpp druck.cpp colorchart.cpp util.cpp cmykcolor.cpp cmykfw.cpp scribusXml.cpp linecombo.cpp linkbutton.cpp helpbrowser.cpp mspinbox.cpp movepage.cpp delpages.cpp inspage.cpp pdfopts.cpp tree.cpp missing.cpp fontprefs.cpp fmitem.cpp align.cpp serializer.cpp reformdoc.cpp docinfo.cpp mdup.cpp cpalette.cpp dcolor.cpp query.cpp colorm.cpp vruler.cpp hruler.cpp pageitem.cpp newfile.cpp scribusview.cpp scribusdoc.cpp scpaths.cpp scribus.cpp main.cpp
scribus_SOURCES = about.cpp applytemplatedialog.ui art_kmisc.c art_render_misc.c art_render_pattern.c art_rgb.c art_rgb_affine_private.c art_rgb_svp.c art_rgba_affine.c scrpalettebase.cpp docitemattrprefs.ui pageitemattributes.ui tocindexprefs.ui pagesize.cpp pluginmanager.cpp prefs.cpp fontreplacedialog.cpp pdfoptions.cpp tabpdfoptions.cpp tabcheckdoc.cpp checkDocument.cpp units.cpp scraction.cpp menumanager.cpp scmenu.cpp charselect.cpp filewatcher.cpp tabtools.cpp tabguides.cpp tabtypography.cpp arrowchooser.cpp polygonwidget.cpp prefsdialogbase.cpp fileloader.cpp gradienteditor.cpp gtgettext.cpp gtdialogs.cpp gtstyle.cpp gtframestyle.cpp gtparagraphstyle.cpp gtfont.cpp gtwriter.cpp gtaction.cpp gtmeasure.cpp undomanager.cpp undostate.cpp undoobject.cpp undogui.cpp prefsfile.cpp prefscontext.cpp prefsreader.cpp prefstable.cpp ioapi.c unzip.c fileunzip.cpp measurements.cpp langmgr.cpp tabruler.cpp insertTable.cpp pageselector.cpp shadebutton.cpp alignselect.cpp styleselect.cpp search.cpp tabmanager.cpp fparser.cpp autoformbuttongroup.cpp autoform.cpp story.cpp vgradient.cpp scpainter.cpp fontcombo.cpp scpreview.cpp lineformats.cpp multiline.cpp splash.cpp mergedoc.cpp bookpalette.cpp rc4.c md5.c cupsoptions.cpp guidemanager.cpp scribuswin.cpp hyphenator.cpp hyphen.c hyask.cpp hnjalloc.c hysettings.cpp seiten.cpp fpointarray.cpp fpoint.cpp annota.cpp buttonicon.cpp javadocs.cpp selfield.cpp editor.cpp extimageprops.cpp page.cpp layers.cpp polyprops.cpp mpalette.cpp werktoolb.cpp keymanager.cpp navigator.cpp annot.cpp bookmwin.cpp cmsprefs.cpp customfdialog.cpp picsearch.cpp picstatus.cpp newtemp.cpp muster.cpp scfonts_ttf.cpp scrap.cpp scfonts.cpp frameedit.cpp spalette.cpp edit1format.cpp editformats.cpp druck.cpp colorchart.cpp util.cpp cmykcolor.cpp cmykfw.cpp scribusXml.cpp linecombo.cpp linkbutton.cpp helpbrowser.cpp mspinbox.cpp movepage.cpp delpages.cpp inspage.cpp pdfopts.cpp tree.cpp missing.cpp fontprefs.cpp fmitem.cpp align.cpp serializer.cpp reformdoc.cpp docinfo.cpp mdup.cpp cpalette.cpp dcolor.cpp query.cpp colorm.cpp vruler.cpp hruler.cpp pageitem.cpp newfile.cpp scribusview.cpp scribusdoc.cpp scpaths.cpp scribus.cpp main.cpp
 
INTERFACES =
TRANSLATIONS =
15,7 → 15,7
 
SUBDIRS = $(pixbuf_subdirs) dicts doc icons keysets libpdf libpostscript manpages plugins po profiles qm templates
 
EXTRA_DIST = about.cpp about.h applytemplatedialog.ui applytemplatedialog.ui.h main.cpp scribus.cpp scribus.h scribusdoc.cpp scribusdoc.h scribusview.cpp scribusview.h newfile.h newfile.cpp pageitem.cpp pageitem.h hruler.cpp hruler.h vruler.cpp vruler.h colorm.cpp colorm.h query.cpp query.h dcolor.cpp dcolor.h cpalette.cpp cpalette.h mdup.cpp mdup.h docinfo.cpp docinfo.h reformdoc.cpp reformdoc.h serializer.cpp serializer.h align.cpp align.h fmitem.cpp fmitem.h fontprefs.cpp fontprefs.h missing.cpp missing.h tree.cpp tree.h pdfopts.cpp pdfopts.h inspage.cpp inspage.h delpages.cpp delpages.h movepage.cpp movepage.h mspinbox.cpp mspinbox.h helpbrowser.cpp helpbrowser.h icons5.h linkbutton.cpp linkbutton.h icons6.h linecombo.cpp linecombo.h scribusXml.cpp scribusXml.h cmykfw.cpp cmykfw.h cmykcolor.cpp cmykcolor.h util.cpp colorchart.cpp colorchart.h druck.cpp druck.h editformats.cpp editformats.h edit1format.cpp edit1format.h spalette.cpp spalette.h frameedit.cpp frameedit.h scfonts.cpp scfonts.h scrap.cpp scrap.h scfonts_ttf.cpp scfonts_ttf.h muster.cpp muster.h newtemp.cpp newtemp.h picstatus.cpp picstatus.h picsearch.cpp picsearch.h customfdialog.cpp customfdialog.h cmsprefs.cpp cmsprefs.h bookmwin.cpp bookmwin.h annot.cpp annot.h navigator.cpp navigator.h keymanager.cpp keymanager.h werktoolb.cpp werktoolb.h mpalette.h mpalette.cpp polyprops.cpp polyprops.h layers.cpp layers.h page.cpp page.h editor.cpp editor.h selfield.cpp selfield.h javadocs.cpp javadocs.h buttonicon.cpp buttonicon.h annota.cpp annota.h fpoint.cpp fpoint.h fpointarray.cpp fpointarray.h seiten.cpp seiten.h hysettings.cpp hysettings.h hnjalloc.c hnjalloc.h hyask.cpp hyask.h hyphen.c hyphen.h hyphenator.cpp hyphenator.h scribuswin.cpp scribuswin.h guidemanager.cpp guidemanager.h cupsoptions.cpp cupsoptions.h md5.c md5.h rc4.c rc4.h mergedoc.cpp mergedoc.h bookpalette.cpp bookpalette.h splash.h fontcombo.h scpainter.cpp scpainter.h vgradient.cpp vgradient.h story.cpp story.h autoformbuttongroup.cpp autoformbuttongroup.h autoform.cpp autoform.h fparser.cpp fparser.h tabmanager.cpp tabmanager.h search.cpp search.h styleselect.cpp styleselect.h alignselect.cpp alignselect.h shadebutton.cpp shadebutton.h pageselector.cpp color.h gtaction.cpp gtaction.h gtwriter.cpp gtwriter.h gtfont.cpp gtfont.h gtdialogs.cpp gtdialogs.h gtstyle.cpp gtstyle.h gtframestyle.cpp gtframestyle.h gtparagraphstyle.cpp gtparagraphstyle.h gtmeasure.cpp gtmeasure.h undomanager.cpp undomanager.h undostate.cpp undostate.h undoobject.cpp undoobject.h undogui.cpp undogui.h prefsfile.cpp prefsfile.h prefscontext.cpp prefscontext.h prefsreader.cpp prefsreader.h prefstable.cpp prefstable.h prefs.cpp prefs.h ioapi.c ioapi.h unzip.c unzip.h fileunzip.cpp fileunzip.h langmgr.h langmgr.cpp polygonwidget.cpp polygonwidget.h fileloader.cpp fileloader.h prefsdialogbase.cpp prefsdialogbase.h gradienteditor.cpp gradienteditor.h pageselector.h insertTable.cpp insertTable.h tabtools.cpp tabtools.h tabguides.cpp tabguides.h tabtypography.cpp tabtypography.h tabcheckdoc.cpp tabcheckdoc.h tabpdfoptions.cpp tabpdfoptions.h arrowchooser.cpp arrowchooser.h charselect.cpp charselect.h fontreplacedialog.cpp fontreplacedialog.h filewatcher.cpp filewatcher.h checkDocument.cpp checkDocument.h art_kmisc.c art_kmisc.h art_render_misc.c art_render_misc.h art_render_pattern.c art_render_pattern.h art_rgb.c art_rgb.h art_rgb_affine_private.c art_rgb_affine_private.h art_rgb_svp.c art_rgb_svp.h art_rgba_affine.c art_rgba_affine.h LoremIpsum.txt LoremIpsum-short.txt rgbscribus.txt rgbscribusgreys.txt rgbscribusgnome.txt rgbsvg.txt rgbscribusopenoffice.txt units.h units.cpp scribusstructs.h scraction.cpp scraction.h menumanager.cpp menumanager.h scmenu.cpp scmenu.h scrpalettebase.cpp scrpalettebase.h docitemattrprefs.ui docitemattrprefs.ui.h pageitemattributes.ui pageitemattributes.ui.h tocindexprefs.ui tocindexprefs.ui.h pluginmanager.cpp pluginmanager.h extimageprops.cpp extimageprops.h pagesize.cpp pagesize.h scpaths.h
EXTRA_DIST = about.cpp about.h applytemplatedialog.ui applytemplatedialog.ui.h main.cpp scribus.cpp scribus.h scribusdoc.cpp scribusdoc.h scribusview.cpp scribusview.h newfile.h newfile.cpp pageitem.cpp pageitem.h hruler.cpp hruler.h vruler.cpp vruler.h colorm.cpp colorm.h query.cpp query.h dcolor.cpp dcolor.h cpalette.cpp cpalette.h mdup.cpp mdup.h docinfo.cpp docinfo.h reformdoc.cpp reformdoc.h serializer.cpp serializer.h align.cpp align.h fmitem.cpp fmitem.h fontprefs.cpp fontprefs.h missing.cpp missing.h tree.cpp tree.h pdfopts.cpp pdfopts.h inspage.cpp inspage.h delpages.cpp delpages.h movepage.cpp movepage.h mspinbox.cpp mspinbox.h helpbrowser.cpp helpbrowser.h icons5.h linkbutton.cpp linkbutton.h icons6.h linecombo.cpp linecombo.h scribusXml.cpp scribusXml.h cmykfw.cpp cmykfw.h cmykcolor.cpp cmykcolor.h util.cpp colorchart.cpp colorchart.h druck.cpp druck.h editformats.cpp editformats.h edit1format.cpp edit1format.h spalette.cpp spalette.h frameedit.cpp frameedit.h scfonts.cpp scfonts.h scrap.cpp scrap.h scfonts_ttf.cpp scfonts_ttf.h muster.cpp muster.h newtemp.cpp newtemp.h picstatus.cpp picstatus.h picsearch.cpp picsearch.h customfdialog.cpp customfdialog.h cmsprefs.cpp cmsprefs.h bookmwin.cpp bookmwin.h annot.cpp annot.h navigator.cpp navigator.h keymanager.cpp keymanager.h werktoolb.cpp werktoolb.h mpalette.h mpalette.cpp polyprops.cpp polyprops.h layers.cpp layers.h page.cpp page.h editor.cpp editor.h selfield.cpp selfield.h javadocs.cpp javadocs.h buttonicon.cpp buttonicon.h annota.cpp annota.h fpoint.cpp fpoint.h fpointarray.cpp fpointarray.h seiten.cpp seiten.h hysettings.cpp hysettings.h hnjalloc.c hnjalloc.h hyask.cpp hyask.h hyphen.c hyphen.h hyphenator.cpp hyphenator.h scribuswin.cpp scribuswin.h guidemanager.cpp guidemanager.h cupsoptions.cpp cupsoptions.h md5.c md5.h rc4.c rc4.h mergedoc.cpp mergedoc.h bookpalette.cpp bookpalette.h splash.h fontcombo.h scpainter.cpp scpainter.h vgradient.cpp vgradient.h story.cpp story.h autoformbuttongroup.cpp autoformbuttongroup.h autoform.cpp autoform.h fparser.cpp fparser.h tabmanager.cpp tabmanager.h search.cpp search.h styleselect.cpp styleselect.h alignselect.cpp alignselect.h shadebutton.cpp shadebutton.h pageselector.cpp color.h gtaction.cpp gtaction.h gtwriter.cpp gtwriter.h gtfont.cpp gtfont.h gtdialogs.cpp gtdialogs.h gtstyle.cpp gtstyle.h gtframestyle.cpp gtframestyle.h gtparagraphstyle.cpp gtparagraphstyle.h gtmeasure.cpp gtmeasure.h undomanager.cpp undomanager.h undostate.cpp undostate.h undoobject.cpp undoobject.h undogui.cpp undogui.h prefsfile.cpp prefsfile.h prefscontext.cpp prefscontext.h prefsreader.cpp prefsreader.h prefstable.cpp prefstable.h prefs.cpp prefs.h ioapi.c ioapi.h unzip.c unzip.h fileunzip.cpp fileunzip.h langmgr.h langmgr.cpp polygonwidget.cpp polygonwidget.h fileloader.cpp fileloader.h prefsdialogbase.cpp prefsdialogbase.h gradienteditor.cpp gradienteditor.h pageselector.h insertTable.cpp insertTable.h tabtools.cpp tabtools.h tabguides.cpp tabguides.h tabtypography.cpp tabtypography.h tabcheckdoc.cpp tabcheckdoc.h pdfoptions.h tabpdfoptions.cpp tabpdfoptions.h arrowchooser.cpp arrowchooser.h charselect.cpp charselect.h fontreplacedialog.cpp fontreplacedialog.h filewatcher.cpp filewatcher.h checkDocument.cpp checkDocument.h art_kmisc.c art_kmisc.h art_render_misc.c art_render_misc.h art_render_pattern.c art_render_pattern.h art_rgb.c art_rgb.h art_rgb_affine_private.c art_rgb_affine_private.h art_rgb_svp.c art_rgb_svp.h art_rgba_affine.c art_rgba_affine.h LoremIpsum.txt LoremIpsum-short.txt rgbscribus.txt rgbscribusgreys.txt rgbscribusgnome.txt rgbsvg.txt rgbscribusopenoffice.txt units.h units.cpp scribusstructs.h scraction.cpp scraction.h menumanager.cpp menumanager.h scmenu.cpp scmenu.h scrpalettebase.cpp scrpalettebase.h docitemattrprefs.ui docitemattrprefs.ui.h pageitemattributes.ui pageitemattributes.ui.h tocindexprefs.ui tocindexprefs.ui.h pluginmanager.cpp pluginmanager.h extimageprops.cpp extimageprops.h pagesize.cpp pagesize.h scpaths.h
 
install-data-local:
$(mkinstalldirs) $(prefix)/share/scribus/samples/
/branches/Version13x/Scribus/scribus/tabpdfoptions.cpp
11,6 → 11,7
 
#include <qpainter.h>
#include "units.h"
#include "pdfoptions.h"
 
#ifdef _MSC_VER
#if (_MSC_VER >= 1200)
/branches/Version13x/Scribus/scribus/pdfopts.h
12,6 → 12,8
#include <qvaluelist.h>
#include "tabpdfoptions.h"
 
class PDFOptions;
 
class PDF_Opts : public QDialog
{
Q_OBJECT
/branches/Version13x/Scribus/scribus/scribusstructs.h
18,6 → 18,7
#include "vgradient.h"
#include "pageitem.h"
#include "scraction.h"
#include "pdfoptions.h"
 
/* Struktur fuer Pageitem Text */
struct ScText
271,52 → 272,6
int SpotFunc;
};
 
struct PDFOptions
{
bool Thumbnails;
bool Articles;
bool useLayers;
bool Compress;
int CompressMethod;
int Quality;
bool RecalcPic;
bool Bookmarks;
int PicRes;
int Version;
int Resolution;
int Binding;
QValueList<QString> EmbedList;
QValueList<QString> SubsetList;
bool MirrorH;
bool MirrorV;
int RotateDeg;
bool PresentMode;
QValueList<PDFPresentationData> PresentVals;
QString Datei;
bool isGrayscale;
bool UseRGB;
bool UseProfiles;
bool UseProfiles2;
bool UseLPI;
QMap<QString,LPIData> LPISettings;
QString SolidProf;
int SComp;
QString ImageProf;
bool EmbeddedI;
int Intent2;
QString PrintProf;
QString Info;
int Intent;
double BleedTop;
double BleedLeft;
double BleedRight;
double BleedBottom;
bool Encrypt;
QString PassOwner;
QString PassUser;
int Permissions;
};
 
struct Keys
{
QString actionName;
446,7 → 401,7
windowPrefs mainToolBarSettings;
windowPrefs pdfToolBarSettings;
windowPrefs mainWinSettings;
 
PDFOptions PDF_Options;
ObjAttrVector defaultItemAttributes;
ToCSetupVector defaultToCSetups;
/branches/Version13x/Scribus/scribus/scribusdoc.h
45,6 → 45,7
class Page;
class UndoManager;
class UndoState;
class PDFOptions;
 
 
/**
/branches/Version13x/Scribus/scribus/pdfoptions.h
0,0 → 1,136
#ifndef PDFOPTIONS_H
#define PDFOPTIONS_H
 
/**
* @file pdfoptions.h
* @author Franz Schmidt
* @author Craig Ringer
* @brief Defines class PDFOptions, used for loading/saving/passing around PDF options
*/
 
#include "qstring.h"
#include "qmap.h"
#include "qvaluelist.h"
 
struct LPIData;
struct PDFPresentationData;
 
/**
* @brief PDF Options struture. Capable of saving and loading to/from file and verifying its self.
*/
class PDFOptions
{
public:
// Note: A default constructor, copy constructor, and
// assignment operator must be defined so that this class
// can be used as a value.
// The automatically generated ones are quite sufficient.
//PDFOptions();
//PDFOptions(const PDFOptions& other);
//PDFOptions& operator=(const PDFOptions& other);
//~PDFOptions() {};
 
enum VerifyResults
{
Verify_NoError = 0,
Verify_OptionConflict,
Verify_OptionOutOfRange,
Verify_OtherError
};
 
/**
* @author Craig Ringer
* @brief Sanity check the options defined.
*
* Unimplemented, always returns Verify_OtherError
*
* Checks the PDF option structure for conflicts between mututally
* exclusive options, ensures all options are within sane ranges,
* and that there are no nonsensical options values set. If nothing
* is wrong, returns Verify_NoError, otherwise returns error code from
* PDFOptions::VerifyResults. If problemDescription is not NULL,
* it will contain a human-readable description of the error on return.
*
* @warning DO NOT *EVER* TEST THE VALUE OF problemDescription. Rely on the
* return code instead. problemDescription is subject to
* translation and its contents may change without notice.
*
* @param problemDescription Error description
* @return Verify_NoError for sane options, otherwise error code.
*/
PDFOptions::VerifyResults verify(QString* problemDescription);
 
/**
* @author Craig Ringer
* @brief Save the PDF settings to a file or other stream
*
* @warning unimplemented, always fails.
*
* @param outStream QTextStream to write output to.
* @return True for success.
*/
bool saveTo(QTextStream& outStream) const;
bool saveTo(QString outFileName) const;
bool saveTo(FILE* outFilePtr) const;
 
/**
* @author Craig Ringer
* @brief Load the PDF settings from a file or other data stream, overwriting
* any current settings
*
* @warning unimplemented, always fails
*
* @warning on failure, struct contents are undefined.
*
* @param inStream QTextStream to settings data from.
* @return True for success.
*/
bool readFrom(QTextStream& inStream);
bool readFrom(QString inFileName);
bool readFrom(FILE* inFilePtr);
 
bool Thumbnails;
bool Articles;
bool useLayers;
bool Compress;
int CompressMethod;
int Quality;
bool RecalcPic;
bool Bookmarks;
int PicRes;
int Version;
int Resolution;
int Binding;
QValueList<QString> EmbedList;
QValueList<QString> SubsetList;
bool MirrorH;
bool MirrorV;
int RotateDeg;
bool PresentMode;
QValueList<PDFPresentationData> PresentVals;
QString Datei;
bool isGrayscale;
bool UseRGB;
bool UseProfiles;
bool UseProfiles2;
bool UseLPI;
QMap<QString,LPIData> LPISettings;
QString SolidProf;
int SComp;
QString ImageProf;
bool EmbeddedI;
int Intent2;
QString PrintProf;
QString Info;
int Intent;
double BleedTop;
double BleedLeft;
double BleedRight;
double BleedBottom;
bool Encrypt;
QString PassOwner;
QString PassUser;
int Permissions;
};
 
#endif
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: branches/Version13x/Scribus/scribus/scribus.cpp
===================================================================
--- branches/Version13x/Scribus/scribus/scribus.cpp (revision 1971)
+++ branches/Version13x/Scribus/scribus/scribus.cpp (revision 1972)
@@ -129,6 +129,7 @@
#include "scrap.h"
#include "pluginmanager.h"
#include "scpaths.h"
+#include "pdfoptions.h"
//CB TODO include for toc testing for now
#include "gtwriter.h"