• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Set the output format images generated from graphic elements

Community Beginner ,
Jun 19, 2014 Jun 19, 2014

Copy link to clipboard

Copied

Hello,

When I save as XML, my graphic elements generate image files with several extensions .mif, .jpeg, .gif or others.

Is it possible to force an output format?

TOPICS
Scripting

Views

400

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 19, 2014 Jun 19, 2014

Copy link to clipboard

Copied

Yes, there are r/w rules that control the way graphics are exported. In particular, the anchored frame, facet, and convert referenced graphics rules are relevant.

     --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 19, 2014 Jun 19, 2014

Copy link to clipboard

Copied

Thanks for your answer.

I don't know that much about framemaker, how do you declare r/w rules to control graphics export ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 20, 2014 Jun 20, 2014

Copy link to clipboard

Copied

Check the Structured Application Developer's Guide at http://help.adobe.com/en_US/FrameMaker/9.0/StructuredDev/Structure_Dev_Guide.pdf.

     --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 24, 2014 Jun 24, 2014

Copy link to clipboard

Copied

LATEST

Thanks for your help Lynne,

Here is the solution if it can helps, first we have to declare read/write rules file in Application Definitions (Structured Tools > Structured Application Designer).

In this file we can specify what we want like this :

element "graphic" { // markup tag name

  is fm graphic element "Graphic"; // select all graphics framemaker elements named Graphic

  writer anchored frame { // if it is an anchored frame export it

    notation is "CGM"; // with type CGM

    export to file "$(docname).cgm"; // in file with the document name and extension cgm}}

There is much more rules in doc that gave Lynne.

One more thing, the export didn't works for me until I fixed xml parsing errors on my dtd.

Hope it helps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines