importing graphics in xml file

Rick Quatro rick at rickquatro.com
Thu Feb 19 10:55:01 PST 2015


Hi Fred,

What happens if you don't include the width and height attributes?

Rick

Rick Quatro
Carmen Publishing Inc.
585-366-4017
rick at frameexpert.com




-----Original Message-----
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Fred Wersan
Sent: Thursday, February 19, 2015 1:49 PM
To: framers at lists.frameusers.com
Subject: importing graphics in xml file

I am importing xml files into structured framemaker 8 and these files
reference graphics using the following syntax:

<yfigure file = "../somefile.png" impsize = "3.183in 1.1in" impby = "ref"
sideways = "0" impang = "0.000" xoffset = "0.080in" yoffset = 
"0.0in" position = "runin" align = "aright"    cropped = "0" float = "0" 
width = "3.25in" height = "3.1in" angle = "0.000" bloffset = "0.000in" 
nsoffset = "0.000in"/>

I think I got this syntax by exporting a file and seeing what framemaker
created.

I am using an automated process to create the xml files that assumes all the
referenced graphics files are the same size. However, it turns out that they
really aren't. The result is that graphics files that don't fit impsize =
"3.183in 3.1in" get distorted.

What I would really like is to just say - import this file at such and such
a resolution and let it size automatically.

Does anyone know if there is a different syntax that can specify the
resolution instead of the dimensions of the imported graphic?

Fred

--
Fred Wersan
VT MAK, Principal Technical Writer
150 Cambridge Park Drive, 3rd Floor, Cambridge, MA 02140
857-209-3469 fwersan at mak.com

Where Live, Virtual, and Constructive Simulation Meets the Web
www.mak.com/weblvc

_______________________________________________


You are currently subscribed to framers as rick at rickquatro.com.

Send list messages to framers at lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscribe at lists.frameusers.com
or visit
http://lists.frameusers.com/mailman/options/framers/rick%40rickquatro.com

Send administrative questions to listadmin at frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.




More information about the framers mailing list