[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: "FrameSGML List" <FrameSGML@xxxxxxxxxxx>
From: Dan Emory <danemory@xxxxxxxxxxxx>
Date: Wed, 03 Jul 2002 02:46:11 -0700
Cc: "Free Framers" <framers@xxxxxxxxx>
Sender: owner-framers@xxxxxxxxx
I am attempting to specify read/write rules for importing SGML instances
where the graphic elements have only a file attribute. So, I want to use
the fm property read/write rule to specify the values of the dpi, import,
alignment, and position graphic properties for all graphics. The synopsis
and arguments for that rule shown below are from the 6.0 Developer’s Guide:
---------------------------------------------------
synopsis and contexts
1. fm property prop value is “val";
2. element "gi"{
is fm type ["fmtag"];
fm property prop value is val;.
...}
Arguments
prop A FrameMaker+SGML property. Possible properties are:
• For graphic and equation elements:entity dpi import size
import by reference or copy sideways import angle
horizontal offset vertical offset position
baseline offset near-side offset alignment
cropped floating angle width or height.
--------------------------------------------------
In the case of the “import by reference or copy” property, there are two
possible values, and page 401 of the 6.0 Developer’s Guide states those the
possible values are “reference” and “copy. So, I specify the following
read/write rule:
fm property import by reference or copy value is reference;
But when I do a read/write rules check, the error log declares that
reference is an invalid value.
In the case of the Position and Alignment properties, pages 400 and 401 of
the 6.0 Developer’s Guide list the possible values. One of the listed
values for Position is “run into paragraph”, and one of the listed values
for alignment is “align right”. So, I specify the following two read/write
rules:
fm property position value is run into paragraph;
fm property alignment is align right;
Again I do a read/write rules check, and again the error log declares that
run into paragraph and align right are both invalid values.
If I put quotation marks around the property values (even though quotation
marks are not used in the examples), the read/write rules check OK, but
when I attempt to import an SGML instance containing graphics, the error
log reports that the values for the import by reference or copy, alignment,
and position properties are invalid, resulting in the anchored frame
containing the graphic being centered and below line rather than aligned
right and run into the preceding paragraph.
Can anyone explain what I’m doing wrong?
Or is this another bug?
Or is the Developer's Guide in error, and if so, what are the correct
property values?
====================
| Nullius in Verba |
====================
Dan Emory, Dan Emory & Associates
FrameMaker/FrameMaker+SGML Document Design & Database Publishing
Voice/Fax: 949-722-8971 E-Mail: danemory@primenet.com
177 Riverside Ave., STE F, #1151, Newport Beach, CA 92663
---Subscribe to the "Free Framers" list by sending a message to
majordomo@omsys.com with "subscribe framers" (no quotes) in the body.
** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body. **