Ok, i went into a discussion with Claude to check out the situation and to get more clarity.

First of all we have a read and write operation. Pedro talked about writing OOXML files my concern is about reading them. For writing OOXML there is a test suite *Open XML SDK* validator (Microsoft, MIT-licensed). So we can test our document against MS Validator. If we support only strict format in wirting we can at least support our features to be written correctly.

So i have to rewire my verdict.

Writing a OOXML for us is feasible and maybe we should consider that.



---
Now reading OOXML the mentioned concerns are even worse then I thought.
Using the LO work the AI asses as not worth it. Because it is a lot of work to rip it into an extension and we have the negative issue of the License history.

Using POI directly is also assess inferior to our already existing work. Main reason is the Java dependency and as Damjan pointed out, the Poi library is only half the work.

But we can use the experience that POI has to improve our importer. Something i did not consider. With POI we have test data, and a java reference code which saves us the learning Apache POI did.

I did not consider this. I like that a lot. However this is only helping us on Spreadsheets. Nothing more. And that is also something i did not look at when i said we should look at libraries. All libraries are focused on spreadsheet for data work. Writes or presentations are not looked at. So while we could improve in Calc quickly, learning courve on the other file types could be slow.

improving the reading is a journey which is not that easy and that will bind ressources.

All the best
Peter


Am 22.11.2026 um 20:17 schrieb Petko.apache.org via dev:
Hi all.

Am 22.11.2026 um 18:41 schrieb Jim Jagielski:
I tend to agree here... IMO, OOXML would be a 'nice to have' but I'm really curious if whatever effort we put into it will be worth it in the end. I feel like no matter how we do it, and how _well_ we do it, it'll never be right, and we'll be constantly playing `fetch me a rock`
yes.

On Nov 22, 2026, at 7:51 AM, Damjan Jovanovic via dev <[email protected]> wrote:

On Sun, Nov 22, 2026 at 11:58 AM petko.apache.org <https://petko.apache.org/> via dev <
[email protected] <mailto:[email protected]>> wrote:

Am 21.11.2026 um 21:59 schrieb Pedro F. Giffuni:
  FWIW;
Realistically, OOXML support is quite desirable:  think of the most
basic document you use in a job application: your resume. For most
position/sites, you need it as either pdf or docx.
Initial OOXML write support is quite straightforward. I looked at it
[1], but I am not pursuing it at this time. My  priority is/was
openformula, and that's pretty much in reach now.
OpenFormula indeed helps us up to some extent for Excel compatibility,
which has also been very well worked out by POI, but the tough thing is
docx/word.I don't plan to  work on that at this time but I do think it
is an important goal.
All i hear is that there are very quirky implementations . Fram what i
know the standard is not the issue, the market is. I am not against the
format, overall. I am skeptical if OOXML is a good core feature we are
responsible for. I think it is a battle we can only loose.

I had always the Idea to extract the code from LO, put it in an
extension and just accept their Quirky license policy. We can do that in
an extensions. The good part: In a blame game, we can pass the blame
onward. Not our Code.

An alternative is the use of the OOXML libraries out there. Why
implement this again? There are so many implementations, which means
maintainers.


Remember that document parsing involves traversing an object graph to read
it, and then creating in-memory state to represent that document.

Parsing that object graph isn't that difficult, and we do most of it
already, the hard part is correctly representing everything from the
document in memory. For example Excel has live pivot tables (which LO has been criticized for not supporting). Now to get live pivot tables working,
you have to (1) parse them from OOXML, but also (2) implement them in
OpenOffice, so that changes to the document immediately reflect in the
pivot table. Which do you think is more difficult?

I think it is difficult to guarantee, a certain layout if you do not have access or the time to test your document on all possible platforms.

libraries have solved that issue already, more or less.


So reusing third-party OOXML parsers won't help us much, because we have to
develop document features that OOXML requires, and that work won't even
contained in main/oox, but may need to be done in main/sc, main/chart2, etc.

I do believe that is a lot of work at this point. I have some ideas, but that is not the right

moment for them. I need to do some spikes first.


Regards
Damjan




If you want to add this to the core i am skeptical, but i would support a own implementation of course. The ODF and OpenFormula implementations
are good moves. I love to be surprised.

Maybe if we limit the compatibility to Euro/Only-Office and LibreOffice that would be a move we can do to dance around the issues of MS Office, I guess there is the most quirky implementations to be expected. And we
need the applications for testing.

All the best

Peter

All the best

Peter

Cheers,
Pedro.
[1] https://chatgpt.com/share/6b01feb1-b144-83e9-a187-44b9b369b185
     On Friday, November 20, 2026 at 09:31:45 PM GMT-5, Petko.apache.org
via dev <[email protected]> wrote:

Am 18.11.2026 um 23:46 schrieb Pedro F. Giffuni via dev:
   FWIW,
One tends to think that a lot of OpenOffice users just don't have the
money for a Microsoft subscription, and surprise surprise ...many are banks.
I recall a LibreOffice sponsor I met at apacheConEU was indeed in the
business of support contracts for banks. It may be open source for us but
there are many commercial interests around it.
It is a bid wired that AOO is used as a MS replacement, since we are
actually offer a different user feeling.
I am do like that we are not to copy cat MS Office. And I know from
discussions with LO folks, how much pressure there is to do exactly
that. Renaming wording, structures to please a Microsoft Office users
skill. File compatibility is fine, user experience should be our own.

If we do OOXML write ability, i would like to have that as extension. We should always be ODF first. I also believe that the OOXML fileformat is
a hangar queen, at least if you look at the work that LO and other
projects invest into that format.

Imho OOXML should be an extension and we should use other people work as
much as possible. POI for example is a good candidate. The LO
implementation is technically good. License wise difficult I heard some
stuff about it, that makes me shiver.

I think that we should be careful not to burn to much time on that
format.
All the best

Peter

Pedro.
       On Wednesday, November 18, 2026 at 03:46:13 PM GMT-5, Jim
Jagielski <[email protected]> wrote:



On Nov 18, 2026, at 3:34 PM, Jim Jagielski wrote:



On Nov 18, 2026, at 1:35 PM, Pedro F. Giffuni via dev <
[email protected]> wrote:
Improvements everywhere!
1) My ocZGS --Z ocRRI change died, but I am OK with it. It was a bold
movement.

Ahh... I had not truly recognized that that was a design decision.
Yeah, I was kinda enforcing canon.

Another thing: Occasionally, I'd run into a handful of cases where, in
Calc, Excel would do it "this way" which was kinda compliant but could also
be argued as "well, maybe....". In the cases where a disconnect would
prevent AOO from correctly matching Excel behavior, my assumption is that a
major use case for AOO are those who want/need it specifically for MS
Office "compatibility". As long as it didn't break things, that's the way I went, but I tried to be sure to document all those decisions (although I
admit, maybe I wasn't as robust as I should have been :-) )
--Jim     "This is about Frank Sobotka."               - Major Valchek

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Jim
   "This is an outrage!"
                         Tony Harrison



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to