22 #include "documentinformation.h"
23 #include "pagestructs.h"
26 #include "scpattern.h"
27 #include "vgradient.h"
44 bool checkTransparency;
45 bool checkAnnotations;
49 bool checkOffConflictLayers;
50 bool checkNotCMYKOrSpot;
51 bool checkDeviceColorsAndOutputIntent;
52 bool checkFontNotEmbedded;
53 bool checkFontIsOpenType;
54 bool checkPartFilledImageFrames;
55 bool checkOppositePageMaster;
56 bool checkAppliedMasterDifferentSide;
57 bool checkEmptyTextFrames;
60 typedef QMap<QString, CheckerPrefs> CheckerPrefsList;
64 CheckerPrefsList checkerPrefsList;
65 bool showPagesWithoutErrors;
66 bool showNonPrintingLayerErrors;
67 QString curCheckProfile;
85 return (memcmp(
this, &other,
sizeof(
TypoPrefs)) == 0);
87 inline bool operator!=(
const TypoPrefs &other)
89 return (memcmp(
this, &other,
sizeof(
TypoPrefs)) != 0);
118 mouseMoveTimeout = 150;
131 int mouseMoveTimeout;
147 QByteArray mainWinState;
179 QList<int> renderStackOrder;
339 ObjAttrVector defaultItemAttributes;
344 ToCSetupVector defaultToCSetups;
349 QMap<QString,Keys> KeyActions;
354 QStringList RecentScrapbooks;
356 bool doCopyToScrapbook;
395 QMap<QString, QString> latexCommands;
396 QString latexEditorExecutable;
399 bool latexStartWithEmptyFrames;
400 QString pdfViewerExecutable;
405 bool haveStylePreview;
414 QColor guiFontColorBackground;
422 bool PrPr_AntiAliasing;
423 bool PrPr_Transparency;
428 bool PrPr_InkCoverage;
429 int PrPr_InkThreshold;
482 QList<ArrowDesc> arrowStyles;
483 QHash<QString, VGradient> defaultGradients;
484 QHash<QString, ScPattern> defaultPatterns;
485 QList<PageSet> pageSets;
486 QStringList activePageSizes;
497 DocumentSectionMap docSectionMap;
506 QString activeversion;
507 QMap<QString, QString> nameTranslations;
QColor controlCharColor
Color of page border (onscreen only)
Definition: prefsstructs.h:374
bool rulersShown
Show text frame links or not.
Definition: prefsstructs.h:200
int applicationFontSize
Distance to jump with mouse wheel scrolling.
Definition: prefsstructs.h:133
Definition: prefsstructs.h:453
Definition: prefsstructs.h:151
Definition: prefsstructs.h:436
Definition: prefsstructs.h:177
QColor frameLinkColor
Color of border of grouped frames (onscreen only)
Definition: prefsstructs.h:370
MarginStruct margins
Height of a page.
Definition: prefsstructs.h:166
QString language
List of recent documents.
Definition: prefsstructs.h:138
double pageWidth
Default orientation of the page.
Definition: prefsstructs.h:164
bool showPic
Offset of first line of baseline grid from top of page.
Definition: prefsstructs.h:207
bool AutoSave
The index of the default unit.
Definition: prefsstructs.h:171
Definition: prefsstructs.h:62
Definition: prefsstructs.h:29
Pagemargins and bleeds.
Definition: margins.h:25
bool showAutosaveClockOnCanvas
Show preflight verifier warnings on canvas.
Definition: prefsstructs.h:382
bool useTabs
Use small widgets in the palettes.
Definition: prefsstructs.h:140
QString Language
Maximum number of consecutive rows to hyphenate.
Definition: prefsstructs.h:307
bool persistentScrapbook
When copying (copy/paste), also copy to a scrapbook.
Definition: prefsstructs.h:357
int scalingSuperScript
Displacement of superscript.
Definition: prefsstructs.h:73
QColor paperColor
Show a shadow around the pages.
Definition: prefsstructs.h:365
QString ui_SystemTheme
System default QStyle name for current instance, seemingly unused.
Definition: prefsstructs.h:492
QString colorProfiles
Default document location.
Definition: prefsstructs.h:154
QString iconSet
Show icons in toolbars as grayscale.
Definition: prefsstructs.h:145
QColor pageBorderColor
Color of annotation frames border (onscreen only)
Definition: prefsstructs.h:373
bool smartTextSelection
Font of the text used in the Story Editor window.
Definition: prefsstructs.h:416
bool showToolTips
Color of control characters in text frames if they are shown (onscreen only)
Definition: prefsstructs.h:375
Definition: prefsstructs.h:70
int compressionLevel
Cache image compression level (see QImage)
Definition: prefsstructs.h:450
Definition: prefsstructs.h:500
bool grayscaleIcons
Whether a user's tool section remains after use or the normal tool is reselected. ...
Definition: prefsstructs.h:144
double valueBaselineGrid
Minor grid spacing.
Definition: prefsstructs.h:204
Definition: prefsstructs.h:93
bool showMouseCoordinates
Show tool tips in the GUI or not.
Definition: prefsstructs.h:376
int marginPreset
Bleeds for a page.
Definition: prefsstructs.h:168
Definition: prefsstructs.h:432
bool linkShown
Show a layer indicator when layers are active or not.
Definition: prefsstructs.h:199
QColor minorGridColor
Color of major grid.
Definition: prefsstructs.h:217
bool baselineGridShown
Show the grid or not.
Definition: prefsstructs.h:195
int autoLineSpacing
Scaling of small caps.
Definition: prefsstructs.h:77
QMap< QString, QString > GFontSub
Request that the user confirms a font substituion or not.
Definition: prefsstructs.h:318
bool showStartupDialog
Use a tabbed MainWidget a la FireFox.
Definition: prefsstructs.h:141
bool colBordersShown
Show frame borders or not.
Definition: prefsstructs.h:197
QColor marginColor
Color of guides.
Definition: prefsstructs.h:215
int pagePositioning
Use a preset ratio margin setup.
Definition: prefsstructs.h:169
double displayScale
Vertical gap between pages.
Definition: prefsstructs.h:380
double minorGridSpacing
Major grid spacing.
Definition: prefsstructs.h:203
bool Automatic
List of words the hyphenator ignores.
Definition: prefsstructs.h:310
bool useStandardLI
Show previews in the Style setup areas like Style Manager.
Definition: prefsstructs.h:408
Definition: sccolor.h:155
bool useSmallWidgets
Language of the user interface.
Definition: prefsstructs.h:139
int docUnitIndex
Show pages in 1,2,3,4 pages side by side on screen.
Definition: prefsstructs.h:170
int valueUnderlineWidth
Underline displacement.
Definition: prefsstructs.h:79
Definition: prefsstructs.h:412
QString PrinterFile
Default Printer name (source from CUPS)
Definition: prefsstructs.h:324
Definition: prefsstructs.h:303
bool showSplashOnStartup
Whether to show the startup dialog or not.
Definition: prefsstructs.h:142
bool showPageShadow
Indicates if the margin to edge of page area will be colored in some other color or not...
Definition: prefsstructs.h:364
int maxCacheEntries
Maximum number of cache entries.
Definition: prefsstructs.h:449
QColor frameColor
Color of scratch space (onscreen only)
Definition: prefsstructs.h:367
QColor frameGroupColor
Color of normal frame border (onscreen only)
Definition: prefsstructs.h:369
QColor majorGridColor
Color of margins.
Definition: prefsstructs.h:216
int valueSmallCaps
Scaling of subscript.
Definition: prefsstructs.h:76
Definition: prefsstructs.h:115
bool marginsShown
Show the guides or not.
Definition: prefsstructs.h:193
int HyCount
Minimum word length to hyphenate.
Definition: prefsstructs.h:306
bool ClipMargin
Special printer command to use.
Definition: prefsstructs.h:326
Definition: prefsstructs.h:314
int valueStrikeThruWidth
Strike-through displacement.
Definition: prefsstructs.h:81
bool showVerifierWarningsOnCanvas
Display scale, typically used to set the scale of the display to 100% of real values.
Definition: prefsstructs.h:381
Definition: prefsstructs.h:440
WindowPrefs mainWinSettings
Icon set name.
Definition: prefsstructs.h:146
bool writePreviews
Keep the scrapbook contents between sessions.
Definition: prefsstructs.h:358
QString scripts
Default color profile location.
Definition: prefsstructs.h:155
int valueSubScript
Scaling of superscript.
Definition: prefsstructs.h:74
int maxCacheSizeMiB
Maximum total size of image cache in MiB.
Definition: prefsstructs.h:448
Definition: prefsstructs.h:330
QString PrinterCommand
File to print to.
Definition: prefsstructs.h:325
QHash< QString, QString > specialWords
Language to use for hyphenation.
Definition: prefsstructs.h:308
QSet< QString > ignoredWords
List of special words to hyphenate.
Definition: prefsstructs.h:309
double pageGapVertical
Horizontal gap between pages.
Definition: prefsstructs.h:379
bool askBeforeSubstitute
Fonts that Scribus has available to it, or the current document has available to use.
Definition: prefsstructs.h:317
int pageOrientation
Default page size of a document.
Definition: prefsstructs.h:163
PDF Options struture. Capable of verifying its self, but otherwise largely a dumb struct...
Definition: pdfoptions.h:37
int paragraphsLI
Use the standard Lorem Ipsum text.
Definition: prefsstructs.h:409
QString documentTemplates
Default script location.
Definition: prefsstructs.h:156
QStringList RecentDocs
Number of recent documents to remember.
Definition: prefsstructs.h:137
int valueUnderlinePos
Automatic line spacing percentage.
Definition: prefsstructs.h:78
MarginStruct scratch
Show mouse coordinates when interaction with frames.
Definition: prefsstructs.h:377
Definition: prefsstructs.h:419
Definition: prefsstructs.h:361
bool GCRMode
When printing, clip the print job to the margins.
Definition: prefsstructs.h:327
int wheelJump
Mouse move timeout for move/resize operations.
Definition: prefsstructs.h:132
int scalingSubScript
Displacement of subscript.
Definition: prefsstructs.h:75
MarginStruct bleeds
Margins for a page.
Definition: prefsstructs.h:167
bool operator==(const TypoPrefs &other)
Strike-through line width.
Definition: prefsstructs.h:83
Definition: prefsstructs.h:352
Definition: prefsstructs.h:403
Definition: prefsstructs.h:321
Definition: prefsstructs.h:337
int paletteFontSize
Font size to use in the application, apart from pßalettes.
Definition: prefsstructs.h:134
Definition: prefsstructs.h:347
bool framesShown
Show the baseline grid or not.
Definition: prefsstructs.h:196
int numScrapbookCopies
List of recently used scrapbooks.
Definition: prefsstructs.h:355
QColor frameNormColor
Color of frame border (onscreen only)
Definition: prefsstructs.h:368
double pageHeight
Width of a page.
Definition: prefsstructs.h:165
double offsetBaselineGrid
Baseline grid spacing.
Definition: prefsstructs.h:205
QString guiFont
Color of the background for text used in the Story Editor window.
Definition: prefsstructs.h:415
bool layerMarkersShown
Show text frame column borders or not.
Definition: prefsstructs.h:198
bool gridShown
Show the margins or not.
Definition: prefsstructs.h:194
double majorGridSpacing
Show the page rulers or not.
Definition: prefsstructs.h:202
int valueStrikeThruPos
Underline width.
Definition: prefsstructs.h:80
Definition: prefsstructs.h:445
Defines class PDFOptions, used for loading/saving/passing around PDF options.
QColor scratchColor
Color of paper (onscreen only)
Definition: prefsstructs.h:366
double pageGapHorizontal
Scratch space distances.
Definition: prefsstructs.h:378
bool stickyTools
Whether to show the splashscreen or not.
Definition: prefsstructs.h:143
Main class SCFonts. Subclass of QDict. This class replaces the previous SCFonts typedef...
Definition: scfonts.h:36
QColor frameLockColor
Color of frame link indicators (onscreen only)
Definition: prefsstructs.h:371
QColor frameAnnotationColor
Color of locked frame border (onscreen only)
Definition: prefsstructs.h:372
Definition: scribusstructs.h:102
QString style
Font size to use in the palettes.
Definition: prefsstructs.h:135
QColor baselineGridColor
Color of minor grid.
Definition: prefsstructs.h:218
Definition: prefsstructs.h:342
bool cacheEnabled
Enable the image cache.
Definition: prefsstructs.h:447
int recentDocCount
Currently used QStyle name.
Definition: prefsstructs.h:136
Definition: prefsstructs.h:160