Skip to main content
Participant
September 25, 2013
Answered

How can I change a local format (bol, italics) to character style

  • September 25, 2013
  • 1 reply
  • 770 views

Hi, I'm new in scripting. I need to change local formats to character styles in some documents, but I can't find the proper ID Object Model to do it in Java. Can somebody help me?

This topic has been closed for replies.
Correct answer Vamitul

i think jongware's preptext will exactly what you need, but i can't find the link right now.

see more info: http://indesignsecrets.com/perfectpreptext-a-smart-way-to-style-local-formatting.php

__

yeha.. here is the link: http://forums.adobe.com/thread/429756

1 reply

Vamitul
VamitulCorrect answer
Legend
September 26, 2013

i think jongware's preptext will exactly what you need, but i can't find the link right now.

see more info: http://indesignsecrets.com/perfectpreptext-a-smart-way-to-style-local-formatting.php

__

yeha.. here is the link: http://forums.adobe.com/thread/429756

Participant
September 26, 2013

Thanks for the help! It worked! But I have two problems now:

1. The documents use Helvetica fonts (light, lightitalic, semibold, etc.) on headings, and the script doesn't recognize nor replace them as character styles. I guess I should replace those fonts with a compatible one (Times New Roman, perhaps). Is there any script that may do that?

2. Some paragraph styles use bold by default, but the script generates a character style in that cases too. The perfectpreptex you send me attend to fix this problem, but the styles document crashes!!