Scribus
Open source desktop publishing at your fingertips
ExportBitmap Class Reference

Handles export. More...

#include <export.h>

Inheritance diagram for ExportBitmap:
Collaboration diagram for ExportBitmap:

Public Member Functions

 ExportBitmap ()
 Initializing the default export variables and attributes.
 
 ~ExportBitmap ()
 nothing doing destructor.
 
bool exportCurrent (ScribusDoc *doc, bool background)
 Exports only the actual page. More...
 
bool exportInterval (ScribusDoc *doc, std::vector< int > &pageNs, bool background)
 Exports chosen interval of the pages. More...
 

Public Attributes

QString bitmapType
 Type of the exported image.
 
int pageDPI
 Dpi of the exported image.
 
double enlargement
 Enlargement of the exported image... 2x 3x etc.
 
int quality
 Quality of the image <0; 100>
 
QString exportDir
 A place for stored images.
 
bool overwrite
 Overwrite the existing files?
 
QString filenamePrefix
 Prefix for filenames.
 

Detailed Description

Handles export.

Member Function Documentation

bool ExportBitmap::exportCurrent ( ScribusDoc doc,
bool  background 
)

Exports only the actual page.

Return values
booltrue on success
bool ExportBitmap::exportInterval ( ScribusDoc doc,
std::vector< int > &  pageNs,
bool  background 
)

Exports chosen interval of the pages.

Parameters
pageNsinterval of the page numbers
Return values
trueon success

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