Article View: adobe.framemaker.sgml
Article #1538Default imported image placement
From: Trevor_Nicholls
Date: Mon, 03 Jul 2006 10:01
Date: Mon, 03 Jul 2006 10:01
14 lines
1886 bytes
1886 bytes
Hi
{FM 7.2 on WinXP, "designing" an XML application}
My DTD/EDD has three graphic elements: <screenshot/>, <img/> and <icon/>. Content rules for higher-level containers impose the constraint that <icon> is the only graphic element that can be inserted within text, while the other graphic elements may be inserted virtually anywhere else.
<screenshot> and elements should be positioned "below" the insertion point, while <icon> elements should be positioned "inline", but with a negative baseline offset. My "rules" file is set up so that when I open an XML source file the graphics appear how and where I want.
Unforunately when I am inserting a new graphic into a document (via File > Import; I can't find any other way to do it) the controls in the rules file are not used. Framemaker uses the context to determine what sort of graphic I must be inserting: thus if I am within a text unit it forces the creation of an <icon> element, while if I am positioned between <paragraph>s it offers me a choice of <image> or <screenshot>. But the <icon> is positioned "below" the insertion point with a zero baseline offset, exactly the same as the other two element types.
How can I default those graphic/frame properties correctly? There doesn't seem to be any way of specifying them in the EDD.
Thanks
Trevor
Technical Details
Message-ID:
<3bc0cb3b.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: fcc08,38473cf8a3ba3baa,start X-Google-Attributes: gidfcc08,public X-Google-Language: ENGLISH,ASCII-7-bit From: Trevor_Nicholls@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Default imported image placement Message-ID: <3bc0cb3b.-1@webcrossing.la2eafNXanI> Date: Mon, 3 Jul 2006 03:01:00 -0700 Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing