![]() |
![]() |
#1 |
Banned
Join Date: Jul 2010
Location: Australia
Posts: 475
|
Little bit of help needed please with .docx support theory
Purely for fun Ive been tinkering with the idea of making a basic word processor with support for .docx files.
Ive always gotten a bit out of a kick out of (for lack of a better word) "interperative" type code (have ported a few dozen emulators to aros and os3.x, but while fun its not the same as writing your own stuff), and as such have been looking for something unique (amiga wise) to have a play with. I must admit though that Im a little out of my element here and my idea as to how it'd be done (perhaps an incorrect assumption, Im not sure) would be to "simply" write a parser of sorts which looks for tags in a file (much as an HTML reader does(my only real experience with anything like this)). Extending my html reader and adding css support was my other idea to scratch this current itch, but that's not as fun for me should I decide I want to make something useful from any code I write (networking programming isnt something I consider fun, and the obvious "extension" to an html reader is a full browser, hence my reluctance). For now I just want to get something up and running that interperets a document and outputs the correct content to screen, even if only basic support. If anyone can give me any feedback, ideas or suggestion Id appreciate it. Thanks in advance. |
![]() |
![]() |
#2 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,642
|
is docx not xml? then you should be able to find a generic xml parser implementation in C and build that - you're then left with building the rendering part (make sure you don't "hardwire" it for screen only as that will make e.g. printing impossible).
another option would be to write your own light-weight/speed crossplatform xml parser if the whole point of this is to make something, that will work on multiple systems. |
![]() |
![]() |
#3 |
Registered User
Join Date: Mar 2009
Location: moon
Posts: 373
|
The Office Open XML standard which defines docx & co is available here: http://standards.iso.org/ittf/Public...rds/index.html
And yes, docx is a bunch of xml in a zip file. |
![]() |
![]() |
#4 |
Banned
Join Date: Jul 2010
Location: Australia
Posts: 475
|
Thanks hooverphonique and absence.
Time will tell how "easy" it turns out to be, but Im surprised there's such limited docx support in amiga software seeing how widespread xml is. Perhaps is just that its a (relative to the amiga) a pretty new standard introduced after its commercial software death. (*shrugs*). |
![]() |
![]() |
#5 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,642
|
how about porting open office to the amiga? no, i'm kidding, of course :-D
Even if docx+co are iso standards, they are mainly used by M$, are they not? I mean, most other word processors don't use docx as their "main" file format... |
![]() |
![]() |
#6 |
Zone Friend
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
|
Actually I would welcome a port of Open Office. I don't know how practical it would be but I would love to see it on the amiga. If it did come to be adding Final writer file support would be great. I know this is just a pipe dream, but you never know.
|
![]() |
![]() |
#7 |
Registered User
Join Date: Mar 2009
Location: moon
Posts: 373
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
scandoubling - theory | coze | support.Hardware | 59 | 12 November 2020 10:32 |
HELP NEEDED! New "Amiga-daptor" project to support Analogue controllers! | SunChild | support.Hardware | 10 | 03 November 2013 07:51 |
REQ: 17-Bit Artwork 2 (1988-04)(17-Bit Software) | Sea7 | request.Demos | 5 | 13 May 2011 01:07 |
8 bit to optimized 6 bit palette histogram improvements needed | NovaCoder | Coders. General | 0 | 14 April 2011 02:13 |
A bit of help needed from someone that owns a CVPCC | egillskallagrim | support.Hardware | 1 | 06 January 2010 04:48 |
|
|