Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 888

Default paragraph font not found in character catalog

$
0
0

Hi all,

 

I'm wondering if there's a way to get the default paragraph font as a character format via ExtendScript. I currently have a script that records all the character formats in the active doc.

 

var arr = new Array;
var tag = active.FirstCharFmtInDoc;
var tagname = tag.Name;
var count = 0;

while (tag.ObjectValid()) {
     arr[count] = tagname;     tag = tag.NextCharFmtInDoc;     tagname = tag.Name;     count++;
}
return arr;

 

In FrameMaker, this list looks like:

 

Default Font

Emphasis

EquationVariables

Hypertext

 

But when iterating through the character formats in the script, it omits the default font. Any ideas on how to stop this omission or why it occurs?


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>