Skip to main content
danp1470120
Participating Frequently
Dec 2, 2018 4:05 PM UTC
Answered

How to get number string of a paragraph?

Hi

In ExtendScript, how do I get a string representing heading numbers of a paragraph, such as "8.2.2" from "8.2.2 Clock properties" subsection?

Many thanks

This topic is closed to new replies. Start a new post to keep the conversation going.
frameexpert
frameexpertCorrect answer
Community Expert
Dec 2, 2018 10:48 PM UTC

If pgf is your paragraph object, you use pgf.PgfNumber

www.frameexpert.com

4 replies

frameexpert
Community Expert
frameexpertCommunity ExpertCorrect answer
Community Expert
Dec 2, 2018 10:48 PM UTC

If pgf is your paragraph object, you use pgf.PgfNumber

Translate
www.frameexpert.com
danp1470120
Participating Frequently
Dec 3, 2018 8:36 AM UTC

Ah, I got it. Thank you.

I've searching for a paragraph's atrribute telling its location/range in the document, but not found any.

Is there anything like that?

Translate
Legend
Dec 14, 2018 6:20 PM UTC

Hm. That sounds like something completely different from what you were asking for.

Maybe you want to post that as a separate thread? If the answer from frameexpert​ answered your initial question, it would be great if you could mark it as “Correct Answer” so that we  an close this thread :-)

Thanks,

Stefan

Translate