Convert List Numbers to Plain Text?

Everything related to our flagship word processor.
Post Reply
Bob Stern
Posts: 176
Joined: 2006-03-12 12:32:47

Convert List Numbers to Plain Text?

Post by Bob Stern »

Is it possible to convert List numbers to plain text? I want to "freeze" the numbers so that the List style is removed and the current numbering remains fixed.

In particular, if the Start value of the first item in the list is greater than one, I need the correct Start value preserved when the numbers are converted from List style to plain text. Copying a list number to the clipboard and then pasting it as plain text causes the number to revert to 1.
User avatar
martin
Official Nisus Person
Posts: 5230
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Convert List Numbers to Plain Text?

Post by martin »

This is possible to do using a macro:

Code: Select all

# Move to end of document
Select All
Select End

# Convert all list bullets to plain text.
# Go backwards so numbering doesn't change as we progress.
While Select Previous List Item
	Copy Text Only
	Paste Text Only
End
There is one issue however: when you "freeze" the items (eg: convert them to plain text) they will lose the indents that were derived from the list style. This won't be a problem if the list style is inherited via a paragraph style, but otherwise the indents won't be quite right.
Bob Stern
Posts: 176
Joined: 2006-03-12 12:32:47

Post by Bob Stern »

Thanks a million, Martin! Works perfectly!

(I had tried something similar, but I had used "Copy" followed by "Paste Text Only". It didn't occur to me to use "Copy Text Only". That turned out to be the key to preserving the list numbers.)
Post Reply