vendredi 22 avril 2011

Project Definition

Introduction :

The objective of this project is firstly make Relatorio able to use the FODT format as it is a flat-XML. Afterwhile, add support of embed opendocument in frame as you can do with image. And finally is to make Relatorio able to allow templating on data source of graph from spreadsheet opendocument.


The Purpose (Mission) :
  • Make relatorio able to use the FODT format as it is a flat-XML.
  • Add support of embed opendocument in frame on Relatorio.
  • Make relatorio able to allow templating on data source of graph from spreadsheet opendocument.
      
    Description of the project :

    Tryton uses Relatorio for the templating of reports. The format wich is used is ODT. The trick is this files are zip files and to work with this format with a source control as mercurial is possible but ODT files are considered as binary files. The use of Flat ODT overcomes the problem.

    These are the targets we want to meet :
    • Studying and learning softwares.
    • learning new code (XML).
    • Integrate FODT to Relatorio.
    • Integrate the necessary changements to Tryton.
    • Integrate some others formats to Tryton.
        
      This is how our organisation will gain :

      The First project is really independant from other and the method of resolution looks simple.
      I will have to:
      1. To detect if we use a zipped file or not.
      2. Depending on the detection, changing the behavior of loading of Relatorio (thereby Relatorio will continue to do the same job as now).
      The second project and the third project are quite similar because somewhere libreoffice graphics are documents like other. So the third project is a sort of subcase from the second one.
      This is how I will proceed:

      1. To find or to make a syntax with wich Relatorio templates can specify: "I insert here such document".
      2. To make some manually documents to understand the format used by OpenDocument.
      3. Finally I will make sure that the syntax I chose is able to generate this format to xml.
      I will adapt this method to allow templating on data source of graph from spreadsheet opendocument.

      One special point of attendion should be the interaction between the FODT part of the project and the "include other document part".


      Objectives :
      • Start of Program (May 24)
        I have to learn softwares and also to learn XML(I already know Python). I'll also inquire about FODT format to know the best way to integrate FODT to Relatorio. 
      • Midterm Evaluation (July 12)
        To have achieved the first objective wich is to make Relatorio able to use the FODT format and also have a clear structure of how to code the second objective (add support of embed opendocument in frame as you can do with image).
      • Final Evaluation (Aug 16)
        To have integrated Relatorio to tryton with other templates then odt and also have achieved support of FODT for Relatorio.

      Aucun commentaire:

      Enregistrer un commentaire