|
wxMaxima
|
The definition of the base class of all cells the worksheet consists of. More...
#include "../precomp.h"#include "CellPtr.h"#include "CellIterators.h"#include "Configuration.h"#include "StringUtils.h"#include "TextStyle.h"#include "CachedValue.h"#include <wx/defs.h>#include <algorithm>#include <map>#include <memory>#include <vector>#include <type_traits>Go to the source code of this file.
Data Structures | |
| class | CellTypeInfo |
| A class that carries information about the type of a cell. More... | |
| class | Cell |
| The base class all cell types the worksheet can consist of are derived from. More... | |
| struct | Cell::Range |
| A struct that allows to specify a region of a cell list. More... | |
| struct | Cell::SizeInMillimeters |
| For the bitmap export we sometimes want to know how big the result will be... More... | |
Enumerations | |
| enum | CellType : int8_t { MC_TYPE_DEFAULT , MC_TYPE_MAIN_PROMPT , MC_TYPE_PROMPT , MC_TYPE_LABEL , MC_TYPE_INPUT , MC_TYPE_WARNING , MC_TYPE_ERROR , MC_TYPE_TEXT , MC_TYPE_ASCIIMATHS , MC_TYPE_SUBSECTION , MC_TYPE_SUBSUBSECTION , MC_TYPE_HEADING5 , MC_TYPE_HEADING6 , MC_TYPE_SECTION , MC_TYPE_TITLE , MC_TYPE_IMAGE , MC_TYPE_SLIDE , MC_TYPE_GROUP } |
| The supported types of math cells. More... | |
Functions | |
| template<typename C , typename std::enable_if< std::is_base_of< Cell, C >::value, bool >::type = true> | |
| auto | OnInner (const C *cell) |
| Returns an iterable that goes over the inner cells of this cell. | |
| template<typename C , typename std::enable_if< std::is_base_of< Cell, C >::value, bool >::type = true> | |
| auto | OnInner (C *cell) |
| std::ostream & | operator<< (std::ostream &out, const CellType celltype) |
| Allow Standard c++ streams to print out our enum values as text. | |
| template<typename C , typename std::enable_if< std::is_base_of< Cell, C >::value, bool >::type = true> | |
| auto | OnList (const C *cell) |
| Returns an iterable the goes over the cell list, starting with given, possibly null, cell. | |
| template<typename C , typename std::enable_if< std::is_base_of< Cell, C >::value, bool >::type = true> | |
| auto | OnList (C *cell) |
| template<typename C , typename std::enable_if< std::is_base_of< Cell, C >::value, bool >::type = true> | |
| auto | OnDrawList (const C *cell) |
| Returns an iterable that goes over the cell draw list, starting with given, possibly null, cell. | |
| template<typename C , typename std::enable_if< std::is_base_of< Cell, C >::value, bool >::type = true> | |
| auto | OnDrawList (C *cell) |
The definition of the base class of all cells the worksheet consists of.
| enum CellType : int8_t |
The supported types of math cells.
| Enumerator | |
|---|---|
| MC_TYPE_MAIN_PROMPT | Input labels. |
| MC_TYPE_PROMPT | Maxima questions or lisp prompts. |
| MC_TYPE_LABEL | An output label generated by maxima. |
| MC_TYPE_INPUT | A cell containing code. |
| MC_TYPE_WARNING | A warning output by maxima. |
| MC_TYPE_ERROR | An error output by maxima. |
| MC_TYPE_TEXT | Text that isn't passed to maxima. |
| MC_TYPE_ASCIIMATHS | Equations displayed in 2D. |
| MC_TYPE_SUBSECTION | A subsection name. |
| MC_TYPE_SUBSUBSECTION | A subsubsection name. |
| MC_TYPE_HEADING5 | A subsubsection name. |
| MC_TYPE_HEADING6 | A subsubsection name. |
| MC_TYPE_SECTION | A section name. |
| MC_TYPE_TITLE | The title of the document. |
| MC_TYPE_IMAGE | An image. |
| MC_TYPE_SLIDE | An animation created by the with_slider_* maxima commands. |
| MC_TYPE_GROUP | A group cells that bundles several individual cells together. |