------art_5772_27832518.1189971400028
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 9/16/07, Bira <u.alberton / gmail.com> wrote:
>
> On 9/14/07, Jeff Barczewski <jeff.barczewski / gmail.com> wrote:
>
> >
> >
> > To generate msword docs - it might be easier (and more portable) to
> simply
> > write out the new xml form of word rather than using win32ole. I believe
> it
> > would still have all the same capabilities but just represented in xml
> > format.
> >
> > http://en.wikipedia.org/wiki/Office_Open_XML
>
> OOXML's specification is over 6.000 pages long, and full of
> idiosyncrasies - I don't know how much of it he'd need for his
> documents, but using OLE and Word is probably easier than trying to
> build a OOXML-compliant document generator from scratch. Which I guess
> is exactly why Microsoft made the spec that long in the first place,
> but I digress... :).




Wow, that figures that they would make something too complicated to
implement.

However I was thinking one could take a simpler approach and just create a
document in MSWord with everything you are supporting in the markup and then
save it as open office xml. That should give you an example of what to code
to, but if there are many idiosyncrasies then I guess the OLE way would be
more straight forward. I was hoping rather that for simple markup that there
wouldn't be too much to learn, but I have not read the spec so maybe it
wouldn't be as easy as I thought.

Boy I am glad that we have open source alternatives to most everything these
days!


-- 
Jeff Barczewski, MasterView core team
Inspired Horizons Ruby on Rails Training and Consultancy
http://inspiredhorizons.com/

------art_5772_27832518.1189971400028--