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?
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
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 ?
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
Copy link to clipboard
Copied
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.