You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/03/29 14:25:06 UTC

[Bug 54768] New: [PATCH] Modify SheetDataWriter to allow writing spans attribute for each row

https://issues.apache.org/bugzilla/show_bug.cgi?id=54768

            Bug ID: 54768
           Summary: [PATCH] Modify SheetDataWriter to allow writing spans
                    attribute for each row
           Product: POI
           Version: 3.9
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SXSSF
          Assignee: dev@poi.apache.org
          Reporter: coolkulbhushan@gmail.com
    Classification: Unclassified

Created attachment 30118
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30118&action=edit
Modifies SXSSFRow to accept start and end span properties. Also, modifies
SheetDataWriter to write (if present) these properties to row tag.

Currently SXSSFRow does not allow to specify "spans" attribute for a row. Even
though it is an optional attribute but excel uses it for optimization
internally.

The patch allows SXSSFRow to accept start span and end span properties from the
user (optional). If this property is specified SheetDataWriter.writeRow(int
rownum, SXSSFRow row) will add this attribute while writing the row element.

Output:
<row r="8" spans="4:6"> (if spans are specified)
<row r="8"> (if spans are not specified)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 54768] [PATCH] Modify SheetDataWriter to allow writing spans attribute for each row

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54768

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 54768] [PATCH] Modify SheetDataWriter to allow writing spans attribute for each row

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54768

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30118|0                           |1
           is patch|                            |
  Attachment #30118|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 54768] [PATCH] Modify SheetDataWriter to allow writing spans attribute for each row

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54768

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Ideally, before applying this, we would some unit tests to verify it works
correctly. The other concern is that it's SXSSF only, and something like this
should probably be present for both SXSSF and XSSF, so ideally we'd want a
patch that updates it for both

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org