38 WXM_INVALID = GC_TYPE_INVALID,
39 WXM_INPUT = GC_TYPE_CODE,
40 WXM_TITLE = GC_TYPE_TITLE,
41 WXM_SECTION = GC_TYPE_SECTION,
42 WXM_SUBSECTION = GC_TYPE_SUBSECTION,
43 WXM_SUBSUBSECTION = GC_TYPE_SUBSUBSECTION,
44 WXM_HEADING5 = GC_TYPE_HEADING5,
45 WXM_HEADING6 = GC_TYPE_HEADING6,
46 WXM_COMMENT = GC_TYPE_TEXT,
47 WXM_CAPTION = GC_TYPE_IMAGE,
48 WXM_PAGEBREAK = GC_TYPE_PAGEBREAK,
52 WXM_FOLD, WXM_FOLD_END,
56 WXM_HIDDEN_INPUT = GC_TYPE_CODE + 128,
57 WXM_HIDDEN_TITLE = GC_TYPE_TITLE + 128,
58 WXM_HIDDEN_SECTION = GC_TYPE_SECTION + 128,
59 WXM_HIDDEN_SUBSECTION = GC_TYPE_SUBSECTION + 128,
60 WXM_HIDDEN_SUBSUBSECTION = GC_TYPE_SUBSUBSECTION + 128,
61 WXM_HIDDEN_HEADING5 = GC_TYPE_HEADING5 + 128,
62 WXM_HIDDEN_HEADING6 = GC_TYPE_HEADING6 + 128,
63 WXM_HIDDEN_COMMENT = GC_TYPE_TEXT + 128,
64 WXM_HIDDEN_CAPTION = GC_TYPE_IMAGE + 128,
78 wxString TreeToWXM(
GroupCell *cell,
bool wxm =
true);
81 std::unique_ptr<GroupCell> TreeFromWXM(
const std::vector<wxString> &wxmLines,
Configuration *config);
88 std::unique_ptr<GroupCell> ParseWXMFile(wxTextBuffer &text,
Configuration *config);
95 std::unique_ptr<GroupCell> ParseMACContents(
const wxString &macContents,
Configuration *config);
101 std::unique_ptr<GroupCell> ParseMACFile(wxTextBuffer &text,
bool xMaximaFile,
Configuration *config);
104 extern const wxString WXMFirstLine;
105 extern const wxString m_emptyString;
This file defines the class GroupCell that bundles input and output in the worksheet.
The configuration storage for the current worksheet.
Definition: Configuration.h:85
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:74