Opening and Saving Word Documents

Registered by Anthony Huben

Microsoft Office is the leading office suite. Their most widely used program is Word. Thereby, the majority of work should be done on the ability to import and export .doc and .docx extensions.

https://en.wikipedia.org/wiki/Docx

Blueprint information

Status:
Not started
Approver:
Tuur Dutoit
Priority:
Medium
Drafter:
Anthony Huben
Direction:
Approved
Assignee:
None
Definition:
Drafting
Series goal:
Accepted for 0.2
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

Isn't .docx a very extensive standard that would take a huge amount of work to get working? I do plan to implement it, but first, I'd like to do .rtf (to get the hang of (de)serializing), then .odt (as it is an open format, and easier to implement, I think) and only then .docx. --tuur-dutoit-f

DOCX should be as difficult as ODT. RTF is a great format for basic formating support. Additionally, widths need to implement first, of course. And we might as well implement other basic things (like tabs, which I have looked into). We should just focus on these formats, too, to keep it elementary. --harp37

Totally agree. But what do you mean by 'widths need to be implemented first' ? --tuur-dutoit-f

I meant, page width is 8.5 by 11 inches. --harp37

Do you have any idea how to set real sizes (not pixels, but inches/centimeters) on Gtk Widgets? --tuur-dutoit-f

Gtk.Ruler is what you are looking for. Here's a great link, even though it is in python: http://www.pygtk.org/pygtk2reference/class-gtkruler.html. Gtk.INCHES is one of the options for set_metric(). --harp37

In what way would a Ruler help us? As far as I can tell, it displays the cursor position on a horizontal and a vertical ruler, but it doesn't set sizes on Gtk.Widgets. --tuur-dutoit-f

Gtk.PageSetup is actually better for that. I'm thinking a ruler would be great, too. Whatever, sometimes I make mistakes. https://www.gnu.org/software/guile-gnome/docs/gtk/html/GtkPageSetup.html

Just a note. In order for the pages to be correct, use the screen's DPI. I am not sure what methods or structures Gtk has for the screen but that would be what you want. Using the DPI will get you as close to real measurements as possible. --Ryan Riffle <email address hidden>

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.