sheet::Structure::Structure Class Reference

Abstract mother class of all sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods. More...

Inheritance diagram for sheet::Structure::Structure:
sheet::AlgebraBalance_01::AlgebraBalance_01 sheet::AlgebraBinomialIdentityExpansion::AlgebraBinomialIdentityExpansion sheet::AlgebraExpressionExpansion::AlgebraExpressionExpansion sheet::AlgebraExpressionReduction::AlgebraExpressionReduction sheet::AlgebraFactorization_01::AlgebraFactorization_01 sheet::AlgebraFactorization_02::AlgebraFactorization_02 sheet::AlgebraFactorization_03::AlgebraFactorization_03 sheet::FractionSimplification::FractionSimplification sheet::FractionsProductAndQuotient::FractionsProductAndQuotient sheet::MentalCalculation::MentalCalculation sheet::Model::Model sheet::StructureEquation::StructureEquation sheet::StructureShortTest::StructureShortTest

List of all members.

Public Member Functions

def __init__
 /!\ Must be redefined.
def write_output
 Writes the whole sheet's content to the output.
def write_sheet_header
 Writes to the output the header of the sheet to be generated This header is written in a large size.
def write_sheet_title
 Writes to the output the title of the sheet to be generated This title is written in a LARGE size & bolded.
def write_answers_title
 Writes to the output title of the answers' sheet to be generated This title is written in a LARGE size & bolded.
def write_texts
 Writes to the output all exercises' texts.
def write_sheet_text
 Writes to the output the sheet's text.
def write_answers
 Writes to the output all exercises' answers.

Detailed Description

Abstract mother class of all sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods.

Definition at line 32 of file Structure.py.


Member Function Documentation

def sheet::Structure::Structure::__init__ (   self,
  embedded_machine,
  options 
)
def sheet::Structure::Structure::write_answers_title (   self  ) 

Writes to the output title of the answers' sheet to be generated This title is written in a LARGE size & bolded.

Two new lines follow it

Reimplemented in sheet::StructureShortTest::StructureShortTest.

Definition at line 111 of file Structure.py.

def sheet::Structure::Structure::write_output (   self  ) 

Writes the whole sheet's content to the output.

The whole sheet's content is :

  • document's header
  • sheet's title & possibly subtitle
  • texts of the exercises
  • page break
  • answers' sheet title
  • answers of the exercises
  • the close document instruction

Reimplemented in sheet::MentalCalculation::MentalCalculation, and sheet::StructureShortTest::StructureShortTest.

Definition at line 61 of file Structure.py.

def sheet::Structure::Structure::write_sheet_header (   self  ) 

Writes to the output the header of the sheet to be generated This header is written in a large size.

A new line follow it. It's useful to write headers for test sheets, for example.

Reimplemented in sheet::StructureShortTest::StructureShortTest.

Definition at line 82 of file Structure.py.

def sheet::Structure::Structure::write_sheet_title (   self  ) 

Writes to the output the title of the sheet to be generated This title is written in a LARGE size & bolded.

Two new lines follow it

Reimplemented in sheet::StructureShortTest::StructureShortTest.

Definition at line 95 of file Structure.py.


The documentation for this class was generated from the following file:
Generated on Fri Dec 30 19:26:37 2011 for mathmaker by  doxygen 1.6.3