|
wxMaxima
|
The Maxima-response handlers extracted from the wxMaxima god class. More...
#include <MaximaResponseReader.h>
Public Member Functions | |
| MaximaResponseReader (wxMaxima &wxm) | |
| void | ReadStatusBar (const wxXmlDocument &xmldoc) |
| Handles a <statusbar> document: shows its text in wxMaxima's status bar. | |
| void | ReadWorksheetExport (const wxXmlDocument &xmldoc) |
| Handles a <worksheetexport> document: exports the worksheet to a file. | |
| void | ReadManualTopicNames (const wxXmlDocument &xmldoc) |
| Handles a <html-manual-keywords> document: opens the manual on the keyword(s) Maxima resolved a help request to. | |
| void | ReadMath (const wxXmlDocument &xml) |
| Appends a new chunk of typeset math Maxima sent to the worksheet. | |
| void | ReadLoadSymbols (const wxXmlDocument &data) |
| Hands a <wxxml-symbols> document (a new batch of auto-completable symbols) to the worksheet's autocompleter. | |
| void | ReadFirstPrompt (const wxString &data) |
| Handles Maxima's very first prompt after startup (banner, PID, readiness). | |
| void | ReadMiscText (const wxString &data) |
| Handles a chunk of plain (non-XML) text Maxima sent: classifies it as output/warning/error and appends it to the worksheet. | |
| void | ReadSuppressedOutput (const wxString &data) |
| Handles output Maxima marked as suppressed; also the startup authentication handshake (the <wxxml-key> exchange). | |
| void | ReadPrompt (const wxString &data) |
| Handles a new input/question prompt: advances the evaluation queue or surfaces the question, and tracks Maxima's lisp/maxima mode. | |
| void | ReadStdErr () |
| Reads and reports whatever Maxima forwarded on its stdout/stderr streams (most prominently the gnuplot subprocess's diagnostics). | |
| void | ReadVariables (const wxXmlDocument &xmldoc) |
| Handles a <variables> document: updates the variables sidebar, the table-synced menus and runs the per-variable action for each value Maxima advertised. | |
| void | ReadAddVariables (const wxXmlDocument &xmldoc) |
| Handles a <watch_variables_add> document: adds the named variables to the variables-sidebar watch list. | |
The Maxima-response handlers extracted from the wxMaxima god class.
Owned by value by the wxMaxima frame; MaximaProcessManager::MaximaEvent dispatches each incoming chunk to the matching handler here. Holds a reference back to that frame for the services the handlers need (the worksheet, the sidebars, the status bar, the configuration).
| void MaximaResponseReader::ReadWorksheetExport | ( | const wxXmlDocument & | xmldoc | ) |
Handles a <worksheetexport> document: exports the worksheet to a file.
The document is emitted by the wxworksheetto* Maxima commands and carries the export kind, the target file and the keyword options as child elements (<type>, <file>, <option name="...">). Currently type "html" is implemented.