IAEX::NotebookParser Class Reference

Used to open a notebookfile. More...

Inheritance diagram for IAEX::NotebookParser:

IAEX::NBParser List of all members.

Public Member Functions

virtual Cellparse ()

Detailed Description

Used to open a notebookfile.

Opens a notebookfile. Note that the parser used to parse Mathematica notebooks is not completley correct. There are a lot of notebooktags that are ignored. Some big things that is not implemented is section counter and hyperlinks. Hyperlinks will maybe be implemented later. For hyperlinks to work a new browser must be implemented supporting opening of new documents. This is not implemented at the time of writing.

Those Cell styles that is not implemented could in most cases be implemented using the stylesheet.

See also:
stylesheet::xml for more information about changing a cells style.
Here is a list of things that are implemented:

Rules implemented: Below is some tags and rules that is not implemented. Note that this is just a subset of all tags not implemented. It is far from complete.

Some rules not implemented
Parameters:
filename is the name of the file to be opened.
Exceptions:
runtime_error if the notebook can not be opened.


Member Function Documentation

Cell * IAEX::NotebookParser::parse  )  [virtual]
 

This method just calls the antlr generated parser. To change the parser look at lexer.g, parser.g and walker.g instead.

Implements IAEX::NBParser.


The documentation for this class was generated from the following files:
Generated on Mon May 15 11:07:43 2006 for OMNotebook by  doxygen 1.4.6-NO