class SlideNode: public Node, TOCInterface

This class represents one slide

Inheritance:

SlideNode - Node

SlideNode - TOCInterface


Public Fields

[more] All_Slides_
This vector stores all slidenodes
[more]char Filename_Of_First_Slide_[64]
The filename of the first slide of the presentation
[more]char Filename_Of_Last_Slide_[64]
The filename of the last slide of the presentation
[more]char* Section_Title_
The title of the section
[more]char Section_Filename_[64]
The filename of the first slide in the section
[more]int Section_Written_In_Outline_
Indicates, if the title of the section was written in the outline-version of the LaTeX-output

Public Methods

[more] SlideNode(xmlNodePtr node)
Creates a slide with the given sequence-number
[more] ~SlideNode()
Destructor
[more]void writeHTML(int parameter = 0) const
This method writes the content of the slide to a HTML-file
[more]void writeLaTeX() const
This method writes the content of the slide to the global output filestream Output_
[more]void writeXML() const
This method writes the content of the slide to the global output filestream Output_
[more]void initFilenameOfFirstAndLastSlide()
This method initializes the filename of the first and the last slide
[more]void writeTOCEntry() const
This method creates the entry for the table of contents

Private Fields

[more]int sequence_number_
The sequence-number of the slide
[more]int number_of_subslides_
The number of subslides or -1, if there are no subslides
[more]char* title_
The title of the slide
[more]char* note_
The filename of additional notes to the slide
[more]int latex_
0, if this slide should be skipped in the LaTeX-output, else 1

Private Methods

[more]void writeSubSlideHTML(const int sub_slide) const
This helper-method writes a (sub)slide to a HTML-File
[more]void writeHTMLHeader(const char *prev_slide, const char *next_slide) const
This helper-method prints the HTML-header and the header of the (sub)slide to the global output filestream Output_
[more]void writeHTMLNavigationButtons(const char *prev_slide, const char *next_slide) const
This helper-method prints the navigation-buttons to the global output filestream Output_
[more]void writeHTMLFooter(const char *prev_slide, const char *next_slide) const
This helper-method prints the HTML-table, which contains the buttons, and the HTML-footer of the (sub)slide to the global output filestream Output_


Inherited from Node:

Public Methods

oint getLength() const

Protected Fields

o child_nodes_


Inherited from TOCInterface:


Documentation

This class represents one slide. It contains all data, that is needed for writing the apropriate HTML-File. The member variable environment_ points to any environment, where the content of the slide is stored. A slide can also consist of subslides, which will be written to own HTML-files. The subslides itself are generated on-the-fly, when the method write() is called.
o SlideNode(xmlNodePtr node)
Creates a slide with the given sequence-number.

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

o ~SlideNode()
Destructor.

ovoid writeHTML(int parameter = 0) const
This method writes the content of the slide to a HTML-file. If the slide contains subslides, all subslides will be written to own HTML-files. The writing itself is done by calling the helper-method writeSubSlide().

See Also:
writeSubSlide

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

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

ovoid initFilenameOfFirstAndLastSlide()
This method initializes the filename of the first and the last slide.

ovoid writeTOCEntry() const
This method creates the entry for the table of contents.

ovoid writeSubSlideHTML(const int sub_slide) const
This helper-method writes a (sub)slide to a HTML-File. The filename of the HTML-file is generated on-the-fly by the value of sequence_number_ and the value of the parameter sub_slide. The writing of the header and footer of the HTML-file and the content is done by calling the helper-methods writeHeader() and writeFooter().

Parameters:
sub_slide - The subslide that should be written. If -1, there doesn't exist any subslides.
See Also:
writeHeader, writeFooter

ovoid writeHTMLHeader(const char *prev_slide, const char *next_slide) const
This helper-method prints the HTML-header and the header of the (sub)slide to the global output filestream Output_.

Parameters:
prev_slide - The filename of the previous (sub)slide
next_slide - The filename of the next (sub)slide

ovoid writeHTMLNavigationButtons(const char *prev_slide, const char *next_slide) const
This helper-method prints the navigation-buttons to the global output filestream Output_.

Parameters:
prev_slide - The filename of the previous (sub)slide
next_slide - The filename of the next (sub)slide

ovoid writeHTMLFooter(const char *prev_slide, const char *next_slide) const
This helper-method prints the HTML-table, which contains the buttons, and the HTML-footer of the (sub)slide to the global output filestream Output_.

Parameters:
prev_slide - The filename of the previous (sub)slide
next_slide - The filename of the next (sub)slide

oint sequence_number_
The sequence-number of the slide. The first slide will get the sequence-number 1.

oint number_of_subslides_
The number of subslides or -1, if there are no subslides.

ochar* title_
The title of the slide.

ochar* note_
The filename of additional notes to the slide.

oint latex_
0, if this slide should be skipped in the LaTeX-output, else 1.

o All_Slides_
This vector stores all slidenodes.

ochar Filename_Of_First_Slide_[64]
The filename of the first slide of the presentation.

ochar Filename_Of_Last_Slide_[64]
The filename of the last slide of the presentation.

ochar* Section_Title_
The title of the section.

ochar Section_Filename_[64]
The filename of the first slide in the section.

oint Section_Written_In_Outline_
Indicates, if the title of the section was written in the outline-version of the LaTeX-output.


This class has no child classes.

Alphabetic index Hierarchy of classes



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