You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Damjan Jovanovic <da...@apache.org> on 2024/01/16 16:50:20 UTC
odf-1.3 branch pushed, progress update
Hi
I've now pushed my "odf-1.3" branch upstream, which has some initial ODF
1.3 compatibility patches, a patch adding a new constraint for the RECEIVED
function, and another to only make the upgrade dialog appear when version >
1.3.
There are 3 useful parts to the ODF 1.3 specification, part 2 dealing with
packaging, part 3 with the OpenDocument schema, and part 4 with
OpenFormula. So far I've mostly been developing part 4. Of the 34 issues
under part 4, 20 are now complete, which means part 4 development is
already 59% complete.
So far only 1 issue needed a code change, and at least 1 more also will,
but the impression I get is that the vast majority of changes were made not
because ODF 1.3 is hugely different from ODF 1.2, but because parts of ODF
1.2 were wrong or ambiguous and they wanted to fix the specification for
the sake of better interoperability with other implementations (probably
Microsoft Office). A lot of the design decisions seem to have been made in
favour of AOO/LO, standardizing on how we already work, leaving us with
little or nothing to change :-).
Of course there is still the lengthy ODF 1.3 part 3 to go through, and ODF
1.3 part 2 will also require some development to add OpenGPG encryption
support.
Ideally we should also add some unit tests for the new development, but I
am not yet sure how best to implement those.
Confluence has been working surprisingly well.
Would anyone like to help?
Regards
Damjan
Re: odf-1.3 branch pushed, progress update
Posted by Damjan Jovanovic <da...@apache.org>.
On Tue, Jan 16, 2024 at 7:10 PM Marcus <ma...@wtnet.de> wrote:
> Am 16.01.24 um 17:50 schrieb Damjan Jovanovic:
> > I've now pushed my "odf-1.3" branch upstream, which has some initial ODF
> > 1.3 compatibility patches, a patch adding a new constraint for the
> RECEIVED
> > function, and another to only make the upgrade dialog appear when
> version >
> > 1.3.
> >
> > There are 3 useful parts to the ODF 1.3 specification, part 2 dealing
> with
> > packaging, part 3 with the OpenDocument schema, and part 4 with
> > OpenFormula. So far I've mostly been developing part 4. Of the 34 issues
> > under part 4, 20 are now complete, which means part 4 development is
> > already 59% complete.
>
> from zero to 59% in a few days. That's great.! :-)
>
:-)
> > Would anyone like to help?
>
> If you mean coding, then you have to teach me C++ first. ;-P
> Honestly, here I won't be of any help. Other things depend.
>
For my latest change, which added support for weekday types 11-17 to the
WEEKDAY function, those new types should probably be documented in the
"OpenOffice Help" page for WEEKDAY. Can someone update those?
>
> Before we bring this into a release, we should discuss and define how we
> want or should offer the ODF 1.3 support.
>
> My suggestion:
>
> Instead of putting this as a selectable option in the Save dialog, we
> should add this to the other ODF version parts (see menu "Tools -
> Options - Load/Save - General - Default file format and ODF settings").
>
Yes, I still need to add that.
> I don't know how loading is working. But I would expect that the header
> data is read and the ODF version is recognized with some magic numbers.
>
If you unzip an OpenDocument file, there are office:version="1.3"
attributes on at least content.xml, meta.xml, settings.xml, and styles.xml.
Damjan
Re: odf-1.3 branch pushed, progress update
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Marcus, All,
Am 16.01.24 um 20:09 schrieb Marcus:
> Am 16.01.24 um 17:50 schrieb Damjan Jovanovic:
>> I've now pushed my "odf-1.3" branch upstream, which has some initial ODF
>> 1.3 compatibility patches, a patch adding a new constraint for the
>> RECEIVED
>> function, and another to only make the upgrade dialog appear when
>> version >
>> 1.3.
>>
>> There are 3 useful parts to the ODF 1.3 specification, part 2 dealing
>> with
>> packaging, part 3 with the OpenDocument schema, and part 4 with
>> OpenFormula. So far I've mostly been developing part 4. Of the 34 issues
>> under part 4, 20 are now complete, which means part 4 development is
>> already 59% complete.
>
> from zero to 59% in a few days. That's great.! :-)
>
>> So far only 1 issue needed a code change, and at least 1 more also will,
>> but the impression I get is that the vast majority of changes were
>> made not
>> because ODF 1.3 is hugely different from ODF 1.2, but because parts
>> of ODF
>> 1.2 were wrong or ambiguous and they wanted to fix the specification for
>> the sake of better interoperability with other implementations (probably
>> Microsoft Office). A lot of the design decisions seem to have been
>> made in
>> favour of AOO/LO, standardizing on how we already work, leaving us with
>> little or nothing to change :-).
>
> That's interesting. So, when we want to support ODF 1.3 we just need
> to change / implement little code. That means also that no bigger or
> many problems should occur. At least this is my hope.
> Even better.
>
>> Confluence has been working surprisingly well.
>
> :-)
>
>> Would anyone like to help?
>
> If you mean coding, then you have to teach me C++ first. ;-P
> Honestly, here I won't be of any help. Other things depend.
>
> Before we bring this into a release, we should discuss and define how
> we want or should offer the ODF 1.3 support.
>
> My suggestion:
>
> Instead of putting this as a selectable option in the Save dialog, we
> should add this to the other ODF version parts (see menu "Tools -
> Options - Load/Save - General - Default file format and ODF settings").
That is the right place, I think...
But before we can releasing anything, we must be able to translate new
strings in changed dialogs and to modify our Help files accordingly.
There is still enough to do but I think we are on the right track.
Matthias
>
> I don't know how loading is working. But I would expect that the
> header data is read and the ODF version is recognized with some magic
> numbers.
>
> Marcus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
Re: odf-1.3 branch pushed, progress update
Posted by Marcus <ma...@wtnet.de>.
Am 16.01.24 um 17:50 schrieb Damjan Jovanovic:
> I've now pushed my "odf-1.3" branch upstream, which has some initial ODF
> 1.3 compatibility patches, a patch adding a new constraint for the RECEIVED
> function, and another to only make the upgrade dialog appear when version >
> 1.3.
>
> There are 3 useful parts to the ODF 1.3 specification, part 2 dealing with
> packaging, part 3 with the OpenDocument schema, and part 4 with
> OpenFormula. So far I've mostly been developing part 4. Of the 34 issues
> under part 4, 20 are now complete, which means part 4 development is
> already 59% complete.
from zero to 59% in a few days. That's great.! :-)
> So far only 1 issue needed a code change, and at least 1 more also will,
> but the impression I get is that the vast majority of changes were made not
> because ODF 1.3 is hugely different from ODF 1.2, but because parts of ODF
> 1.2 were wrong or ambiguous and they wanted to fix the specification for
> the sake of better interoperability with other implementations (probably
> Microsoft Office). A lot of the design decisions seem to have been made in
> favour of AOO/LO, standardizing on how we already work, leaving us with
> little or nothing to change :-).
That's interesting. So, when we want to support ODF 1.3 we just need to
change / implement little code. That means also that no bigger or many
problems should occur. At least this is my hope.
Even better.
> Confluence has been working surprisingly well.
:-)
> Would anyone like to help?
If you mean coding, then you have to teach me C++ first. ;-P
Honestly, here I won't be of any help. Other things depend.
Before we bring this into a release, we should discuss and define how we
want or should offer the ODF 1.3 support.
My suggestion:
Instead of putting this as a selectable option in the Save dialog, we
should add this to the other ODF version parts (see menu "Tools -
Options - Load/Save - General - Default file format and ODF settings").
I don't know how loading is working. But I would expect that the header
data is read and the ODF version is recognized with some magic numbers.
Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org