Kstars
kstarsdocument.cpp
40 printer.setOutputFormat(fname.endsWith(QLatin1String(".pdf")) ? QPrinter::PdfFormat : QPrinter::NativeFormat);
void writePsPdf(const QString &fname)
Write contents of the document to the Postscript/PDF file.
Definition kstarsdocument.cpp:35
bool writeOdt(const QString &fname)
Write contents of the document to Open Document Text file.
Definition kstarsdocument.cpp:28
PdfFormat
HighResolution
void setOutputFileName(const QString &fileName)
void setOutputFormat(OutputFormat format)
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
bool write(const QTextDocument *document)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.