• Ravindra_Vidhate's avatar
    tdf#84153: "Edit Comment" in context menu when a cell has a comment · d2ef03ce
    Ravindra_Vidhate yazdı
    Problem Description :
    1. When a cell doesn't has comment, the contextual menu shows menu
    item "Insert Comment".
    
    2. Also when the cell has the comment, the contextual menu shows
    following menu items
    "Insert Comment"
    "Delete Comment"
    "Show Comment"
    
    In the second case mentioned above, the contextual menu should show
    the menu item "Edit Comment" instead of "Insert Comment"
    
    XML difference: None
    After RT : None
    
    Solution :
    In this patch, a new menu item "Edit Comment" have been added. So at the
    time of the display it checks whether cell has comment associated with it.
    If comments are present for cell, it will display "Edit Comment" in the
    contextual menu otherwise "Insert Comment" will be displayed.
    
    TODO: Writing a UT seems to be tricky for this change.
    Need to analyze and will raise the UT in separate CL.
    
    Change-Id: Ie0499d02157c4fd18894c5f203c363f64659f3b3
    Reviewed-on: https://gerrit.libreoffice.org/15713Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    d2ef03ce
Adı
Son kayıt (commit)
Son güncelleme
..
app.sdi Loading commit data...
auditsh.sdi Loading commit data...
cellsh.sdi Loading commit data...
chartsh.sdi Loading commit data...
docsh.sdi Loading commit data...
drawsh.sdi Loading commit data...
drformsh.sdi Loading commit data...
drtxtob.sdi Loading commit data...
editsh.sdi Loading commit data...
formatsh.sdi Loading commit data...
graphsh.sdi Loading commit data...
mediash.sdi Loading commit data...
oleobjsh.sdi Loading commit data...
pgbrksh.sdi Loading commit data...
pivotsh.sdi Loading commit data...
prevwsh.sdi Loading commit data...
scalc.sdi Loading commit data...
scslots.hrc Loading commit data...
scslots.sdi Loading commit data...
tabvwsh.sdi Loading commit data...