Skip to main content
August 4, 2014
Answered

Export paragraph format tag to attribute

  • August 4, 2014
  • 1 reply
  • 273 views

Hi All,

Using structured FM 11 on Windows 7.

I need a way to round-trip paragraph format tags. I know it is easy to assign them on import with the EDD, but I'm not sure how to save them on export.

I was hoping the read/write rules could contain something along the lines of:

attribute "paraFormat" is fm property paragraph format tag;

I figure it can probably be done with ExtendScript or a custom API, but I would rather avoid these if possible.

Thanks!
Trevor

This topic has been closed for replies.
Correct answer Russ Ward

Trevor,

I think you are out of luck with r/w rules. The assumption is that formatting logic is owned by the EDD and would therefore have no relevance in the XML. Like you surmise, an import/export API client could do it. An ExtendScript could also do it before the import, by populating the attributes ahead of time. That would be a very simple script, maybe 20 lines or so.

My FrameSLT plugin could also populate the attributes ahead of time with a Node Wizard Script, but that isn't free like ES. www.weststreetconsulting.com.

Russ

1 reply

Russ WardCorrect answer
Legend
August 6, 2014

Trevor,

I think you are out of luck with r/w rules. The assumption is that formatting logic is owned by the EDD and would therefore have no relevance in the XML. Like you surmise, an import/export API client could do it. An ExtendScript could also do it before the import, by populating the attributes ahead of time. That would be a very simple script, maybe 20 lines or so.

My FrameSLT plugin could also populate the attributes ahead of time with a Node Wizard Script, but that isn't free like ES. www.weststreetconsulting.com.

Russ