libwkhtmltox
Public Member Functions | Public Attributes | List of all members
wkhtmltopdf::settings::PdfGlobal Struct Reference

Class holding all user setting. This class holds all the user settings, settings can be filled in by hand, or with other methods. More...

#include <pdfsettings.hh>

Public Member Functions

QString get (const char *name)
 
bool set (const char *name, const QString &value)
 

Public Attributes

Size size
 Size related settings.
 
LogLevel logLevel
 Log level.
 
bool useGraphics
 Should we use the graphics system.
 
bool resolveRelativeLinks
 Should relative links be resolved or kept as-is.
 
QPrinter::Orientation orientation
 Should we orientate in landscape or portrate.
 
QPrinter::ColorMode colorMode
 Color or grayscale.
 
QPrinter::PrinterMode resolution
 What overall resolution should we use.
 
int dpi
 What dpi should be used when printing.
 
int pageOffset
 When pagenumbers are printed, apply this offset to them all.
 
int copies
 How many copies do we wan to print.
 
bool collate
 Should be print a whole copy before beginning the next.
 
bool outline
 Should we generate an outline and put it into the pdf file.
 
int outlineDepth
 Maximal depth of the generated outline.
 
QString dumpOutline
 dump outline to this filename
 
QString out
 The file where in to store the output.
 
QString documentTitle
 
bool useCompression
 
Margin margin
 Margin related settings.
 
QString viewportSize
 
int imageDPI
 
int imageQuality
 
LoadGlobal load
 

Detailed Description

Class holding all user setting. This class holds all the user settings, settings can be filled in by hand, or with other methods.

See also
CommandLineParser::parse()

The documentation for this struct was generated from the following files: