class EnumerateNode: public ListNode

This class represents an enumerate-node

Inheritance:

EnumerateNode - ListNode - EnvironmentNode - Node


Public Classes

[more] Enumerate_Type
This enumeration defines the possible types of the enumerate-node

Public Methods

[more] EnumerateNode(xmlNodePtr node, unsigned int level = 0, int with_left_margin = 1)
The constructor initializes the enumerate-node
[more] ~EnumerateNode()
Destructor
[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 enumeration should be stepped
[more]int getNumberOfHTMLSteps() const
This method returns the number of steps of the HTML-output

Protected Methods

[more]void writeHTMLHeader() const
This helper-method writes the HTML-header for the enumeration to the global output filestream Output_
[more]void writeHTMLFooter() const
This helper-method writes the HTML-footer for the enumeration to the global output filestream Output_

Private Fields

[more]Enumerate_Type type_
Indicates the type of the enumeration
[more]int step_
Indicates, if the HTML-output of the items should be stepped
[more]int closing_p_
1, if the HTML-output of the items should have a closing </P>, else 0


Inherited from ListNode:

Public Methods

ovoid writeHTML(int number_of_elements = -1) const

Protected Fields

o is_sub_list_
oint level_
oint with_left_margin_
oint max_length_

Protected Methods

ovoid writeHTMLAllItems(int style) const
ovoid writeHTMLItems(int number_of_items) const
oint getLength() const


Inherited from EnvironmentNode:

Protected Fields

oint number_of_html_steps_


Inherited from Node:

Protected Fields

o child_nodes_


Documentation

This class represents an enumerate-node.
o Enumerate_Type
This enumeration defines the possible types of the enumerate-node.

o EnumerateNode(xmlNodePtr node, unsigned int level = 0, int with_left_margin = 1)
The constructor initializes the enumerate-node.

Parameters:
node - A pointer to the enumerate-node in the XML-tree.
level - The level of the enumeration.
with_left_margin - Indicates, if the HTML-output should have a margin on the left side.

o ~EnumerateNode()
Destructor.

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 enumeration 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.

ovoid writeHTMLHeader() const
This helper-method writes the HTML-header for the enumeration to the global output filestream Output_.

ovoid writeHTMLFooter() const
This helper-method writes the HTML-footer for the enumeration to the global output filestream Output_.

oEnumerate_Type type_
Indicates the type of the enumeration.

oint step_
Indicates, if the HTML-output of the items should be stepped. If -1, the step-property was not given in the itemize-markup.

oint closing_p_
1, if the HTML-output of the items should have a closing </P>, else 0.


This class has no child classes.

Alphabetic index Hierarchy of classes



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