Skip to main content
Inspiring
Nov 3, 2021 6:50 PM UTC
Question

Using Graphics as a table title and cell object

I am trying to build tables that act as objest so that I can insert them at will and not have to build it every time I need to insert one into  a document the attached image is what I am trying to acomplish. I tried creating an object or a reference frame but would really like to make a table so that cell 2 expands as the text is typed into the cell

 

This topic is closed to new replies. Start a new post to keep the conversation going.

15 replies

Barb Binder
Community Expert
Community Expert
Nov 4, 2021 2:13 PM UTC

Yes to both questions, Dustin.

 

You can define a new para style for the table title—assuming other "normal" tables are already using TableTitle with text—and assign a frame above paragraph to reference the desired graphic. 

 

The graphic alignment of both graphics will be dependent on the paragraph alignment. Just set them both to center. 

 

~Barb

Translate
~Barb at Rocky Mountain Training
LinSims
Community Expert
Community Expert
Nov 4, 2021 12:42 PM UTC

Lots of good answers here, so I'll just append this as a thought-to-have. I use the Auto-Text plugin from Silicon Prairie for this sort of thing. It lets you set up a separate FM document with text (formatted & unformatted), graphics, anchored frames, and predefined tables and gives you a menu item to use to insert them. Very useful, and only $10.

Translate
frameexpert
Community Expert
Community Expert
Nov 4, 2021 1:18 PM UTC

I agree with Lin. Auto-Text is a very useful plugin for insertion of boilerplate content. I have used it on past projects. I am a scripter but firmly in the "why reinvent the wheel?" camp.

Translate
www.frameexpert.com
Dave Creamer of IDEAS
Community Expert
Community Expert
Nov 4, 2021 12:54 AM UTC

Table styles can "remember" what paragraph styles are used in them, so with a little setup, you can get this upon inserting the table:

With text added. (I didn't know if the WEEE text was part of the Notice table or not.)

I've attached the file for your reference (along with other samples I've used).

I couldn't upload the .fm or .mif file. Message me and I'll send you the file.

Translate
David Creamer: Community Expert (ACI and ACE 1995-2023)
Bob_Niland
Community Expert
Community Expert
Nov 3, 2021 10:35 PM UTC

There's no reason why you can't define a customer Table type with default ¶TableTitle or ¶CellHeading that uses the FrameAbove feature to pull in the ISO/ANSI admonishment art from a Reference Page. FA from RP is how I used to do it in an FM7 production environment. Perhaps as a 3-column table with the larger right narrative column as a Straddle.

 

But, if only because FA only does Above or Below, I'd be tempted to look at using FM's background color feature, or table cell fill, to do it as an Autonumber (with no further text) these days. For WARNING & DANGER, use \u26a0 (⚠) as well.

Translate
Barb Binder
Community Expert
Community Expert
Nov 3, 2021 10:33 PM UTC

Hi Dustin:

 

In addition to using a text inset, you could build the table on the reference page and just copy/paste it to a body page and then update the content. 

 

Or, you could also create the first table, using Frame above Paragraph for the title and stub cell to add the graphic. This post is similar to what you need, but you also need to reference a graphic in the title: https://www.rockymountaintraining.com/adobe-framemaker-icons/

 

When you give this table a unique table style name and update it, you can add new tables with the same style in that document and Fm will copy the table structure automatically.

 

~Barb

Translate
~Barb at Rocky Mountain Training
Inspiring
Nov 4, 2021 1:35 PM UTC

Barb, 

Reading through your linked article and I was wondering if tyou know of any way to make the table title an image? The rest of this article is perfect for what we are trying to acomplish thank you. 

Translate
Inspiring
Nov 4, 2021 2:03 PM UTC

Additionally is there a way with the method you reccomended to center the image in a straddled cell? I put the image "Frame Above Pgf" but it aligns it to the left. If there is a way to make that centered then this would solve my problem. 

 

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Nov 3, 2021 7:57 PM UTC

AFAIK you just create a new FM doc with your table in it & save it off with some meaningful name. Then when you want to use it in another doc, you just insert the file as a text inset.

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Nov 3, 2021 7:02 PM UTC

What about creating it as a separate document and using it as a text inset?

Translate
Inspiring
Nov 3, 2021 7:14 PM UTC

I am not sure how that works, but I am certainly open to suggestions. Could you give me a run down of how that would be set up and implemented?

 

Translate