[Framers] Structured import: Sizing the image as well as the anchored frame
Urszula Witherell
urszulawitherell at jetsetcom.net
Mon May 15 07:12:38 PDT 2017
Hi Rick,
I referenced in EDD an Object Style to format images. I used Object
Styles>Object Properties>Scaling ... value. Provided it is consistent,
it works quite well with images, though I had trouble with sizing
frame. To remove the default offsetting of images in anchored frames,
Read/Write rules includes these lines:
element "img"
{
fm property horizontal offset value is "0";
fm property vertical offset value is "0";
.... etc.
Perhaps if you can combine the methods, it will work.
Urszula
On May 15, 2017 at 9:39 AM Rick Quatro <rick at rickquatro.com> wrote:
Hi Tino,
Thank you very much for the information. I was hoping for a "fit"
option
that will proportionately scale the image to the anchored frame. At
this
point, I am using a script and they may be the best option.
Rick
-----Original Message-----
From: Framers
[mailto:framers-bounces+rick=rickquatro.com at lists.frameusers.com] On
Behalf
Of Heiko Haida
Sent: Friday, May 12, 2017 3:20 PM
To: An email list for people using Adobe FrameMaker software.
Subject: Re: [Framers] Structured import: Sizing the image as well
as the
anchored frame
Hi Rick,
for example, in our standard XML, a graphic is represented like
this:
<Graphic file="xxx.eps" align="acenter" angle="0.000" cropped="0"
float="0" height="0.770in" nsoffset="0.000in" position="below"
width="4.528in" impang="0.000" impby="ref" impsize="4.500in 0.697in"
sideways="0" xoffset="0.014in" yoffset="0.032in"/>
As you can see, there are a lot more entries, "height" and "width"
belong to the frame, the size of the graphic itself is defined in
"impsize".
In this case, FM was used as XML editor, so that there is no need to
translate all these attributes. The r/w-rule only says:
element "Graphic" {
is fm graphic element;
}
You would have to add either "impsize" attributes or "dpi" values.
I do not think this could be done by a r/w-rule.
Best regards -- Tino H. Haida, Berlin
Rick Quatro:
Hi All,
I have a structured application that imports EPS images into the
document. I have a couple of read/write rules for sizing the
anchored
frame:
attribute "width" is fm property width; attribute "height" is fm
property height;
Here is the xml markup:
<img file="C:\images\65150003.eps" width="522pt" height="610pt"/>
When I import this into FrameMaker, I get the correct sizing on the
anchored frame. However, the EPS does not get scaled at all. Is
there
a Read/Write rule or some other way to proportionately scale the EPS
to fit the anchored frame?
I can do it with a script, but I don't want to miss a better way.
Thanks.
Rick
Rick Quatro
Carmen Publishing Inc.
rick at frameexpert.com
585-366-4017
_______________________________________________
This message is from the Framers mailing list
Send messages to framers at lists.frameusers.com Visit the list's
homepage at [1]http://www.frameusers.com Archives located at
[2]http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
[3]http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com
_______________________________________________
This message is from the Framers mailing list
Send messages to framers at lists.frameusers.com Visit the list's
homepage at
[4]http://www.frameusers.com Archives located at
[5]http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
[6]http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com
_______________________________________________
This message is from the Framers mailing list
Send messages to framers at lists.frameusers.com
Visit the list's homepage at [7]http://www.frameusers.com
Archives located at
[8]http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
[9]http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com
--
Urszula Witherell | JetSet Communications, Inc.
Adobe Certified Expert in Adobe InDesign, Adobe Acrobat, Adobe
FrameMaker
Certified Technical Trainer (CompTIA)
cell: 301.524.3165 www.jetsetcom.net | www.trainingonsite.com
References
1. http://www.frameusers.com/
2. http://www.mail-archive.com/framers%40lists.frameusers.com/
3. http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
4. http://www.frameusers.com/
5. http://www.mail-archive.com/framers%40lists.frameusers.com/
6. http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
7. http://www.frameusers.com/
8. http://www.mail-archive.com/framers%40lists.frameusers.com/
9. http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
More information about the Framers
mailing list