class GridNode: public EnvironmentNode

This class represents a grid-node

Inheritance:

GridNode - EnvironmentNode - Node


Public Methods

[more] GridNode(xmlNodePtr node)
The constructor initializes the grid-node
[more] ~GridNode()
Destructor
[more]void writeHTML(int parameter) const
This method writes the node to the global output filestream Output_
[more]void writeLaTeX() const
This method writes the node to the global output filestream Output_
[more]void writeXML() const
This method writes the node to the global output filestream Output_
[more]int isHTMLStepped() const
This method signals, if the HTML-output of the grid should be stepped
[more]int getNumberOfHTMLSteps() const
This method returns the number of steps of the HTML-output

Private Fields

[more]int rows_
The number of rows, the grid will have
[more]int columns_
The number of columns, the grid will have
[more]int step_
1, if the cells should be written one-by-one, else 0
[more]int border_
The width of the border of the grid
[more]int cellpadding_
The value of the table-attribute 'cellpadding' for the HTML-output
[more]int contract_
If 1, the grid-cells of the HTML-output will be as small as possible
[more]int subenvironment_step_
1, if the HTML-output of at least one sub-environment should be stepped, else 0


Inherited from EnvironmentNode:

Protected Fields

oint number_of_html_steps_


Inherited from Node:

Public Methods

oint getLength() const

Protected Fields

o child_nodes_


Documentation

This class represents a grid-node.
o GridNode(xmlNodePtr node)
The constructor initializes the grid-node.

Parameters:
node - A pointer to the grid-node in the XML-tree.

o ~GridNode()
Destructor.

ovoid writeHTML(int parameter) const
This method writes the node to the global output filestream Output_. The format of the output must be HTML. The integer-parameter will be passed to all sub-environments, that should be written one-by-one-

Parameters:
parameter - The parameter, which will be passed through.

ovoid writeLaTeX() const
This method writes the node to the global output filestream Output_. The format of the output must be LaTeX.

ovoid writeXML() const
This method writes the node to the global output filestream Output_. The format of the output must be XML.

oint isHTMLStepped() const
This method signals, if the HTML-output of the grid should be stepped.

Returns:
1, if the HTML-output should be stepped, else 0.
See Also:
getNumberOfHTMLSteps

oint getNumberOfHTMLSteps() const
This method returns the number of steps of the HTML-output.

Returns:
The number of steps.

oint rows_
The number of rows, the grid will have. If -1, the rows-property was not given in the grid-markup.

oint columns_
The number of columns, the grid will have. If -1, the columns-property was not given in the grid-markup.

oint step_
1, if the cells should be written one-by-one, else 0. If -1, the step-property was not given in the grid-markup.

oint border_
The width of the border of the grid. If -1, the border-property was not given in the grid-markup.

oint cellpadding_
The value of the table-attribute 'cellpadding' for the HTML-output. If -1, the cellpadding-property was not given in the grid-markup.

oint contract_
If 1, the grid-cells of the HTML-output will be as small as possible. If -1, the contract-property was not given in the grid-markup.

oint subenvironment_step_
1, if the HTML-output of at least one sub-environment should be stepped, else 0.


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.