r23913 by jghali - Add default initializers to PDFOptions
scribus-commit
scribus-commit at lists.scribus.net
Thu Jul 9 21:58:00 UTC 2020
Author: jghali
Date: Thu Jul 9 21:58:00 2020
New Revision: 23913
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23913
Log:
Add default initializers to PDFOptions
Modified:
trunk/Scribus/scribus/pdfoptions.h
Modified: trunk/Scribus/scribus/pdfoptions.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23913&path=/trunk/Scribus/scribus/pdfoptions.h
==============================================================================
--- trunk/Scribus/scribus/pdfoptions.h (original)
+++ trunk/Scribus/scribus/pdfoptions.h Thu Jul 9 21:58:00 2020
@@ -99,70 +99,70 @@
bool supportsOCGs() const;
bool supportsTransparency() const;
- bool firstUse;
- bool Thumbnails;
- bool Articles;
- bool useLayers;
- bool Compress;
- PDFCompression CompressMethod;
- int Quality;
- bool RecalcPic;
- bool Bookmarks;
- int PicRes;
- bool embedPDF;
- PDFVersion Version;
- int Resolution;
- int Binding;
- PDFFontEmbedding FontEmbedding;
+ bool firstUse { true };
+ bool Thumbnails { false };
+ bool Articles { false };
+ bool useLayers { false };
+ bool Compress { true };
+ PDFCompression CompressMethod { Compression_Auto };
+ int Quality { 0 };
+ bool RecalcPic { false };
+ bool Bookmarks { false };
+ int PicRes { 300 };
+ bool embedPDF { false };
+ PDFVersion Version { PDFVersion::PDF_14 };
+ int Resolution { 300 };
+ int Binding { 0 };
+ PDFFontEmbedding FontEmbedding { EmbedFonts };
QList<QString> EmbedList;
QList<QString> SubsetList;
QList<QString> OutlineList;
- bool MirrorH;
- bool MirrorV;
- bool doClip;
- int RotateDeg;
- bool PresentMode;
+ bool MirrorH { false };
+ bool MirrorV { false };
+ bool doClip { false };
+ int RotateDeg { 0 };
+ bool PresentMode { false };
QString fileName;
- bool isGrayscale;
- bool UseRGB;
- bool UseProfiles;
- bool UseProfiles2;
- bool UseLPI;
- bool UseSpotColors;
- bool doMultiFile;
- bool openAfterExport;
+ bool isGrayscale { false };
+ bool UseRGB { true };
+ bool UseProfiles { false };
+ bool UseProfiles2 { false };
+ bool UseLPI { false };
+ bool UseSpotColors { true };
+ bool doMultiFile { false };
+ bool openAfterExport { false };
QMap<QString,LPIData> LPISettings;
QString SolidProf;
- int SComp;
+ int SComp { 3 };
QString ImageProf;
- bool EmbeddedI;
- int Intent2;
+ bool EmbeddedI { false };
+ int Intent2 { 0 };
QString PrintProf;
QString Info;
- int Intent;
+ int Intent { 0 };
MarginStruct bleeds;
- bool Encrypt;
+ bool Encrypt { false };
QString PassOwner;
QString PassUser;
- int Permissions;
- int PageLayout;
- bool displayBookmarks;
- bool displayThumbs;
- bool displayLayers;
- bool displayFullscreen;
- bool hideToolBar;
- bool hideMenuBar;
- bool fitWindow;
- bool cropMarks;
- bool bleedMarks;
- bool registrationMarks;
- bool colorMarks;
- bool docInfoMarks;
- bool useDocBleeds;
- double markLength;
- double markOffset;
+ int Permissions { -4 };
+ int PageLayout { SinglePage };
+ bool displayBookmarks { false };
+ bool displayThumbs { false };
+ bool displayLayers { false };
+ bool displayFullscreen { false };
+ bool hideToolBar { false };
+ bool hideMenuBar { false };
+ bool fitWindow { false };
+ bool cropMarks { false };
+ bool bleedMarks { false };
+ bool registrationMarks { false };
+ bool colorMarks { false };
+ bool docInfoMarks { false };
+ bool useDocBleeds { true };
+ double markLength { 20.0 };
+ double markOffset { 0.0 };
QString openAction;
- int pageRangeSelection;
+ int pageRangeSelection { 0 }; // All pages
QString pageRangeString;
};
More information about the scribus-commit
mailing list