|
| ImgCell (GroupCell *group, Configuration *config) |
|
| ImgCell (GroupCell *group, Configuration *config, const wxMemoryBuffer &image, const wxString &type) |
|
| ImgCell (GroupCell *group, Configuration *config, const wxString &image, const wxString &wxmFile, bool remove=true) |
|
| ImgCell (GroupCell *group, Configuration *config, const wxBitmap &bitmap) |
|
| ImgCell (GroupCell *group, const ImgCell &cell) |
|
std::unique_ptr< Cell > | Copy (GroupCell *group) const override |
| Create a copy of this cell. More...
|
|
const CellTypeInfo & | GetInfo () override |
| Returns the information about this cell's type.
|
|
ImgCell & | operator= (const ImgCell &)=delete |
| This class can be derived from wxAccessible which has no copy constructor.
|
|
void | GnuplotSource (wxString sourcefile, wxString datafile, const wxString &wxmFile) |
| Tell the image which gnuplot files it was made from.
|
|
void | CompressedGnuplotSource (wxString sourcefile, wxString datafile, const wxString &wxmFile) |
|
wxString | GnuplotSource () const override |
| The name of the file with gnuplot commands that created this file.
|
|
void | LoadImage (wxString image, bool remove=true) |
|
void | SetPPI (int ppi) override |
| Set the image's resolution.
|
|
int | GetPPI () const override |
|
size_t | GetOriginalWidth () const override |
|
size_t | GetOriginalHeight () const override |
|
void | ReloadImage (const wxString &image, const wxString &wxmFile) |
|
bool | CanExportSVG () const override |
| Can this image be exported in SVG format?
|
|
wxSize | ToImageFile (wxString filename) override |
| Writes the image to a file. More...
|
|
void | ClearCache () override |
| Removes the cached scaled image from memory. More...
|
|
const wxString | GetToolTip (wxPoint point) const override |
| Returns the ToolTip this cell provides at a given point. More...
|
|
void | SetBitmap (const wxBitmap &bitmap) |
| Sets the bitmap that is shown.
|
|
bool | CopyToClipboard () const override |
| Copies the cell to the system's clipboard.
|
|
void | DrawRectangle (bool draw) |
|
wxString | GetExtension () const override |
| Returns the file name extension that matches the image type.
|
|
wxString | GetOrigImageFile () const |
| Returns the name of the file the image was originally created from.
|
|
void | SetOrigImageFile (const wxString &file) |
| Sets the name of the file the image was originally created from.
|
|
wxMemoryBuffer | GetCompressedImage () const |
| Returns the original compressed version of the image.
|
|
wxCoord | GetMaxWidth () const override |
|
wxCoord | GetHeightList () const override |
|
void | SetMaxWidth (wxCoord width) override |
|
void | SetMaxHeight (wxCoord height) override |
|
void | Recalculate (AFontSize fontsize) override |
| Recalculate the size of the cell and the difference between top and center. More...
|
|
void | Draw (wxPoint point, wxDC *dc, wxDC *antialiassingDC) override |
| Draw this cell. More...
|
|
wxString | ToMatlab () const override |
| Convert this cell to its Matlab representation.
|
|
wxString | ToRTF () const override |
| Returns the cell's representation as RTF. More...
|
|
wxString | ToString () const override |
| Returns the cell's representation as a string.
|
|
wxString | ToTeX () const override |
| Convert this cell to its LaTeX representation.
|
|
wxString | ToXML () const override |
| Convert this cell to a representation fit for saving in a .wxmx file.
|
|
bool | CanPopOut () const override |
| Can this cell be popped out interactively in gnuplot?
|
|
wxCoord | Scale_Px (double px) const |
| Scale font sizes and line widths according to the zoom factor. More...
|
|
AFontSize | Scale_Px (AFontSize size) const |
| Scale font sizes and line widths according to the zoom factor. More...
|
|
unsigned long | CellsInListRecursive () const |
| How many cells does this cell contain? More...
|
|
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. More...
|
|
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. More...
|
|
bool | ContainsRect (const wxRect &sm, bool all=true) const |
| Is a part of this cell inside a certain rectangle? More...
|
|
bool | ContainsPoint (wxPoint point) const |
| Is a given point inside this cell? More...
|
|
void | ClearCacheList () |
| Clears the cache of the whole list of cells starting with this one. More...
|
|
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. More...
|
|
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. More...
|
|
bool | DrawThisCell (wxPoint point) |
| Is this cell currently visible in the window? More...
|
|
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. More...
|
|
wxCoord | GetHeight () const |
| Get the height of this cell. More...
|
|
int | GetWidth () const |
| Get the width of this cell. More...
|
|
wxCoord | GetCenter () const |
| Get the distance between the top and the center of this cell. More...
|
|
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. More...
|
|
CellType | GetType () const |
| Returns the type of this cell.
|
|
wxCoord | GetMaxDrop () const |
| Returns the maximum distance between center and bottom of this line. More...
|
|
wxCoord | GetCenterList () const |
| Returns the maximum distance between top and center of this line. More...
|
|
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? More...
|
|
wxCoord | GetCurrentX () const |
| Get the x position of the top left of this cell. More...
|
|
wxCoord | GetCurrentY () const |
| Get the y position of the top left of this cell. More...
|
|
virtual wxRect | GetRect (bool wholeList=false) const |
| Get the smallest rectangle this cell fits in. More...
|
|
virtual bool | NeedsRecalculation (AFontSize fontSize) const |
| True, if something that affects the cell size has changed.
|
|
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. More...
|
|
void | RecalculateList (AFontSize fontsize) |
| Recalculate both width and height of this list of cells. More...
|
|
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". More...
|
|
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. More...
|
|
virtual void | SetIsExponentList () |
| Tell this list of cells to be an exponent. More...
|
|
virtual void | SetValue (const wxString &WXUNUSED(text)) |
| Allows to change the text a TextCell contains. More...
|
|
virtual const wxString & | GetValue () const |
| Gets the text this text cell contains.
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
virtual void | UnbreakList () |
| Unbreak this line. More...
|
|
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. More...
|
|
virtual void | SetNextToDraw (Cell *next) |
| Tells this cell which one should be the next cell to be drawn. More...
|
|
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. More...
|
|
bool | IsComment () const |
| Determine if this cell contains text that isn't code. More...
|
|
bool | IsHidden () const |
| Whether this cell is not to be drawn. More...
|
|
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? More...
|
|
virtual void | ProcessEvent (wxKeyEvent &WXUNUSED(event)) |
| Processes a key event.
|
|
virtual bool | AddEnding () |
| Add a semicolon to a code cell, if needed. More...
|
|
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. More...
|
|
virtual bool | CutToClipboard () |
| Cut this cell's editable contents to the clipboard. More...
|
|
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. More...
|
|
bool | GetSuppressMultiplicationDot () const |
| Do we want to begin this cell with a center dot if it is part of a product? More...
|
|
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? More...
|
|
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 |
|