Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

Formatting elements with pgfFmt

$
0
0

Hi all,

 

I'm a complete beginner at FrameMaker and scripting of the same, and I've been tasked with converting S1000D documents in XML format into FrameMaker files using an unstructured template.

 

I've managed to import some XML files into FrameMaker and saved them as .fm files. Now I need to set different paragraph formats on different elements in those files. The paragraph formats are taken from an unstructured document and imported into the files. How can I assign them to the different elements?

 

I'm currently walking through the elements in the document from mainFlow.HighestLevelElement using the FirstChildElement and NextSiblingElement methods and checking the ElementDef.Name for the tag name, which works, but I've so far been unable  to find a way to set a format on the Element. Is it possible? Is there a better way? Any suggestions welcome.

 

Best,

Lisbeth


Viewing all articles
Browse latest Browse all 23442

Trending Articles



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