[Libreoffice-bugs] [Bug 81187] Toggle on/off text highlighting like in MS Word

2018-05-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=81187

Maxim Monastirsky  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #10 from Maxim Monastirsky  ---


*** This bug has been marked as a duplicate of bug 63438 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 81187] Toggle on/off text highlighting like in MS Word

2014-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81187

--- Comment #7 from tommy27 ba...@quipo.it ---
@Kevin
strange. I confirm my macro works and does remove text highlighting under
Win7x64 using LibO 4.2.5.2. your macro version works fine too.

would you please tell me your O/S and LibO version? I'm curious about the
reason it doesn't work in your computer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 81187] Toggle on/off text highlighting like in MS Word

2014-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81187

--- Comment #8 from Kevin Suo suokunl...@gmail.com ---
(In reply to comment #7)
 would you please tell me your O/S and LibO version? I'm curious about the
 reason it doesn't work in your computer.

Windows XP SP3, LibreOffice 4.3.0.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 81187] Toggle on/off text highlighting like in MS Word

2014-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81187

--- Comment #9 from tommy27 ba...@quipo.it ---
thanks. I confirm macro works in 4.2.5.2 on WinXP 32bit.
I'll try later the 4.3.0.2 release and see if there's some basic issue in the
new branch, and if confirmed I'll open a separate report about it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 81187] Toggle on/off text highlighting like in MS Word

2014-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81187

tommy27 ba...@quipo.it changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=81231

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 81187] Toggle on/off text highlighting like in MS Word

2014-07-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81187

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 OS|Windows (All)   |All
 Status|UNCONFIRMED |NEW
 CC||ba...@quipo.it
Summary|TEXT HIGHLIGHT FEATURES |Toggle on/off text
   ||highlighting like in MS
   ||Word
Version|4.3.0.2 rc  |Inherited From OOo
  Component|Writer  |UI
 Ever confirmed|0   |1

--- Comment #5 from tommy27 ba...@quipo.it ---
Ok, I understand what you mean. I set status NEW to this enhancement request.

In the meantime you can use this macro and assign it to a keyboard shortcut or
to a toolbar custom button.

Sub RemoveTextHighlighting

dim document   as object
dim dispatcher as object
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)
dispatcher.executeDispatch(document, .uno:BackColor, , 0, Array())
End Sub

P.S. check your Caps Lock key :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 81187] Toggle on/off text highlighting like in MS Word

2014-07-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81187

--- Comment #6 from Kevin Suo suokunl...@gmail.com ---
(In reply to comment #5)
Hi tommy,
I tried your macro but it does not work. So I have done some change to your
code, now it works:

Sub RemoveTextHighlighting

Dim document   as object
Dim dispatcher as object

document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)

REM We need to define the args for the dispatcher. without this the
backcolor will not change.
Dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).name = BackColor
args1(0).value = -1

dispatcher.executeDispatch(document, .uno:BackColor, , 0,args1())

End Sub

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs