VSRonin / QtXlsxWriter

.xlsx file reader and writer for Qt5
http://qtxlsx.debao.me
209 stars 73 forks source link

Add suport of print area and page setup #31

Open drow-it opened 6 years ago

drow-it commented 6 years ago

To set print area of sheet use bool setPrintArea(const CellRange &range, const QString &sheetName=QString()); To set page scaling to percent use bool setPageSetup(double percent, QPageSize::PageSizeId size, QPageLayout::Orientation orientation); To set page scaling to number of pages use bool setPageSetup(int fitToWidth, int fitToHeight, QPageSize::PageSizeId size, QPageLayout::Orientation orientation);

Autoformatting in Qt Creator insert some extra spaces in old code, that's why so many lines has changes