(styleRef) field error

H

hubaishan

STYLEREF Field Cann't get a symbol from the styled text

STYLEREF Field Cann't get a inlineShape from the styled text
 
S

Stefan Blom

in message
STYLEREF Field Cann't get a symbol from the styled text

If this is a Unicode symbol from a "full" Unicode font such as Arial
Unicode MS, make sure to apply the same font to the paragraph where the
STYLEREF is located.
STYLEREF Field Cann't get a inlineShape from the styled text

As far as I know, you can't use the STYLEREF field to get anything but
text (or a paragraph number).

If you want to repeat an inline shape, bookmark it and then insert a
cross-reference to the bookmark.

--
Stefan Blom
Microsoft Word MVP


 
H

hubaishan

thank you But I use (StyleRef) to get Heading Paragarphs from the text And I
use Non global Symbols.

--
Saeed Omer Hubaishan
YEMEN


Stefan Blom said:
in message
STYLEREF Field Cann't get a symbol from the styled text

If this is a Unicode symbol from a "full" Unicode font such as Arial
Unicode MS, make sure to apply the same font to the paragraph where the
STYLEREF is located.
STYLEREF Field Cann't get a inlineShape from the styled text

As far as I know, you can't use the STYLEREF field to get anything but
text (or a paragraph number).

If you want to repeat an inline shape, bookmark it and then insert a
cross-reference to the bookmark.

--
Stefan Blom
Microsoft Word MVP


 
S

Stefan Blom

Make sure that the style has been applied to the correct piece(s) of
text. Specifically, make sure that the style hasn't been applied to a
blank paragraph, that is, to a paragraph without any text in it. If the
STYLEREF is trying to display the text of such a paragraph, obviously it
would display nothing.

Example of blank paragraph:

Text here.¶
More text here wrapped
to the next line.¶
¶ <-- This is a blank paragraph.
New paragraph.¶

To see the paragraph marks (¶) and other nonprinting marks, press
Ctrl+Shift+8. For more, see
http://word.mvps.org/faqs/formatting/NonPrintChars.htm.

--
Stefan Blom
Microsoft Word MVP


in message
thank you But I use (StyleRef) to get Heading Paragarphs from the text And I
use Non global Symbols.

--
Saeed Omer Hubaishan
YEMEN


Stefan Blom said:
in message
STYLEREF Field Cann't get a symbol from the styled text

If this is a Unicode symbol from a "full" Unicode font such as Arial
Unicode MS, make sure to apply the same font to the paragraph where the
STYLEREF is located.
STYLEREF Field Cann't get a inlineShape from the styled text

As far as I know, you can't use the STYLEREF field to get anything but
text (or a paragraph number).

If you want to repeat an inline shape, bookmark it and then insert a
cross-reference to the bookmark.

--
Stefan Blom
Microsoft Word MVP


 

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