Issue 113200 - OpenOffice.org doesn´t recognize rowspan property from tables of RTF files
Summary: OpenOffice.org doesn´t recognize rowspan property from tables of RTF files
Status: UNCONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 15:52 UTC by gbpacheco
Modified: 2017-05-20 10:45 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
OpenOffice.org doesn´t recognize rowspan property from tables of RTF files - example file (7.07 KB, text/rtf)
2010-07-16 15:54 UTC, gbpacheco
no flags Details
Sample .rtf file that contains a rowspan. Rowspan does not appear when opened. (22.76 KB, text/richtext)
2014-09-03 01:34 UTC, Richard DeVenezia
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description gbpacheco 2010-07-16 15:52:59 UTC
Hi!

 First, open the issue attachment RTF file. Then, run this code in Basic:

  Sub ManTable()
      oTable = ThisComponent.TextTables(0)
      For i = 0 to oTable.getRows.getCount() - 1 
          For n = 0 to oTable.getColumns.getCount() - 1 
              oCell = oTable.getCellByPosition(n,i)
              MsgBox "Cell: " & oCell.String & "   Rowspan:" & oCell.Rowspan
          Next n    
      Next i         
  end sub

 The rowspan property of the B2 cell shows 1, instead 2. If you save this RTF
file in ODT format and re-execute the code, the rowspan continues showing 1.

 However, in other cases like:
 - if you create an ODT file with the same table struct or;
 - if you open a DOC file with the same table struct;
 the rowspan property shows 2. 

 This problem is an RTF import error or a RTF file limitation?

 Thanks!
 Gustavo Pacheco
Comment 1 gbpacheco 2010-07-16 15:54:09 UTC
Created attachment 70659 [details]
OpenOffice.org doesn´t recognize rowspan property from tables of RTF files - example file
Comment 2 jsc 2010-07-16 16:12:44 UTC
jsc -> os: is it you or somebody else who works on RTF?
Comment 3 gbpacheco 2010-08-03 15:03:51 UTC
gbpacheco -> os: is there any news about this issue?  Thanks!
Comment 4 Richard DeVenezia 2014-09-03 01:34:02 UTC
Created attachment 83917 [details]
Sample .rtf file that contains a rowspan.  Rowspan does not appear when opened.

In the document, under the letters A, J and R the cells should be merged together.  When swriter displays the document what should be merged is displayed as regular empty non-merged cells.

Using version 4.1.1 on Windows 7 Pro
Comment 5 Marcus 2017-05-20 10:45:25 UTC
Reset the assignee to the default "issues@openoffice.apache.org".