🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #23435

Re: Making a table column conditional

#23435
From: Thomas Michanek
Date: Wed, 27 Nov 2002 08:36
45 lines
3067 bytes
I have answered this topic a few times on the Free Framers mailing list.
Here's a copy of my recent message:

"There is another kludge that might work for you:
1. Set the Left and Right Default Cell Margins to 0 pt (necessary).
2. For each cell in the column (including header/footer rows),
   make the entire cell contents conditional (not the cell itself).
3. Hide the condition.
4. Select the entire column and shrink-wrap it (Esc t w).
The column is now very, very narrow and almost invisible ("hidden").

To "show" (expand) the column:
1. Show the condition. The column will probably NOT expand.
2. Select the entire column. This can be a bit tricky, but place the
   pointer on a horizontal line and Ctrl-double-click.
3. Un-shrinkwrap the column (Esc t w).

It works, but you cannot have any cell margins, and you will get
double column lines for the "hidden" column.

> Some speculation about why Maker doesn't support this... Conditional
> text is actually based on cut/paste. You mark something as conditional,
> and when you hide it Maker scans the doc for the marked text, cuts it,
> replaces it with a goofy marker, then pastes it on a "hidden" page.

This is true, for text elements that are made conditional.
But table *rows* that are made conditional are not moved to the
"hidden" page, they are still stored in the table, with a simple
indicator that the row is in fact conditional. But the row's contents
is stored in the same way as before.

The reason for this, and that a column cannot be made conditional,
is that the internal document model in FM is pretty fixed and hasn't
been changed or rewritten to support new features. New features have
to be implemented using the basic document model and restricted by
its limitations. Tables existed before conditional text (I think),
and since tables are stored row-by-row, it was fairly easy to make
rows conditional. It would probably have taken much more effort,
even rewriting how tables are stored in FM, to support conditional
columns too."


--
/Thomas Michanek, FrameMaker/UNIX/MIF expert
http://go.to/framers/
Technical Details
Message-ID: <3BB4E0E15F56C5B4C67FCB4671F5484A@in.WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!telocity-west!DIRECTV!c02.atl3!news.webusenet.com!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6c061.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd315,62cfc716b6fcaec6
X-Google-Attributes: gidfd315,public
X-Google-ArrivalTime: 2002-11-27 01:09:11 PST
From: "Thomas Michanek" <thomas.michanek@telia.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!telocity-west!DIRECTV!c02.atl3!news.webusenet.com!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.framemaker
Subject: Re: Making a table column conditional
Message-ID: <3BB4E0E15F56C5B4C67FCB4671F5484A@in.WebX.la2eafNXanI>
Date: Wed, 27 Nov 2002 00:36:52 -0800
References: <1de6c061.-1@WebX.la2eafNXanI>
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit