Skip navigation
Sign in
InDesign SDK
Adobe Community
>
InDesign
>
InDesign SDK
>
Discussions
Please enter a title.
You can not post a blank message. Please type your message and try again.
(Alois_Blaimer)
Currently Being Moderated
[CS3] How to get a list of paragraph styles?
Jul 29, 2008 5:59 AM
322 Views 4 Replies
Latest reply
: (Alois_Blaimer), Jul 30, 2008 11:00 PM
Submit
Replies
Currently Being Moderated
1.
AmitGupta_MDS
,
Jul 29, 2008
6:56 AM
in reply to (Alois_Blaimer)
Report
Hello Alois,<br /><br />Try fetching IStyleNameTable interface using IDocument.<br /><br />InterfacePtr<IStyleNameTable> Para_Style_List(iDoc->GetDocWorkSpace(), IID_IPARASTYLENAMETABLE);<br /><br />Hope this helps<br /><br />- Amit Gupta<br />MetaDesign Solutions<br />www.metadesignsolutions.com
Submit
|
Mark as:
Currently Being Moderated
2.
(Alois_Blaimer)
,
Jul 29, 2008
9:37 PM
in reply to (Alois_Blaimer)
Report
Hello amitgupta!
The code seems to be for an earlier version of InDesign.
IID_IPARASTYLENAMETABLE is in the header file replaced by IID_IPARASTYLENAMETABLE_OBSOLETE.
And I get only one paragraph style. A Javascript programm shows two paragraph styles.
Alois
Submit
|
Mark as:
Currently Being Moderated
3.
AmitGupta_MDS
,
Jul 29, 2008
10:29 PM
in reply to (Alois_Blaimer)
Report
Hello Alois,
Look for "Style Group Porting Tasks" in CS2to CS3 porting guide.
Style groups have changed the way it used to work. With CS3 IStyleGroupManager is handling these.
- Amit Gupta
MetaDesign Solutions
www.metadesignsolutions.com
Submit
|
Mark as:
Currently Being Moderated
4.
(Alois_Blaimer)
,
Jul 30, 2008
11:00 PM
in reply to (Alois_Blaimer)
Report
Hello amitgupta!
This helped. It works now.
Thanks
Alois Blaimer
Submit
|
Mark as:
Forum guidelines
Actions
View print preview
More Like This
Retrieving data ...
Bookmarked By (0)
View:
Everyone
Only Notes