Issue 51329 - Macro recorder does not record non-breaking space
Summary: Macro recorder does not record non-breaking space
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 81517
  Show dependency tree
 
Reported: 2005-06-29 00:17 UTC by kpvdr
Modified: 2017-05-20 11:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kpvdr 2005-06-29 00:17:58 UTC
When recording a macro which contains a non-breaking space (ctrl+space), the
non-breaking space is ignored/not played back.

OpenOffice 1.9.109 on RHEL4.

Steps to reproduce (The <Ctrl+space> represents the special non-breaking space
character):
1. New document
2. Start macro recorder (Tools->Macro->Record Macro)
3. Record the sequence "12<Ctrl+space>34"
4. Stop the macro recorder; save as "Test"
5. Replay the macro (Tools->Macro->Run Macro...; Select "Test" macro). The
sequence 1234 is played back, the non-breaking space is missing.
Comment 1 michael.ruess 2005-06-29 07:17:14 UTC
Reassigned to JSK.
Comment 2 joerg.skottke 2005-07-21 10:46:14 UTC
setting OOo Later and setting dupe to issue #20046. I do not consider this a
stopper for OOo 2.0

*** This issue has been marked as a duplicate of 20046 ***
Comment 3 joerg.skottke 2005-08-08 10:41:10 UTC
Change: Summary

I changed my mind. 
As this is something that probably does not need any changes to the
macrorecorder itself it should be fixed.

reop
Comment 4 joerg.skottke 2005-08-08 10:41:47 UTC
Owner -> OS
Comment 5 joerg.skottke 2005-08-08 10:48:32 UTC
Macro snippet when recording only the nonbreaking space:

Recorded Macro:
sub space
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ----------------------------------------------------------------------
rem dispatcher.executeDispatch(document, ".uno:InsertNonBreakingSpace", "", 0,
Array())

end sub
Comment 6 Marcus 2017-05-20 11:22:51 UTC
Reset assigne to the default "issues@openoffice.apache.org".