Nominally invisible paragraph after an inner table at the end of a cell

Beantwortet Nominally invisible paragraph after an inner table at the end of a cell

  • Donnerstag, 10. Mai 2012 17:50
     
     

    Hi all;

    When the contents of a cell are a table, Word places an empty paragraph after the table at the end of the cell. I think this is because you must have a </p> before a </tc>. But that leaves the question - how do I figure out if that following paragraph is a Word inserted don't show paragraph vs. the user put a blank paragraph after the table?

    thanks - dave


    Who will win The International Collegiate Programming Championships?

Alle Antworten

  • Donnerstag, 10. Mai 2012 20:43
    Moderator
     
     

    Hi David,

    Thank you for your question.  A colleague will be in contact to investigate this issue.

    Regards,

    Mark Miller | Open Specifications Support Team

  • Freitag, 11. Mai 2012 17:30
     
     
    You cannot tell the difference - a paragraph is a paragraph is a paragraph.
     
    I don't believe the empty paragraph is necessary but Word does put one there if you _paste_ a table inside a cell. Since pasting is a UI action done by the user, you should be able to assume that the user is aware of, and wants, the paragraph, however it materialised.
     

    Enjoy,
    Tony
    www.WordArticles.com
  • Freitag, 11. Mai 2012 17:56
     
     

    Hi Tony;

    That's what I thought at first. However you cannot delete it in Word and if you go to document.xml and delete it you get an error that </p> must precede </tc>. And it auto-hides but with no hide setting.

    So something special is going on...

    thanks - dave


    Who will win The International Collegiate Programming Championships?

  • Mittwoch, 16. Mai 2012 16:49
    Moderator
     
     

    Hi David,

    It seems this question is not entirely resolved.  I will investigate and follow up if you agree.

    Regards,

    Mark Miller | Open Specifications Support Team

  • Mittwoch, 16. Mai 2012 17:04
     
     

    I Agree, I Agree :)

    Yes, please find out when the paragraph is hidden.

    thanks - dave


    Who will win The International Collegiate Programming Championships?

  • Mittwoch, 23. Mai 2012 17:46
    Moderator
     
     Beantwortet

    Hi David,

    There always should be a <p/> inside a table cell and there is no way to distinguish between a user inserted <p/> and Word inserted one.  However, the Word inserted one is always empty with no text, and this is a Word implementation requirement.  For example, one <p> is the Word-required <p>, any more are from the user.  There will be a change in the implementer notes to reflect this information.

    I hope this answers your question.

    Regards,

    Mark Miller | Open Specifications Support Team

  • Sonntag, 27. Mai 2012 20:18