Word Text - DOES ANYBODY KNOW???

P

Pat Garard

G'Day All,

I am trawling through a Document by Paragraph (and then
possibly by Sentence within Paragraph), intending to use
a particular translation engine to translate between
English <==> Italian.

Does anybody know of a DEFINITIVE list of 'special characters' that
might be encountered in the text from ....paragraphs(x).range.text??

e.g. EOText is chr(13) (as you might expect)
Blank Paragraph chr(13) (as you might expect)
Section Break chr(12) (Ahh.....)
Object Anchor chr(1) + chr(13) in Blank Para (well...)

....others......?????




--
Regards,
Pat Garard
Australia

______________________________________
 
J

Jonathan West

Hi Pat,

I think it would be a good idea to guard against any character whose Asc
value is less than 32, and treat it as a control character of some kind and
leave it alone.

Your list is inaccurate in some ways. For instance, Chr(12) is a page break.
A section break might be chr(12) or Chr(13) depending on whether it is a
continuous or next page break.

On addition, Chr(9) is a tab character, Chr(160) is a non-breaking space.
You can find others by going to Insert Symbol, and in the dalog that
appears, selecting the Special Characters tab.
 
P

Pat Garard

Many Thanks Jonathan!
--
Regards,
Pat Garard
Australia

______________________________________
 
K

Klaus Linke

Some more control characters you may come across:
embedded objects/pictures ^1
footnotes/endnote references ^2
comment markers ^5
manual line breaks ^11
column breaks ^14
opening/closing field braces ^19/^21
nonbreaking hyphens ^30
optional hyphens ^31

Regards,
Klaus
 
K

Klaus Linke

Jonathan West said:
Your list is inaccurate in some ways. For instance, Chr(12) is a page break.
A section break might be chr(12) or Chr(13) depending on whether it is a
continuous or next page break.

Hi Jonathan,

Sure? Both page breaks and any kind of section break seem to result in
ChrW(12) for me.

Regards,
Klaus
 
P

Pat Garard

Thanks Klaus!!
--
Regards,
Pat Garard
Australia

______________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top