Re: NOT a "How Do I". Query re conditionaling table columns
The problem is that if you have a LOT of rows, it won't work. On Fri, Feb 6, 2015 at 10:15 AM, David Artman wrote: > While we're talking underlying theory/structure: I suspect many tables in > which one wants to conditionalize a column could be refactored so that the > columns were instead rows, which are conditionable. > > Thoughts? > > Yes, theoretically, if you didn't have spanned cells, you could > hide/show the cells that make up a column, but since there is no "column" > object, there's no place to assign that data. You can conditionalize rows, > but cells are a bit of a different beast. > > It would be possible to make a plugin or script that would assign a > condition to the content of all cells in a column, but you'd have to > actually delete the cells that make up that column to "hide" it. > > The closest thing to a column object that you could assign a property to > for this purpose would be the "colspec" element in DITA. But in looking, > that doesn't allow the outputclass attribute (or other likely attributes) > where you'd assign a value that you could check for during some publishing > process to hide/delete that column. > > If I were to want to do this, I'd probably set a marker in the column > header to indicate a hide/show property, then set up some sort of process > during publishing. > > > ___ > > > You are currently subscribed to framers as ljsims...@gmail.com. > > Send list messages to framers@lists.frameusers.com. > > To unsubscribe send a blank email to > framers-unsubscr...@lists.frameusers.com > or visit > http://lists.frameusers.com/mailman/options/framers/ljsims.ml%40gmail.com > > Send administrative questions to listad...@frameusers.com. Visit > http://www.frameusers.com/ for more resources and info. > > -- Lin Sims ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: NOT a "How Do I". Query re conditionaling table columns
While we're talking underlying theory/structure: I suspect many tables in which one wants to conditionalize a column could be refactored so that the columns were instead rows, which are conditionable. Thoughts? Yes, theoretically, if you didn't have spanned cells, you could hide/show the cells that make up a column, but since there is no "column" object, there's no place to assign that data. You can conditionalize rows, but cells are a bit of a different beast.It would be possible to make a plugin or script that would assign a condition to the content of all cells in a column, but you'd have to actually delete the cells that make up that column to "hide" it.The closest thing to a column object that you could assign a property to for this purpose would be the "colspec" element in DITA. But in looking, that doesn't allow the outputclass attribute (or other likely attributes) where you'd assign a value that you could check for during some publishing process to hide/delete that column.If I were to want to do this, I'd probably set a marker in the column header to indicate a hide/show property, then set up some sort of process during publishing. ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: NOT a "How Do I". Query re conditionaling table columns
I think it's basically for the same reason that you can't easily comment out a table column in HTML. Unlike a table row, a column is not a continuous set of elements. It's one set of elements for each row in the table. Implementing column-level conditions would thus be a much larger challenge than row-level conditions. How do you tie the discontinuous elements together so that FrameMaker knows to hide or show them as a group? What should FM do when one condition applies to a column and another to some of its rows? It would be a challenge to implement without leaving open the option for a user to accidentally create an invalid table. On Mon, Feb 2, 2015 at 7:23 AM, Lin Sims wrote: > Playing with Frame12's (yes, we FINALLY got to upgrade) new conditional tag > interface, and something occurred to me that has before but I never got > around to asking. > > WHY can't Frame apply conditional tags to table columns? It's not a feature > I particularly need (although there's been a time or two it would have come > in right handy), but I've been curious about this for a while. I'm guessing > it has something to do with the original internal structure, so I'm hoping > those who have been long time users might have some insight. > > I don't need an answer fast. :) Technically, I don't need an answer at all, > but I'm still curious. ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: NOT a "How Do I". Query re conditionaling table columns
Hi Lin... I think it has to do with the ability to have spanned cells. But also I don't think that you can conditionalize a cell object. You can conditionalize the content within a cell, but you can't just "remove" (hide) a cell in a table. You'd have a hole. Yes, theoretically, if you didn't have spanned cells, you could hide/show the cells that make up a column, but since there is no "column" object, there's no place to assign that data. You can conditionalize rows, but cells are a bit of a different beast. It would be possible to make a plugin or script that would assign a condition to the content of all cells in a column, but you'd have to actually delete the cells that make up that column to "hide" it. The closest thing to a column object that you could assign a property to for this purpose would be the "colspec" element in DITA. But in looking, that doesn't allow the outputclass attribute (or other likely attributes) where you'd assign a value that you could check for during some publishing process to hide/delete that column. If I were to want to do this, I'd probably set a marker in the column header to indicate a hide/show property, then set up some sort of process during publishing. Yeah .. might be a nice feature, but it's fraught with issues. ...scott On 2/2/15 7:23 AM, Lin Sims wrote: Playing with Frame12's (yes, we FINALLY got to upgrade) new conditional tag interface, and something occurred to me that has before but I never got around to asking. WHY can't Frame apply conditional tags to table columns? It's not a feature I particularly need (although there's been a time or two it would have come in right handy), but I've been curious about this for a while. I'm guessing it has something to do with the original internal structure, so I'm hoping those who have been long time users might have some insight. I don't need an answer fast. :) Technically, I don't need an answer at all, but I'm still curious. -- Lin Sims ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
NOT a "How Do I". Query re conditionaling table columns
Playing with Frame12's (yes, we FINALLY got to upgrade) new conditional tag interface, and something occurred to me that has before but I never got around to asking. WHY can't Frame apply conditional tags to table columns? It's not a feature I particularly need (although there's been a time or two it would have come in right handy), but I've been curious about this for a while. I'm guessing it has something to do with the original internal structure, so I'm hoping those who have been long time users might have some insight. I don't need an answer fast. :) Technically, I don't need an answer at all, but I'm still curious. -- Lin Sims ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.