At 21:59 03/02/2016 +0000, Nicholas Barnett wrote:
Just bought a new computer ... . It's another mac, ...
I've got the __OpenOffice.org Writer for Microsoft Word users:__ to help me on my way, but I'm disappointed to find no mention of ^ in it.

I can't speak to why this is or isn't done ...

WORD uses ^ to code unprintable marks like ^l, linefeed, ^t tab, ^p paragraph and so on. Why not add a table with all the ^ codes and what to do in Writer to get the same effect? There must be a way to change a ^l to a ^p or vice versa, or change all ^ps to ^p^ps.

The way that things such as this are done in Writer is often different from how it is done in Microsoft Word, so there is often no direct equivalent to such tokens. Incidentally, you could easily get the same information from a list provided by Microsoft showing the equivalent in Word to Writer's techniques; do they publish one? Oh dear!

I don't know who I'm writing to, ...

As its name ("Users") suggests, this mailing list is composed mainly of users of OpenOffice - just like you and me.

I'm just grateful you're there, and can either help with my ^ codes ...

With a text (Writer) document open, go to Help | OpenOffice Help (or click the OpenOffice Help button in the Standard toolbar or press F1). Click the index tab and type "regular" (no quotes) as the "Search term". This will find "regular expressions"; click on the "list of" sub-entry to display the complete list. You will need to experiment with the tokens listed there in order to get used to how to achieve the searches you need. To use these tokens, click More Options in the Find & Replace dialogue and ensure that "Regular expressions" is ticked.

... change a ^l to a ^p ...

Search for \n and replace with \n . Note that this token means different things in the two contexts: a line break in the first and a paragraph break in the second.

... or vice versa, ...

This is rather complicated in Writer, but it can be done:
o Enter a line break into your text.
o Select the line break itself.
o Copy the line break (Ctrl+C).
o Go to Find & Replace.
o Enter $ in the "Search for" box and click Find All. All instances of paragraph breaks will be selected and highlighted. o Paste (Ctrl+V). The line break in the clipboard will be pasted over each paragraph break.
Clever, eh?

But you are using a Mac, so there may be a simpler way. With the cursor in the "Replace with" box, you can use Character Viewer to identify and select the line feed character (000A) and click the Insert button; in the "Replace with" box, this will create line breaks in your document.

... change all ^ps to ^p^ps.

Aaargh! May I suggest that you should *never* want to do this? This will create empty paragraphs between each of your real paragraphs, which is old-fashioned typewriter thinking. Word processor do not print on lined paper and you should get away from the concept of "lines" on your printed output. Instead, you create vertical spacing between paragraphs using the "Above paragraph" and "Below paragraph" settings on the Indents & Spacing tab of the Paragraph formatting dialogue or - better still - the Paragraph Style formatting dialogue. (You will want to learn about and use styles in order to use OpenOffice effectively.)

In fact, you can make this change by searching for $ and replacing with \n\n - but please don't ever do this!

I trust this helps.

Brian Barker


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org

Reply via email to