How to write ORG.OFFICE.EASTERSUNDAY for ODF 1.3 and pure EASTERSUNDAY for ODF 1.4?

Mike Kaganski mikekaganski at hotmail.com
Mon Oct 21 07:19:38 UTC 2024


Hi Regina!

On 20.10.2024 23:20, Regina Henschel wrote:
> it would be necessary to write ORG.OFFICE.EASTERSUNDAY when writing in 
> ODF versions 1.3 and before and write pure EASTERSUNDAY in case of ODF 
> 1.4. But I see no way to distinguish between ODF 1.3 and ODF 1.4 in 
> the export filter. I see only a general mxSymbols->isODFF() in 
> ScCompiler::ParseOpCode().


It seems to me, that the export of formula is done in 
ScXMLExport::WriteCell (sc/source/filter/xml/xmlexprt.cxx); and there, 
you have access to getSaneDefaultVersion().

Hope this helps.


-- 

Best regards,

Mike Kaganski



More information about the LibreOffice mailing list