• Kohei Yoshida's avatar
    fdo#58149: Recalculate HYPERLINK formula cells on load. · a6790625
    Kohei Yoshida yazdı
    The current implementation of HYPERLINK relies on its result being
    1x2 matrix while only the first element is displayed visibly.  The
    second element stores the URL which is only used when querying for
    the URL (tooltip or launch URL event).
    
    Starting with 4.0 we load cached formula results to avoid full
    recalculation on load.  That unfortuntely ended up breaking the
    HYPERLINK because the result was a simple string value rather than
    a matrix; hence the need to recalculate it on load.
    
    But unlike volatile formula cells, cells with HYPERLINK don't need
    to be recalculated on every cell input change; only once when the file
    is loaded.
    
    P.S. This commit also reverses the logic of bNoProgressBar flag for
    CalcFormulaTree(), to make it easier for human brain to process what
    it means.
    
    Change-Id: I7a24d96d225910b88071a8fe6320f59bf7a47163
    a6790625
Adı
Son kayıt (commit)
Son güncelleme
..
arealink.cxx Loading commit data...
autostyl.cxx Loading commit data...
dbdocfun.cxx Loading commit data...
dbdocimp.cxx Loading commit data...
docfunc.cxx Loading commit data...
docsh.cxx Loading commit data...
docsh2.cxx Loading commit data...
docsh3.cxx Loading commit data...
docsh4.cxx Loading commit data...
docsh5.cxx Loading commit data...
docsh6.cxx Loading commit data...
docsh7.cxx Loading commit data...
docsh8.cxx Loading commit data...
docshimp.hxx Loading commit data...
editable.cxx Loading commit data...
externalrefmgr.cxx Loading commit data...
impex.cxx Loading commit data...
macromgr.cxx Loading commit data...
olinefun.cxx Loading commit data...
pagedata.cxx Loading commit data...
pntlock.cxx Loading commit data...
servobj.cxx Loading commit data...
sizedev.cxx Loading commit data...
tablink.cxx Loading commit data...
tpstat.cxx Loading commit data...
tpstat.hrc Loading commit data...
tpstat.src Loading commit data...