GSoC 2009 Complete ODT Import/Export by atmb4u: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
'''ABSTRACT'''
'''ABSTRACT'''
This project aims at implementing complete ODT/SXW files import and export (i.e. enable the import of ODT files as files, not just as formatted text). This is achieved by using a plug-in to import ODT file.
 
This project aims at implementing complete ODT files import (i.e. enable the import of ODT files as files, not just as formatted text). This is achieved by using a plug-in to import ODT file. Export will as be taken into consideration while designing the import.


    
    
Line 12: Line 13:
'''OBJECTIVES'''
'''OBJECTIVES'''


Complete ODT/SXW import and, if time permits, export for Scribus via plug-ins.
Complete ODT import and, if time permits, export for Scribus via plug-ins.


Document the plug-ins correctly and neatly.
Document the plug-ins correctly and neatly.
Line 24: Line 25:
*Extracting graphics, tables and formulas and if necessary convert them to a format that can be used by Scribus (e.g. SVG).
*Extracting graphics, tables and formulas and if necessary convert them to a format that can be used by Scribus (e.g. SVG).
*Open an ODT in the workspace by converting it to a Scribus document
*Open an ODT in the workspace by converting it to a Scribus document
'''THE PLAN'''
-First decode (read the XML) the ODT files
-Convert the graphics in the ODT to SVGs and read the text content in the ODT




Line 36: Line 42:
[[Phase II –Rip him off]]
[[Phase II –Rip him off]]


May 08-May 17 –Design the structure of the plug-in and discuss its structure on IRC.
May 08-May 17 –Design the structure of the plug-in and discuss its structure on IRC nad mailing list.


[[Phase III – Code him out]]
[[Phase III – Code him out]]


May 18- May 27 –Open the ODT files independent from the Scribus+ Add ODT file import option in Scribus
May 18- May 20 –Open the ODT files using a newly created plug-in from the Scribus.


May 28 – Testing
May 20- May 28 – Testing


May 29- June 27 –Link both plug-in and Scribus and debug
May 29- June 27 –Import each object in ODT file convert each into  Link both plug-in and Scribus and debug


June 28- August 7 – Complete the coding and sync the entire project.
June 28- August 7 – Complete the coding and sync the entire project.
Line 61: Line 67:
The expected outcomes of this project are as follows:
The expected outcomes of this project are as follows:


*ODT/SXW files can be imported as files using a plug-in not just as texts as at present.
*ODT files can be imported as files using a plug-in not just as texts as at present.(The project will hold tables,pictures and formulas, which are frequently used objects, not a complete ODT importer, which would be too large to be fit in the limited time frame of GSoC 2009. BUt the devel)
 
*Proper documentation of the functionality and the code.
*Proper documentation of the functionality and the code.
'''MENTORS'''




Line 81: Line 90:
I am Anoop Thomas Mathew, and am currently studying for B. Tech degree in Computer Science and Engineering, at College of Engineering, Chengannur, Kerala, INDIA.  
I am Anoop Thomas Mathew, and am currently studying for B. Tech degree in Computer Science and Engineering, at College of Engineering, Chengannur, Kerala, INDIA.  


I have been using GNU/Linux for the past 5 years, starting off with RHEL 4 through Ubuntu.
I have been using GNU/Linux for the past 5 years, starting off with RHEL 4.


I have good knowledge in C, C++, Java and Python, and I've been into coding in them for the past 5 years.  
I have good knowledge in C, C++, Java and Python, and I've been into coding in them for the past 5 years.  


I am a member of FSF since 3 years and had been fixing a few bugs in the Vim text editor. I am in the Vim development mailing list for more than one year. I don’t have any previous experience with Scribus, but I hope to work with Scribus through GSoC 2009.
I am a member of FSF since 3 years and had been fixing a few bugs in the Vim text editor. I am in the Vim development mailing list for more than one year. I don’t have any previous experience with Scribus, but I hope to work with Scribus through GSoC 2009.

Revision as of 04:55, 30 March 2009

ABSTRACT

This project aims at implementing complete ODT files import (i.e. enable the import of ODT files as files, not just as formatted text). This is achieved by using a plug-in to import ODT file. Export will as be taken into consideration while designing the import.


MOTIVATION

ODT is a univeral open word processing format which is very popular making essential to be imported into the Scribus. Scribus makes desktop publishing with free and open software possible, and I found it necessary to import ODT files directly into the workspace, for making it work better.


OBJECTIVES

Complete ODT import and, if time permits, export for Scribus via plug-ins.

Document the plug-ins correctly and neatly.


CHALLENGES

The major challenges that will be faced during the implementation of this project are

  • Reading ODT files.
  • Extracting graphics, tables and formulas and if necessary convert them to a format that can be used by Scribus (e.g. SVG).
  • Open an ODT in the workspace by converting it to a Scribus document


THE PLAN -First decode (read the XML) the ODT files -Convert the graphics in the ODT to SVGs and read the text content in the ODT


TIME LINE

Following is the detailed road map of implementing the project.

Phase I – Gather it up

April 28-May 08 – Understand the XML formatting of ODT files. Read the documentation of Scribus completely, especially more about how to program Scribus. Communicate with mentors and clear basic doubts about the project.

Phase II –Rip him off

May 08-May 17 –Design the structure of the plug-in and discuss its structure on IRC nad mailing list.

Phase III – Code him out

May 18- May 20 –Open the ODT files using a newly created plug-in from the Scribus.

May 20- May 28 – Testing

May 29- June 27 –Import each object in ODT file convert each into Link both plug-in and Scribus and debug

June 28- August 7 – Complete the coding and sync the entire project.

Phase IV – Pack Up

August 7-August 17 – Complete the documentation and completely comment up the code (Clean Coding).


Note: Timeline doesn't include interaction with the mentor every day.


PROJECT OUTCOMES

The expected outcomes of this project are as follows:

  • ODT files can be imported as files using a plug-in not just as texts as at present.(The project will hold tables,pictures and formulas, which are frequently used objects, not a complete ODT importer, which would be too large to be fit in the limited time frame of GSoC 2009. BUt the devel)
  • Proper documentation of the functionality and the code.

MENTORS


ABOUT ME

Name: Anoop Thomas Mathew

IRC Nick: atmb4u

Email ID: atmb4u@gmail.com

Location: Kerala, India

Timezone : GMT + 5:30


I am Anoop Thomas Mathew, and am currently studying for B. Tech degree in Computer Science and Engineering, at College of Engineering, Chengannur, Kerala, INDIA.

I have been using GNU/Linux for the past 5 years, starting off with RHEL 4.

I have good knowledge in C, C++, Java and Python, and I've been into coding in them for the past 5 years.

I am a member of FSF since 3 years and had been fixing a few bugs in the Vim text editor. I am in the Vim development mailing list for more than one year. I don’t have any previous experience with Scribus, but I hope to work with Scribus through GSoC 2009.