• 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
..
LibreOfficeKit Loading commit data...
animations Loading commit data...
apple_remote Loading commit data...
avmedia Loading commit data...
basebmp Loading commit data...
basegfx Loading commit data...
basic Loading commit data...
canvas Loading commit data...
clew Loading commit data...
codemaker Loading commit data...
com/sun/star/uno Loading commit data...
comphelper Loading commit data...
connectivity Loading commit data...
cppcanvas Loading commit data...
cppu Loading commit data...
cppuhelper Loading commit data...
cppunittester Loading commit data...
dbaccess Loading commit data...
drawinglayer Loading commit data...
editeng Loading commit data...
filter Loading commit data...
formula Loading commit data...
framework Loading commit data...
helpcompiler Loading commit data...
i18nlangtag Loading commit data...
i18nutil Loading commit data...
jvmaccess Loading commit data...
jvmfwk Loading commit data...
linguistic Loading commit data...
o3tl Loading commit data...
oox Loading commit data...
opencl Loading commit data...
osl Loading commit data...
package Loading commit data...
registry Loading commit data...
rsc Loading commit data...
rtl Loading commit data...
sal Loading commit data...
salhelper Loading commit data...
sax Loading commit data...
sfx2 Loading commit data...
shell Loading commit data...
sot Loading commit data...
store Loading commit data...
svl Loading commit data...
svtools Loading commit data...
svx Loading commit data...
systools/win32 Loading commit data...
test Loading commit data...
toolkit Loading commit data...
tools Loading commit data...
touch Loading commit data...
tubes Loading commit data...
typelib Loading commit data...
ucbhelper Loading commit data...
uno Loading commit data...
unoidl Loading commit data...
unotest Loading commit data...
unotools Loading commit data...
vbahelper Loading commit data...
vcl Loading commit data...
wntgcci Loading commit data...
wntgccx Loading commit data...
writerperfect Loading commit data...
xmloff Loading commit data...
xmlreader Loading commit data...
xmlscript Loading commit data...
default.rc Loading commit data...
postmac.h Loading commit data...
postwin.h Loading commit data...
postx.h Loading commit data...
premac.h Loading commit data...
prewin.h Loading commit data...
prex.h Loading commit data...
version.hrc Loading commit data...