• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Conversion table adds empty rows to table

Explorer ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

Hi,

I try to convert a table to structured FrameMaker that contains several paragraphs in a single cell. FrameMaker successfully converts the table but adds empty rows beneath the row containing the cell with multiple paragraphs in it.

The empty rows cannot be removed or changed.

Can anyone help me with this?

Below a screenshot.

Screen Shot 2017-09-01 at 16.12.34.png

Regards, Arnold

TOPICS
Structured

Views

425

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advisor , Sep 01, 2017 Sep 01, 2017

Arnold,

    Does your screen shot show the original unstructured document or the structured document produced with the conversion table?

    I suspect that the fact that there are multiple paragraphs in a cell in the row preceding the mystery rows is irrelevant.

   Note that there are no cells in these rows. My guess is that there are indeed three invisible rows in this table, but that each cell in the row with the multi-paragraph cell straddles all the cells in its column. To confirm, click in one

...

Votes

Translate

Translate
Advisor ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

Yeah .. that's a bit of a bugger. I'd love to hear if someone has a good solution for this (or at least a reasonable explanation).

I will see that sometimes when the table has conditions on rows or cells, or when there are row/cell spans (or even maybe if there were spans that have been merged?). Sometimes it makes sense, and other times I'm at a loss for why it happens. No, you can't delete those via the UI, and if I recall correctly, you can't do it via the API either.

If you're converting to XML, you'll be able to fix it once it's been exported to XML (as long as it doesn't crash on the way out .. which can happen if the model isn't valid .. and this is often a case where the model is invalid). If you're not converting to XML, you typically have to fix this manually by creating a new clean table and copy/pasting the "good" rows into it, then deleting the old table. You might be able to fix it in MIF (export to MIF, clean it up .. if you know what you're doing .. then open the MIF back in FM).

That's all I've got. Other ideas?

Cheers,

...scott

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

Scott,

   You are correct. Conditional rows that are hidden when a document is structured also come across as empty rows when the document is structured. Showing the condition brings back the rows and their cells. The default ROW and CELL tags (which are those that Arnold is using) are applied to these elements. No subelements are created within the cells. If the original document uses conditional text, it is better to show all conditions before structuring it.

          --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

Lynne...

I always show all conditions before applying a conversion table, but do occasionally get these orphan rows. Most of the time it seems to be tied to straddled/unstraddled cells, but sometimes it just doesn't make sense. Usually comes from really old files that seem to have some extra cruft from something that was once there.

Regardless .. it would be nice to be able to delete them.

Cheers,

...scott

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

Scott,

   Does MIF wash make a difference in such cases? If possible, I would appreciate it if you could send me the next file you see with this problem. I'd be happy to sign an NDA.

      --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

I'll spend more time thinking about it the next time I run across this problem. Since I'm typically just converting to XML, I just ignore it and clean up in the XML. Will loop your if it's not resolving in a reasonable way.

...scott

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

Thanks, Scott.

     --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 04, 2017 Sep 04, 2017

Copy link to clipboard

Copied

LATEST

Scott,

Thanks for your reply! Lynnes suggestion that it could be caused by hidden rows was right.

Case solved!

Regards, Arnold

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 01, 2017 Sep 01, 2017

Copy link to clipboard

Copied

Arnold,

    Does your screen shot show the original unstructured document or the structured document produced with the conversion table?

    I suspect that the fact that there are multiple paragraphs in a cell in the row preceding the mystery rows is irrelevant.

   Note that there are no cells in these rows. My guess is that there are indeed three invisible rows in this table, but that each cell in the row with the multi-paragraph cell straddles all the cells in its column. To confirm, click in one of the cells in the row with the multi-paragraph cell and look at the commands on the Table menu. Does it include Straddle or Unstraddle? If Straddle, then my theory is wrong!. If it shows Unstraddle, select that menu item. The empty rows should now show cells in the Structure View and you should be able to delete them.

   --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 04, 2017 Sep 04, 2017

Copy link to clipboard

Copied

Lynne,

Thanks for your quick reply. You were right, there were hidden rows that were not visible in FrameMaker.

After selecting the row above I was able to unstraddle. After the hidden rows became visible I was able to delete them!

Regards, Arnold

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines