19 #ifndef QGSQUICKPRINT_H
20 #define QGSQUICKPRINT_H
45 static QString pageSizeToString( QPrinter::PageSize theSize );
46 static QPrinter::PageSize stringToPageSize( QString theSize );
50 void setTitle( QString theText );
51 void setName( QString theText );
52 void setCopyright( QString theText );
53 void setNorthArrow( QString theFileName );
54 void setLogo1( QString theFileName );
55 void setLogo2( QString theFileName );
56 void setOutputPdf( QString theFileName );
57 void setPageSize( QPrinter::PageSize theSize );
62 void setMapBackgroundColor( QColor theColor );
64 void renderPrintScaleBar( QPainter * thepPainter,
66 int theMaximumWidth );
67 QStringList wordWrap( QString theString,
68 QFontMetrics theMetrics,
85 void scalePointSymbols(
int theScaleFactor, SymbolScalingType theDirection );
101 void scaleTextLabels(
int theScaleFactor, SymbolScalingType theDirection );
115 #endif //QGSQUICKPRINT_H