31#include <wx/cmndata.h>
107 bool Write(
const wxString &file);
145 std::unique_ptr<Impl> m_impl;
147 std::vector<int> m_pageStarts;
The base class all cell types the worksheet can consist of are derived from.
Definition: Cell.h:148
The configuration storage for the current worksheet.
Definition: Configuration.h:102
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:88
Writes a worksheet to a PDF file.
Definition: PdfExport.h:62
static wxString Diagnosis()
What Help > Troubleshooting says about the PDF export.
Definition: PdfExport.cpp:530
std::size_t GetPageCount() const
The number of pages the last Write() produced.
Definition: PdfExport.h:121
static wxPaperSize PaperFromName(const wxString &name)
The paper size a name like "a4" or "letter" stands for.
Definition: PdfExport.cpp:552
static bool Available()
Was wxMaxima built with the PDF export?
Definition: PdfExport.cpp:526
bool Write(const wxString &file)
Writes the PDF. Returns false if the file could not be written.
Definition: PdfExport.cpp:525
static constexpr int LayoutPpi
The resolution of the coordinates the worksheet is laid out in.
Definition: PdfExport.h:102
static constexpr int ReferencePpi
The resolution wxMaxima's font sizes and lengths are meant for (see Printout)
Definition: PdfExport.h:104
static wxString DocumentTitle(GroupCell *tree, const wxString &fallback)
A title for the PDF: the worksheet's first title cell.
Definition: PdfExport.cpp:538
static wxString UiLanguageTag()
The BCP 47 language tag of wxMaxima's user interface, e.g.
Definition: PdfExport.cpp:567
What goes into the PDF besides the worksheet.
Definition: PdfExport.h:66
wxString language
The natural language of the document as a BCP 47 tag ("en", "de-DE")
Definition: PdfExport.h:76
wxString title
The document title (shown by PDF viewers instead of the file name)
Definition: PdfExport.h:68
wxPaperSize paper
The paper size.
Definition: PdfExport.h:78
wxString author
The author.
Definition: PdfExport.h:70
wxPrintOrientation orientation
Portrait or landscape.
Definition: PdfExport.h:80
bool tagged
Write a tagged (accessible) PDF?
Definition: PdfExport.h:82