Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

On Wednesday, 2011-08-10 01:30:06 -0400, Kohei Yoshida wrote:

$Sheet1.$A$1+$#REF!.$A$2

When you save this document at this point, what gets saved is

table:expression="[$Sheet1.$A$1]+[$#REF!.$A$2]"

The bug reported in fdo#37391 says that as of ODF 1.2 you must write

table:expression="[$Sheet1.$A$1]+[#REF!]"

when one of sheet, column and row gets invalidated.

Since this expression is generated directly from ScCompiler, it's likely
affecting other areas where the formula expressions are generated from
ScCompiler on export.  And the right fix probably needs to be made
inside the formula compiler code too.

Indeed, the right place for this would be in
ConventionOOO_A1::MakeRefStrImpl() if bODF==true and any of the ref
parts IsTabDeleted()/IsColDeleted()/IsRowDeleted() is true.

For loading, ScCompiler::IsPredetectedReference() looks like it already
accepts a single "#REF!" string.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpUIau0uATRy.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.