Skip to main content
Known Participant
January 12, 2011
Answered

What is the most efficient way to update tables when converting from RTF to FM 9.0?

  • January 12, 2011
  • 2 replies
  • 631 views

Hello again, Framers,

My procedure:

  1. Saved Word doc in .RTF format and opened it in FM 9.0.
  2. Imported all formats from a FM file,
  3. Used a third-party plugin or MIF to replace paragraph styles.
  4. Deleted all left-over Word styles from the Pgf Catalog.

Problem: The doc contains dozens of tables, all of which came in as the unknown table format "Table" (in the Table Designer). In the MIF file I changed all instances of <TblTag `Table'> to <TblTag `DefinitionsTable'> with good results -- except that they are all 6.5" wide and I need them to be the usual width for that table format (5.75").

I click Table > Resize Columns and the "By Scaling to Widths Totalling 5.75" radio button is already selected, so all I have to do is reapply it by clicking the Resize button in that dialog box. The table snaps into the correct size and position, all is beautiful -- except I have to do this same procedure about 9 zillion times. So what I need is a faster way to do the same thing.

Here is the table format in the MIF but it only accounts for two columns (Num 0 and Num 1) -- probably because this table is defined as having two columns. But the tables I brought in from the RTF have three. And oddly, the values for TblColumnWidth for each of those two columns still don't total 5.75.

<TblFormat
   <TblTag `DefinitionsTable'>
   <TblColumn
    <TblColumnNum 0>
    <TblColumnWidth  1.22917">
    <TblColumnH
     <PgfTag `TableHeading'>
   > # end of TblColumnH
    <TblColumnBody
     <PgfTag `FieldName'>
   > # end of TblColumnBody
    <TblColumnF
     <PgfTag `TableHeading'>
   > # end of TblColumnF
  > # end of TblColumn
   <TblColumn
    <TblColumnNum 1>
    <TblColumnWidth  3.30209">

I have to give a presentation tomorrow, part of which concerns conversion from Word to FM and this is a necessary element. I wish I'd seen this problem area a couple of days ago!  Any expertise out there on this subject?

All suggestions gratefully received,

~~Gay

    This topic has been closed for replies.
    Correct answer

    Have you looked at Rick Quatro's TableCleaner, at http://www.frameexpert.com/plugins/tablecleaner/index.htm

    As you've found, the problem with MIF-bopping tables is that the settings are not all stored in the table instance, so it can be challenging to be sure that the settings you're looking at in other areas are indeed affecting the "target" table some other place. Keeping the table ID numbers straight is key <been there, done that, remember the bruises>

    MIFBrowser is an essential (it works perfectly with FM9 MIF):

    MIFBrowser Wideman

    2 replies

    Inspiring
    January 13, 2011

    Rick Quatro's TableCleaner is what you need...

    Also, be sure to do a SaveAs MIF from Frame, and then open and save that copy of the file to .FM in order to clean up any hidden character crud from Word.

    And instead of deleting the styles manually, you could use Clean Import plug in (or the demo programs in FrameScript) to purge the catalogs.

    Gay_AlsonAuthor
    Known Participant
    January 13, 2011

    And bless your heart, too, Art!

    You and Sheila made my day with that info -- and since you both mentioned the same solution, it's obvious Rick's plugin is the way to go.

    Many thanks!

    Cheers,

    ~~Gay

    Correct answer
    January 13, 2011

    Have you looked at Rick Quatro's TableCleaner, at http://www.frameexpert.com/plugins/tablecleaner/index.htm

    As you've found, the problem with MIF-bopping tables is that the settings are not all stored in the table instance, so it can be challenging to be sure that the settings you're looking at in other areas are indeed affecting the "target" table some other place. Keeping the table ID numbers straight is key <been there, done that, remember the bruises>

    MIFBrowser is an essential (it works perfectly with FM9 MIF):

    MIFBrowser Wideman

    Gay_AlsonAuthor
    Known Participant
    January 13, 2011

    Bless your heart, Sheila!

    I was thinking my post must have been incoherent since no one responded

    I'll investigate the plugin; it isn't outrageously priced, so I'm hopeful.

    Really nice of you to take your time to pass along that info and I appreciate it!

    Cheers,

    ~~Gay