wxMaxima
|
Data Structures | |
class | GifDataObject |
A Gif object for the clipboard. More... | |
Public Member Functions | |
AnimationCell (GroupCell *group, Configuration *config, const wxString &wxmxFile, int framerate=-1) | |
The constructor. | |
AnimationCell (GroupCell *group, Configuration *config, int framerate=-1) | |
AnimationCell (GroupCell *group, const AnimationCell &cell) | |
AnimationCell (GroupCell *group, Configuration *config, const wxMemoryBuffer &image, const wxString &type) | |
A constructor that loads the compressed file from a wxMemoryBuffer. | |
AnimationCell (GroupCell *group, Configuration *config, const wxString &image, bool remove) | |
std::unique_ptr< Cell > | Copy (GroupCell *group) const override |
Create a copy of this cell. | |
void | operator= (const AnimationCell &)=delete |
AnimationCell (const AnimationCell &)=delete | |
void | SetConfiguration (Configuration *config) override |
Tell this cell to use the configuration object config. | |
int | GetPPI () const override |
size_t | GetOriginalWidth () const override |
size_t | GetOriginalHeight () const override |
wxString | GetExtension () const override |
Returns the file name extension that matches the image type. | |
const CellTypeInfo & | GetInfo () override |
Returns the information about this cell's type. | |
int | Length () const |
void | LoadImages (wxMemoryBuffer imageData) |
void | LoadImages (wxString imageFile) |
void | SetPPI (int ppi) override |
Set the animation's resolution. | |
bool | CanExportSVG () const override |
Can the current image be exported in SVG format? | |
bool | IsOk () const |
const wxString | GetToolTip (wxPoint point) const override |
Returns the ToolTip this cell provides at a given point. | |
void | ClearCache () override |
Remove all cached scaled images from memory. | |
void | LoadImages (wxArrayString images, bool deleteRead) |
int | GetDisplayedIndex () const |
wxImage | GetBitmap (int n) const |
void | SetDisplayedIndex (int ind) |
wxSize | ToImageFile (wxString file) override |
Exports the image the animation currently displays. | |
wxSize | ToGif (wxString file) |
Exports the whole animation as animated gif. | |
bool | CopyToClipboard () const override |
Copies the cell to the system's clipboard. | |
bool | CopyAnimationToClipboard () |
Put the animation on the clipboard. | |
int | GetFrameRate () const |
Get the frame rate of this AnimationCell [in Hz]. | |
void | ReloadTimer () |
Reload the animation timer starting and instantiating and registering it if necessary. | |
void | StopTimer () |
Stops the timer. | |
int | SetFrameRate (int Freq) |
Set the frame rate of this AnimationCell [in Hz]. | |
bool | AnimationRunning () const |
void | AnimationRunning (bool run) |
void | ToggleAnimationRunning () |
bool | CanPopOut () const override |
Can this cell be popped out interactively in gnuplot? | |
void | GnuplotSource (int image, wxString gnuplotFilename, wxString dataFilename, const wxString &wxmxFile) |
void | CompressedGnuplotSource (int image, wxString gnuplotFilename, wxString dataFilename, const wxString &wxmxFile) |
wxString | GnuplotSource () const override |
The name of the file with gnuplot commands that created this file. | |
wxCoord | Scale_Px (double px) const |
Scale font sizes and line widths according to the zoom factor. | |
AFontSize | Scale_Px (AFontSize size) const |
Scale font sizes and line widths according to the zoom factor. | |
unsigned long | CellsInListRecursive () const |
How many cells does this cell contain? | |
wxRect | CropToUpdateRegion (wxRect rect) const |
The part of the rectangle rect that is in the region that is currently drawn. | |
bool | InUpdateRegion () const |
Is this cell inside the region that is currently drawn? | |
void | SoftLineBreak (bool breakLine=true) |
Do we want this cell to start with a linebreak? | |
bool | BreakUpCells () |
Cell list: Convert 2d math objects bigger than the screen width into linear form. | |
bool | UnBreakUpCells () |
Convert all maths objects in this call list into their 2D form. | |
void | BreakLines_List () |
int | GetLineIndent () const |
If this were the beginning of a line: How far do we need to indent it? | |
bool | BreakLineHere () const |
Are we allowed to break a line here? | |
bool | HasHardLineBreak () const |
Does this cell begin with a manual linebreak? | |
virtual bool | BreakUp () |
Try to split this command into lines to make it fit on the screen. | |
bool | ContainsRect (const wxRect &sm, bool all=true) const |
Is a part of this cell inside a certain rectangle? | |
bool | ContainsPoint (wxPoint point) const |
Is a given point inside this cell? | |
void | ClearCacheList () |
Clears the cache of the whole list of cells starting with this one. | |
void | SetConfigurationList (Configuration *config) |
Tell this cell list to use the configuration object config. | |
Configuration * | GetConfiguration () |
Which configuration object is responsible for this cell? | |
void | DrawList (wxPoint point, wxDC *dc, wxDC *adc) |
Draw this list of cells. | |
void | DrawList (wxDC *dc, wxDC *adc) |
virtual void | DrawBoundingBox (wxDC &WXUNUSED(dc), bool all=false) |
Draw a rectangle that marks this cell or this list of cells as selected. | |
bool | DrawThisCell (wxPoint point) |
Is this cell currently visible in the window? | |
bool | DrawThisCell () |
Is this cell currently visible in the window? | |
void | ForceBreakLine (bool force=true) |
Insert (or remove) a forced linebreak at the beginning of this cell. | |
wxCoord | GetHeight () const |
Get the height of this cell. | |
int | GetWidth () const |
Get the width of this cell. | |
wxCoord | GetCenter () const |
Get the distance between the top and the center of this cell. | |
bool | HasValidSize () const |
Is the size valid and not pending a recalculation? | |
bool | HasStaleSize () const |
Is the size valid, whether a recalculation is pending or not? | |
bool | HasValidPosition () const |
Is the position valid? | |
wxCoord | GetDrop () const |
Get the distance between the center and the bottom of this cell. | |
CellType | GetType () const |
Returns the type of this cell. | |
wxCoord | GetMaxDrop () const |
Returns the maximum distance between center and bottom of this line. | |
wxCoord | GetCenterList () const |
Returns the maximum distance between top and center of this line. | |
wxCoord | GetFullWidth () const |
How many pixels is this list of cells wide, if we don't break it into lines? | |
wxCoord | GetLineWidth () const |
How many pixels is the current line of this list of cells wide? | |
wxCoord | GetCurrentX () const |
Get the x position of the top left of this cell. | |
wxCoord | GetCurrentY () const |
Get the y position of the top left of this cell. | |
virtual wxRect | GetRect (bool wholeList=false) const |
Get the smallest rectangle this cell fits in. | |
virtual bool | NeedsRecalculation (AFontSize fontSize) const |
True, if something that affects the cell size has changed. | |
void | ScheduleRecalculation () |
Cause this cell to be recalculated the next time. | |
bool | ConfigChanged () const |
Has the configuration changed since the last recalculation of this cell? | |
virtual wxString | GetDiffPart () const |
Get the part for diff tag support. | |
void | RecalculateList (AFontSize fontsize) |
Recalculate both width and height of this list of cells. | |
void | FontsChangedList () |
Tell a whole list of cells that their fonts have changed. | |
void | ResetSize_Recursively () |
Mark all cached size information as "to be calculated". | |
void | ResetSize_RecursivelyList () |
Mark all cached size information of this cell list as "to be calculated". | |
void | ResetSize () |
Mark the cached height and width information as "to be calculated". | |
void | ResetSizeList () |
Mark the cached height information of the whole list of cells as "to be calculated". | |
void | SetBigSkip (bool skip) |
Tell this cell to cause an additional vertical space. | |
bool | HasBigSkip () const |
Does this cell come with an additional vertical space. | |
virtual void | SetType (CellType type) |
Sets the text style according to the type. | |
const TextStyle & | GetTextStyle () const |
Get the text style. | |
void | SetPen (wxDC *dc, double lineWidth=1.0) const |
Sets the drawing pen to the cell's default foreground color. | |
void | SetBrush (wxDC *dc) const |
Sets the fill brush to the cell's default foreground color. | |
wxColour | GetForegroundColor () const |
void | SetHighlight (bool highlight) |
Mark this cell as highlighted (e.G. being in a maxima box) | |
bool | GetHighlight () const |
Is this cell highlighted (e.G. inside a maxima box) | |
virtual void | SetIsExponent () |
Tell this cell to be an exponent. | |
virtual void | SetIsExponentList () |
Tell this list of cells to be an exponent. | |
virtual void | SetValue (const wxString &WXUNUSED(text)) |
Allows to change the text a TextCell contains. | |
virtual const wxString & | GetValue () const |
Gets the text this text cell contains. | |
virtual const wxString | GetDisplayedString () const |
Cell * | first () const |
Get the first cell in this list of cells. | |
Cell * | last () const |
Get the last cell in this list of cells. | |
Range | GetCellsInRect (const wxRect &rect) const |
Returns the first and last cells within the given rectangle, recursing into the inner cells. | |
Range | GetListCellsInRect (const wxRect &rect) const |
Returns the first and last cells within the given rectangle, without recursing into the inner cells. | |
virtual Range | GetInnerCellsInRect (const wxRect &rect) const |
Select the cells inside this cell described by the rectangle rect. | |
virtual bool | IsOperator () const |
Is this cell an operator? | |
bool | IsCompound () const |
Do we have an operator in this line - draw () in frac... | |
virtual bool | IsShortNum () const |
True if this cell represents a short number. | |
GroupCell * | GetGroup () const |
Returns the group cell this cell belongs to. | |
virtual wxString | ListToString () const |
Returns this cell list's representation as a string. | |
wxString | VariablesAndFunctionsList () const |
Returns all variable and function names used inside this list of cells. | |
virtual wxString | ListToMatlab () const |
Convert this list to its LaTeX representation. | |
virtual wxString | ListToTeX () const |
Convert this list to its LaTeX representation. | |
virtual wxString | ListToXML () const |
Convert this list to a representation fit for saving in a .wxmx file. | |
virtual wxString | ListToMathML (bool startofline=false) const |
Convert this list to a MathML representation. | |
virtual wxString | ListToOMML (bool startofline=false) const |
Convert this list to an OMML representation. | |
virtual wxString | ListToRTF (bool startofline=false) const |
Convert this list to an RTF representation. | |
virtual wxString | ToOMML () const |
Returns the cell's representation as OMML. | |
virtual wxString | ToMathML () const |
Convert this cell to a representation fit for saving in a .wxmx file. | |
virtual void | Unbreak () |
Undo breaking this cell into multiple lines. | |
virtual void | UnbreakList () |
Unbreak this line. | |
Cell * | GetPrevious () const |
Returns a pointer to the previous cell in the current cell list. | |
Cell * | GetNext () const |
Get the next cell in the list. | |
Cell * | GetNextToDraw () const |
Get the next cell that needs to be drawn. | |
virtual void | SetNextToDraw (Cell *next) |
Tells this cell which one should be the next cell to be drawn. | |
template<typename T , typename Del , typename std::enable_if< std::is_base_of< Cell, T >::value, bool >::type = true> | |
void | SetNextToDraw (const std::unique_ptr< T, Del > &ptr) |
Tells this cell which one should be the next cell to be drawn. | |
bool | IsComment () const |
Determine if this cell contains text that isn't code. | |
bool | IsHidden () const |
Whether this cell is not to be drawn. | |
virtual bool | FirstLineOnlyEditor () |
True, if this GroupCell is folded and its editor shows only its first line. | |
virtual void | Hide (bool hide=true) |
Hide this cell. See IsHidden() for details. | |
bool | IsEditable (bool input=false) const |
Is this cell editable? | |
virtual void | ProcessEvent (wxKeyEvent &WXUNUSED(event)) |
Processes a key event. | |
virtual bool | AddEnding () |
Add a semicolon to a code cell, if needed. | |
virtual void | SelectPointText (wxPoint point) |
Select the text at point. | |
virtual void | SelectRectText (wxPoint one, wxPoint two) |
Select the text between the two points. | |
virtual void | PasteFromClipboard (bool primary=false) |
Paste from the clipboard into this cell. | |
virtual bool | CutToClipboard () |
Cut this cell's editable contents to the clipboard. | |
virtual void | SelectAll () |
Select all editable text of this cell. | |
virtual bool | CanCopy () const |
Select Can we copy the editable text of this cell? | |
virtual wxPoint | PositionToPoint (size_t WXUNUSED(pos)) |
Locates a char in the editable text of this cell. | |
virtual wxPoint | PositionToPoint () |
Locates the cursor in the editable text of this cell. | |
virtual bool | IsDirty () const |
Is this cell marked as "from an old maxima run"? | |
virtual void | SwitchCaretDisplay () |
virtual void | SetFocus (bool WXUNUSED(focus)) |
Focus this editor cell. | |
void | SetTextColor (wxDC *dc) |
Sets the text color. | |
virtual bool | IsActive () const |
Is this editor cell focused? | |
virtual void | SetStyle (TextStyle style) |
Sets the TextStyle of this cell. | |
bool | IsMath () const |
Is this cell possibly output of maxima? | |
void | CopyCommonData (const Cell &cell) |
Copy common data (used when copying a cell) | |
std::unique_ptr< Cell > | CopyList (GroupCell *group) const |
Return a copy of the list of cells beginning with this one. | |
void | ClearToolTip () |
Remove this cell's tooltip. | |
void | SetToolTip (const wxString &tooltip) |
Set the tooltip to a given string. | |
void | SetToolTip (const wxString *toolTip) |
Set the tooltip of this math cell - it must be exist at least as long as the cell does. Translation results behave that way. I.e. it must be a static string! | |
void | AddToolTip (const wxString &tip) |
Add another tooltip to this cell. | |
virtual void | SetCurrentPoint (wxPoint point) |
Tells this cell where it is placed on the worksheet. | |
void | SetCurrentPoint (int x, int y) |
Tells this cell where it is placed on the worksheet. | |
wxPoint | GetCurrentPoint () const |
Where is this cell placed on the worksheet? | |
bool | IsBrokenIntoLines () const |
Whether this cell is broken into two or more lines. | |
bool | GetSuppressMultiplicationDot () const |
Do we want to begin this cell with a center dot if it is part of a product? | |
void | SetSuppressMultiplicationDot (bool val) |
bool | GetHidableMultSign () const |
Whether this is a hidable multiplication sign. | |
void | SetHidableMultSign (bool val) |
virtual void | SetAltCopyText (const wxString &text) |
What should end up if placing this cell on the clipboard? | |
virtual const wxString & | GetAltCopyText () const |
Get the text set using SetAltCopyText - may be empty. | |
const wxString & | GetLocalToolTip () const |
bool | IsNull () const |
bool | HasControlBlock () const |
bool | HasOneCellPtr () const |
Static Public Member Functions | |
static wxString | OMML2RTF (wxXmlNode *node) |
Converts an OMML tag to the corresponding RTF snippet. | |
static wxString | OMML2RTF (wxString ommltext) |
Converts OMML math to RTF math. | |
static wxString | RTFescape (wxString, bool MarkDown=false) |
Escape a string for RTF. | |
static wxString | XMLescape (wxString) |
Escape a string for XML. | |
static std::unique_ptr< Cell > | CopyList (GroupCell *group, const Cell *cell) |
Return a copy of the given list of cells. | |
static wxString | wxColor2HtmlString (wxColor col) |
static std::unique_ptr< Cell > | MakeVisiblyInvalidCell (GroupCell *group, Configuration *config) |
static size_t | GetLiveInstanceCount () |
static size_t | GetLiveControlBlockInstanceCount () |
Static Public Attributes | |
static wxDataFormat | m_gifFormat |
A class that publishes wxm data to the clipboard. | |
Protected Member Functions | |
void | BreakUpAndMark () |
Break up the internal cells of this cell, and mark it as broken up. | |
wxBitmap | BitmapFromSVG (wxString svgData, wxSize size) |
Renders a bitmap from svgData at the requested size. | |
std::unique_ptr< Cell > | MakeVisiblyInvalidCell () const |
virtual size_t | GetInnerCellCount () const |
The number of inner cells - for use by the iterators. | |
virtual Cell * | GetInnerCell (size_t index) const |
Retrieve an inner cell with given index which must be less than GetInnerCellCount. | |
Worksheet * | GetWorksheet () const |
virtual void | FontsChanged () |
To be called if the font has changed. | |
CellPointers * | GetCellPointers () const |
Protected Attributes | |
wxPoint | m_currentPoint {-1, -1} |
The point in the work sheet at which this cell begins. | |
CellPtr< GroupCell > | m_group |
The GroupCell this list of cells belongs to. | |
CellPtr< Cell > | m_nextToDraw |
The next cell in the draw list. This has been factored into Cell temporarily to reduce the change "noise" when it will be subsequently removed. | |
Configuration * | m_configuration |
A pointer to the configuration responsible for this worksheet. | |
const wxString * | m_toolTip |
This tooltip is owned by us when m_ownsToolTip is true. Otherwise, it points to a "static" string. | |
wxCoord | m_height = -1 |
The height of this cell. | |
wxCoord | m_width = -1 |
The width of this cell; is recalculated by RecalculateHeight. | |
wxCoord | m_center = -1 |
The distance between the top and the insertion point of this cell. | |
AFontSize | m_fontSize_Scaled = {} |
The font size is smaller in super- and subscripts. | |
CellType | m_type = MC_TYPE_DEFAULT |
TextStyle | m_textStyle = TS_MATH |
AnimationCell::AnimationCell | ( | GroupCell * | group, |
Configuration * | config, | ||
const wxString & | wxmxFile, | ||
int | framerate = -1 |
||
) |
The constructor.
framerate | The individual frame rate that has to be set for this cell only. If the default frame rate from the config is to be used instead this parameter has to be set to -1. |
config | A pointer to the pointer to the configuration storage of the worksheet this cell belongs to. |
wxmxFile | The wxmx file the contents of this animation can be found in. wxEmptyString = no wxmx file, but the system's filesystem instead |
group | The parent GroupCell this cell belongs to. |
|
inlinevirtualinherited |
Add a semicolon to a code cell, if needed.
Defined in GroupCell and EditorCell
Reimplemented in EditorCell, and GroupCell.
|
virtualinherited |
Try to split this command into lines to make it fit on the screen.
true | = This cell was split into lines. |
Reimplemented in AbsCell, BoxCell, ConjugateCell, DiffCell, ExptCell, FracCell, FunCell, IntCell, IntervalCell, LimitCell, ListCell, LongNumberCell, NamedBoxCell, ParenCell, SqrtCell, and SumCell.
|
protectedinherited |
Break up the internal cells of this cell, and mark it as broken up.
Sets the cell's size to 0, as in broken up state the contents of the cell will be displayed in 1D mode while this cell won't be displayed, at all.
|
inherited |
Cell list: Convert 2d math objects bigger than the screen width into linear form.
true,if | this action has changed the height of cells. |
|
inlinevirtualinherited |
Select Can we copy the editable text of this cell?
Reimplemented in EditorCell.
|
inlineoverridevirtual |
Can the current image be exported in SVG format?
Implements ImgCellBase.
|
inlineoverridevirtual |
Can this cell be popped out interactively in gnuplot?
Implements ImgCellBase.
|
inherited |
How many cells does this cell contain?
The number of cells the current group contains (-1, if no GroupCell)
|
overridevirtual |
Remove all cached scaled images from memory.
To be called when the animation is outside of the displayed portion of the screen; The bitmaps will be re-generated when needed.
Implements ImgCellBase.
|
inherited |
Clears the cache of the whole list of cells starting with this one.
For details see ClearCache().
|
inlineinherited |
Is a given point inside this cell?
point | The point to test for collision with this cell |
|
inherited |
Is a part of this cell inside a certain rectangle?
sm | The rectangle to test for collision with this cell |
all |
|
Create a copy of this cell.
This method is purely virtual, which means every child class has to define its own Copy() method.
Implements ImgCellBase.
|
overridevirtual |
Copies the cell to the system's clipboard.
Implements ImgCellBase.
|
inlinevirtualinherited |
Cut this cell's editable contents to the clipboard.
Only interesting for EditorCells
Reimplemented in EditorCell.
|
virtualinherited |
Draw a rectangle that marks this cell or this list of cells as selected.
all |
|
dc | The drawing context the box is drawn in. |
|
inherited |
Draw this list of cells.
point | The x and y position this cell is drawn at |
|
inherited |
Is this cell currently visible in the window?
point | The point to place this cell at |
|
virtualinherited |
|
inlineprotectedvirtualinherited |
To be called if the font has changed.
Reimplemented in TextCell.
|
inlineinherited |
Insert (or remove) a forced linebreak at the beginning of this cell.
force |
|
|
inlinevirtualinherited |
|
inlineinherited |
Get the distance between the top and the center of this cell.
Remember that (for example with double fractions) the center does not have to be in the middle of a cell even if this object is — by definition — center-aligned.
|
inherited |
Returns the maximum distance between top and center of this line.
Note that the center doesn't need to be exactly in the middle of an object. For a fraction for example the center is exactly at the middle of the horizontal line.
|
inlineinherited |
Get the x position of the top left of this cell.
See m_currentPoint for more details.
|
inlineinherited |
Get the y position of the top left of this cell.
See m_currentPoint for more details.
|
virtualinherited |
Get the part for diff tag support.
only ExptCell and SubSupCell override this - and this function seems to be used by fractions that represent an diff() command.
Reimplemented in ExptCell, and SubSupCell.
|
inlineinherited |
Get the distance between the center and the bottom of this cell.
Remember that (for example with double fractions) the center does not have to be in the middle of an output cell even if the current object is — by definition — center-aligned.
This value is recalculated by Recalculate
|
inlineoverridevirtual |
Returns the file name extension that matches the image type.
Implements ImgCellBase.
int AnimationCell::GetFrameRate | ( | ) | const |
Get the frame rate of this AnimationCell [in Hz].
Returns either the frame rate set for this slide show cell individually or the default frame rate chosen in the config.
|
inlineinherited |
Get the height of this cell.
This value is recalculated by Recalculate()
|
overridevirtual |
Returns the information about this cell's type.
Implements ImgCellBase.
|
protectedvirtualinherited |
Retrieve an inner cell with given index which must be less than GetInnerCellCount.
Reimplemented in AbsCell, AtCell, BoxCell, ConjugateCell, DiffCell, ExptCell, FracCell, FunCell, GroupCell, IntCell, IntervalCell, LimitCell, ListCell, LongNumberCell, MatrCell, NamedBoxCell, ParenCell, SqrtCell, SubCell, SubSupCell, and SumCell.
|
protectedvirtualinherited |
The number of inner cells - for use by the iterators.
Reimplemented in AbsCell, AtCell, BoxCell, ConjugateCell, DiffCell, ExptCell, FracCell, FunCell, GroupCell, IntCell, IntervalCell, LimitCell, ListCell, LongNumberCell, MatrCell, NamedBoxCell, ParenCell, SqrtCell, SubCell, SubSupCell, SumCell, and IterArrayCell< N >.
|
virtualinherited |
Select the cells inside this cell described by the rectangle rect.
Reimplemented in GroupCell.
|
inherited |
How many pixels is the current line of this list of cells wide?
This command returns the real line width when all line breaks are really performed. See GetFullWidth().
|
inherited |
Returns the maximum distance between center and bottom of this line.
Note that the center doesn't need to be exactly in the middle of an object. For a fraction for example the center is exactly at the middle of the horizontal line.
|
inlineinherited |
Get the next cell that needs to be drawn.
In case of potential 2d objects like fractions either the fraction needs to be drawn as a single 2D object or the nominator, the cell containing the "/" and the denominator are pointed to by GetNextToDraw() as single separate objects.
|
inlineoverridevirtual |
Implements ImgCellBase.
|
inlineoverridevirtual |
Implements ImgCellBase.
|
inlineoverridevirtual |
Implements ImgCellBase.
|
virtualinherited |
Get the smallest rectangle this cell fits in.
all |
|
Reimplemented in GroupCell.
|
inlineinherited |
Do we want to begin this cell with a center dot if it is part of a product?
Maxima will represent a product like (a*b*c) by a list like the following: [*,a,b,c]. This would result us in converting (a*b*c) to the following LaTeX code: \left(\cdot a ß\cdot b \cdot c\right) which obviously is one \cdot too many => we need parenthesis cells to set this flag for the first cell in their "inner cell" list.
|
overridevirtual |
Returns the ToolTip this cell provides at a given point.
point | The point in worksheet coordinates, must be inside the cell or else an empty string is returned. |
Implements ImgCellBase.
|
virtualinherited |
Gets the text this text cell contains.
Reimplemented in EditorCell, and TextCell.
|
inlineinherited |
Get the width of this cell.
This value is recalculated by Recalculate()
|
inlineoverridevirtual |
The name of the file with gnuplot commands that created this file.
Implements ImgCellBase.
|
inlinevirtualinherited |
Hide this cell. See IsHidden() for details.
Reimplemented in GroupCell.
|
inlinevirtualinherited |
Is this editor cell focused?
Reimplemented in EditorCell.
|
inlineinherited |
Whether this cell is broken into two or more lines.
Long abs(), conjugate(), fraction and similar cells can be displayed as 2D objects, but will be displayed in their linear form (and therefore broken into lines) if they end up to be wider than the screen. In this case m_isBrokenIntoLines is true.
|
inlineinherited |
Determine if this cell contains text that isn't code.
|
inlinevirtualinherited |
Is this cell marked as "from an old maxima run"?
Reimplemented in EditorCell.
|
inlineinherited |
Is this cell editable?
Editable cells include comments, code, captions and questions from maxima.
|
inlineinherited |
Whether this cell is not to be drawn.
Currently the following items fall into this category:
Additionally folded GroupCells are marked as "hidden".
|
inlinevirtualinherited |
|
inlinevirtualinherited |
True if this cell represents a short number.
Reimplemented in TextCell.
|
virtualinherited |
True, if something that affects the cell size has changed.
Reimplemented in EditorCell, and GroupCell.
|
virtualinherited |
Paste from the clipboard into this cell.
primary | Linux has two clipboards: One that automatically stores all selected test and that is pasted on middle-click (true) and the traditional copy-and-paste one (false). This parameter tells which clipboard to use. |
Reimplemented in EditorCell.
|
inlinevirtualinherited |
Locates the cursor in the editable text of this cell.
Reimplemented in EditorCell.
|
inherited |
Recalculate both width and height of this list of cells.
Is faster than a RecalculateHeightList();RecalculateWidths();
.
void AnimationCell::ReloadTimer | ( | ) |
Reload the animation timer starting and instantiating and registering it if necessary.
If the timer is already running, the request to reload it is ignored.
|
inherited |
Mark all cached size information as "to be calculated".
Resets remembered size and position info for this cell and all cells inside it.
Resets cached data like width and the height of the current cell as well as the vertical position of the center. Then repeats this with
Scale font sizes and line widths according to the zoom factor.
Is used for displaying/printing/exporting of text/maths
|
inlineinherited |
Scale font sizes and line widths according to the zoom factor.
Is used for displaying/printing/exporting of text/maths
|
inlinevirtualinherited |
Select all editable text of this cell.
Reimplemented in EditorCell.
|
virtualinherited |
Select the text at point.
Reimplemented in EditorCell.
|
virtualinherited |
Select the text between the two points.
Reimplemented in EditorCell.
|
virtualinherited |
What should end up if placing this cell on the clipboard?
AltCopyTexts for example make sense for subCells: a_n looks like a[n], even if both are lookalikes and the cell therefore needs to know what to put on the clipboard if this cell were copied. They also make sense in many other places we may never have thought about. But since we seriously want to save memory space on the ubiuitous TextCells it might be scary to apply this principle to them, at least if you know that text you copy from the internet to a terminal might contain additional commands with TextSize=0...
Reimplemented in ExptCell, FunCell, SubCell, SubSupCell, SumCell, and TextCell.
|
overridevirtual |
Tell this cell to use the configuration object config.
Reimplemented from Cell.
int AnimationCell::SetFrameRate | ( | int | Freq | ) |
Set the frame rate of this AnimationCell [in Hz].
Freq | The requested frequency [in Hz] or -1 for: Use the default value. |
|
virtualinherited |
|
virtualinherited |
Tell this list of cells to be an exponent.
Fractions in exponents are displayed as 1D maths
|
inlinevirtualinherited |
Tells this cell which one should be the next cell to be drawn.
If the cell is displayed as 2d object this sets the pointer to the next cell.
If the cell is broken into lines this sets the pointer of the last of the list of cells this cell is displayed as.
Reimplemented in AbsCell, BoxCell, ConjugateCell, DiffCell, FracCell, FunCell, IntCell, IntervalCell, LimitCell, ListCell, LongNumberCell, NamedBoxCell, ParenCell, SqrtCell, and SumCell.
|
inlineinherited |
Tells this cell which one should be the next cell to be drawn.
If the cell is displayed as 2d object this sets the pointer to the next cell.
If the cell is broken into lines this sets the pointer of the last of the list of cells this cell is displayed as.
|
overridevirtual |
Set the animation's resolution.
Implements ImgCellBase.
|
inlinevirtualinherited |
Sets the TextStyle of this cell.
Reimplemented in EditorCell, LabelCell, and TextCell.
|
virtualinherited |
Sets the text style according to the type.
Reimplemented in EditorCell, and TextCell.
|
inlinevirtualinherited |
void AnimationCell::StopTimer | ( | ) |
Stops the timer.
Also deletes the timer as on MSW there aren't many timers available.
|
inlinevirtualinherited |
Reimplemented in EditorCell.
|
overridevirtual |
Exports the image the animation currently displays.
Implements ImgCellBase.
|
virtualinherited |
|
virtualinherited |
Returns the cell's representation as OMML.
If this method returns wxEmptyString this might mean that this cell is better handled in RTF; The OOML can later be translated to the respective RTF maths commands using OMML2RTF.
Don't know why OMML was implemented in a world that already knows MathML, though.
Reimplemented in AbsCell, AtCell, DiffCell, ExptCell, FracCell, FunCell, IntCell, IntervalCell, LimitCell, ListCell, MatrCell, ParenCell, SqrtCell, SubCell, SubSupCell, SumCell, and TextCell.
|
virtualinherited |
Undo breaking this cell into multiple lines.
Some cells have different representations when they contain a line break. Examples for this are fractions or a set of parenthesis.
This function tries to return a cell to the single-line form.
Reimplemented in SumCell.
|
virtualinherited |
Unbreak this line.
Some cells have different representations when they contain a line break. Examples for this are fractions or a set of parenthesis.
This function tries to return a list of cells to the single-line form.
|
inherited |
Returns all variable and function names used inside this list of cells.
Used for detecting lookalike chars in function and variable names.
|
protectedinherited |
The distance between the top and the insertion point of this cell.
|
protectedinherited |
The point in the work sheet at which this cell begins.
The begin of a cell is defined as
The current point is recalculated
|
protectedinherited |
The height of this cell.