OOo plugin makes rectangle in Word
I am writing a paper in open office and when I cite in the nature format it inserts a space that is highlighted immediately after the number. This in and of itself is unimportant to me. However, when I open the file in WORD or other users do there is a blank rectangle there. This is needless to say unprofessional looking and I would like it to stop.
Is there a way to make the space go away or better yet make the rectangle go away in WORD? I tried searching for this phenomena in the forums and found one similar reference that it was "fixed" in the latest version which is what I have.
Thanks for any help.
Is there a way to make the space go away or better yet make the rectangle go away in WORD? I tried searching for this phenomena in the forums and found one similar reference that it was "fixed" in the latest version which is what I have.
Thanks for any help.
Gitty K: Thanks for the work around. Even though it does force me to use the necessary evils of microsoft (blah) I will definitely use that. Thanks for the help though
The closest I got was U+200B (Zero Width Space), which works in Word but displays a small (non-printing) diagonal line in OO. (It also displays a box in WordPad, but I wouldn't lose much sleep over that.)
I really think there must be a way to fix the OO unending field problem without resorting to an extra character, though. But I need to see what Simon says on the ticket.
oRange.String = Chr(8288) ' Zero-width non-joiner
Put a ' in front of that to hide that line from the macro and it doesn't put a space after the citation. I realize this may have implications for other styles or something that I am unaware of but it works for me. Cheers!
Selection.delete
But no cant figure it out. Maybe someone more familiar with this language can help me out
can we use two characters to close the field - one for word and one for OOo. Everythime the wordprocessor is switched the user will reformat the references and the macro will switch the field closing character. I admit it is very ugly, but in the absence of alternatives may be worth considering.
Go to line 126 which says:
oRange.String = Chr(8288) ' Zero-width non-joiner
Replace Chr(8288) with 8204. I checked this with MSWORD and it seems to work fine. It also allows the reseting of the formating. It is a Zero Width Non Joiner similar to 8288 but with out all the space ;P
Dan . . . or someone could you please validate that this works for both OOo writer and MSWORD (I was using 2007 some maybe something is different for 2003)
But the goal here should really be to just get the cursor out of the field without inserting some obscure character.