mathmaker
0.4(alpha)
|
Abstract mother class of all sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods. More...
Public Member Functions | |
def | __init__ |
/!\ Must be redefined. | |
def | __str__ |
Writes the whole sheet's content to the output. | |
def | texts_to_str |
Return as str exercises' or answers'texts. | |
def | sheet_header_to_str |
Writes to the output the header of the sheet to be generated This header is written in a large size. | |
def | sheet_title_to_str |
Writes to the output the title of the sheet to be generated. | |
def | sheet_text_to_str |
Writes to the output the sheet's text. | |
def | answers_title_to_str |
Writes to the output title of the answers' sheet to be generated. | |
Public Attributes | |
machine | |
exercises_list | |
sheet_layout_unit | |
layout_type | |
write_texts_twice | |
sheet_layout |
Abstract mother class of all sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods.
Definition at line 34 of file S_Structure.py.
def sheet.S_Structure.S_Structure.__init__ | ( | self, | |
embedded_machine, | |||
font_size_offset, | |||
sheet_layout_unit, | |||
sheet_layout, | |||
layout_type, | |||
options | |||
) |
/!\ Must be redefined.
Constructor.
embedded_machine | The machine to be used |
**options | Any options |
Definition at line 45 of file S_Structure.py.
References sheet.AlgebraBalance_01.AlgebraBalance_01.derived, sheet.AlgebraFactorization_01.AlgebraFactorization_01.derived, sheet.FractionSimplification.FractionSimplification.derived, sheet.FractionsSum.FractionsSum.derived, sheet.MentalCalculation.MentalCalculation.derived, sheet.AlgebraFactorization_02.AlgebraFactorization_02.derived, sheet.AlgebraFactorization_03.AlgebraFactorization_03.derived, sheet.AlgebraMiniTest0.AlgebraMiniTest0.derived, sheet.EquationsShortTest.EquationsShortTest.derived, sheet.AlgebraExpressionExpansion.AlgebraExpressionExpansion.derived, sheet.EquationsTest.EquationsTest.derived, sheet.FractionsProductAndQuotient.FractionsProductAndQuotient.derived, sheet.PythagoreanTheoremShortTest.PythagoreanTheoremShortTest.derived, sheet.AlgebraExpressionReduction.AlgebraExpressionReduction.derived, sheet.AlgebraShortTest.AlgebraShortTest.derived, sheet.AlgebraTest.AlgebraTest.derived, sheet.AlgebraTest2.AlgebraTest2.derived, sheet.EquationsClassic.EquationsClassic.derived, sheet.EquationsHarder.EquationsHarder.derived, sheet.AlgebraBinomialIdentityExpansion.AlgebraBinomialIdentityExpansion.derived, sheet.EquationsBasic.EquationsBasic.derived, sheet.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.derived, sheet.exercise.question.Q_Model.Q_Model.derived, sheet.exercise.question.Q_Equation.Q_Equation.derived, sheet.exercise.X_Calculation.X_Calculation.derived, sheet.exercise.question.Q_RightTriangle.Q_RightTriangle.derived, sheet.AlgebraMiniTest1.AlgebraMiniTest1.derived, sheet.S_Model.S_Model.derived, sheet.exercise.X_RightTriangle.X_RightTriangle.derived, sheet.exercise.X_AlgebraExpressionReduction.X_AlgebraExpressionReduction.derived, sheet.exercise.question.Q_MentalCalculation.Q_MentalCalculation.derived, sheet.exercise.question.Q_AlgebraExpressionExpansion.Q_AlgebraExpressionExpansion.derived, sheet.exercise.X_MentalCalculation.X_MentalCalculation.derived, sheet.exercise.X_Model.X_Model.derived, sheet.exercise.X_AlgebraExpressionExpansion.X_AlgebraExpressionExpansion.derived, sheet.exercise.question.Q_AlgebraExpressionReduction.Q_AlgebraExpressionReduction.derived, sheet.exercise.question.Q_Calculation.Q_Calculation.derived, sheet.exercise.X_Factorization.X_Factorization.derived, sheet.exercise.X_Equation.X_Equation.derived, sheet.exercise.question.Q_Factorization.Q_Factorization.derived, sheet.S_Structure.S_Structure.exercises_list, sheet.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.exercises_list, sheet.S_Structure.S_Structure.layout_type, sheet.exercise.question.Q_Structure.Q_Structure.machine, sheet.S_Structure.S_Structure.machine, sheet.exercise.X_Structure.X_Structure.machine, sheet.S_Structure.S_Structure.sheet_layout, sheet.S_Structure.S_Structure.sheet_layout_unit, and sheet.S_Structure.S_Structure.write_texts_twice.
def sheet.S_Structure.S_Structure.__str__ | ( | self | ) |
Writes the whole sheet's content to the output.
Definition at line 167 of file S_Structure.py.
References sheet.S_Structure.S_Structure.answers_title_to_str(), sheet.S_Structure.S_Structure.exercises_list, sheet.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.exercises_list, sheet.S_Structure.S_Structure.layout_type, sheet.S_Structure.S_Structure.sheet_header_to_str(), sheet.S_Structure.S_Structure.sheet_text_to_str(), sheet.S_Structure.S_Structure.sheet_title_to_str(), sheet.S_Structure.S_Structure.texts_to_str(), and sheet.S_Structure.S_Structure.write_texts_twice.
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.
Definition at line 374 of file S_Structure.py.
References sheet.AlgebraBalance_01.AlgebraBalance_01.header, sheet.AlgebraFactorization_01.AlgebraFactorization_01.header, sheet.FractionSimplification.FractionSimplification.header, sheet.FractionsSum.FractionsSum.header, sheet.MentalCalculation.MentalCalculation.header, sheet.AlgebraFactorization_02.AlgebraFactorization_02.header, sheet.AlgebraFactorization_03.AlgebraFactorization_03.header, sheet.EquationsShortTest.EquationsShortTest.header, sheet.AlgebraMiniTest0.AlgebraMiniTest0.header, sheet.AlgebraExpressionExpansion.AlgebraExpressionExpansion.header, sheet.EquationsClassic.EquationsClassic.header, sheet.AlgebraShortTest.AlgebraShortTest.header, sheet.AlgebraTest.AlgebraTest.header, sheet.AlgebraExpressionReduction.AlgebraExpressionReduction.header, sheet.PythagoreanTheoremShortTest.PythagoreanTheoremShortTest.header, sheet.EquationsTest.EquationsTest.header, sheet.AlgebraTest2.AlgebraTest2.header, sheet.FractionsProductAndQuotient.FractionsProductAndQuotient.header, sheet.AlgebraBinomialIdentityExpansion.AlgebraBinomialIdentityExpansion.header, sheet.EquationsHarder.EquationsHarder.header, sheet.EquationsBasic.EquationsBasic.header, sheet.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.header, sheet.AlgebraMiniTest1.AlgebraMiniTest1.header, and sheet.S_Model.S_Model.header.
Referenced by sheet.S_Structure.S_Structure.__str__().