[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: Thomas Callan 3337 Analyst_Programmer <thomas@xxxxxxxxxxxxxxxxx>, Free Framers <framers@xxxxxxxxx>
Subject: Re: Table cell straddle
From: "Lynne A. Price" <lprice@xxxxxxxxxxxx>
Date: Thu, 05 Sep 2002 07:48:20 -0700
In-Reply-To: <3D7723A4.89F078ED@ref.collins.co.uk>
Sender: owner-framers@xxxxxxxxx
At 10:28 AM 9/5/02 +0100, Thomas Callan 3337 Analyst_Programmer wrote: >I am importing sgml into Frame and I am looking for a way to get a table >cell to straddle two columns automatically. In the Developer Manual it >mentions horizontal straddle for table cells but doesn't seem to explain >how to do it. Does anyone know if there is a read/write rule, or if I >would have to write an API client, or if it is even possible at all? Thomas, How do you know when a cell straddles two columns? Is there an attribute that indicates when a straddle is desired? There is a r/w rule that supports such attributes provided the attribute value is the number of straddled columns. For example, if you have a rule like: element "cell" { is fm table cell element; attribute straddle is fm property horizontal straddle; } then markup like: <cell straddle="3"> is used to start a cell that straddles 3 columns. Alternatively, you could define an element type that is always used for straddling a particular number of columns. In this model, you'd use a rule such as: element "straddle" { is fm table cell element; fm property horizontal straddle value is "2"; } A third approach is to use the CALS table model. In CALS tables, empty elements called colspec and spanspec give names to individual columns and spanned ranges of columns before the contents of individual cells are specified. An attribute for a particular table entry can then indicate the column or range of columns in which to place the value. --Lynne Lynne A. Price Text Structure Consulting, Inc. Specializing in FrameMaker+SGML consulting and training lprice@txstruct.com http://www.txstruct.com voice/fax: (510) 583-1505 cell phone: (510) 421-2284 ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **