• Laurent Godard's avatar
    tdf#75973 : User Defined Types in password encrypted macros · c2d6b859
    Laurent Godard yazdı
    save/load basic script so that when executing password protected
    the user defined types can be rebuilt
    
    supports array and nested types
    
    New identifier B_USERTYPE for save/open macro with user defined types
    No version bump but saves binary format now to current_version
    
    a unit test in sc macros-test.cxx
    
    full round trip on password protected document (ie. use binary storage)
    master --(0)--> master --(1)--> libreoffice 4.4 --(2)--> master --(3)--> master
    (0) in master, User type supported, big module supported
    (1) in libreoffice 4.4, user type not supported, big module supported, no loss of code
    (2) in master, user type not supported, big module not found, no loss of code
    it is OK as libreoffice 4.4 saves to LegacyVersion (see sbxmod.cxx changes)
    (3) in master, User type supported, big module supported (all is restored)
    it is OK as module was saved with CURRENT_VERSION (see sbxmod.cxx changes)
    
    Change-Id: Idab5de85e948dc11f4aba631b1569a1cc1cb4bf6
    Reviewed-on: https://gerrit.libreoffice.org/17841Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    c2d6b859
Adı
Son kayıt (commit)
Son güncelleme
..
dlgcont.cxx Loading commit data...
modsizeexceeded.cxx Loading commit data...
namecont.cxx Loading commit data...
scriptcont.cxx Loading commit data...