mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 16:46:11 +08:00
Extended report ZDEMO_EXCEL8 to check the #151 correction
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@304 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
This commit is contained in:
parent
4ea14eee0e
commit
d39c4c26fd
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-2"?>
|
||||
<PROG NAME="ZDEMO_EXCEL8" VARCL="X" SUBC="1" CNAM="FEMIA" CDAT="20100713" UNAM="K2_SCHMOECK" UDAT="20120324" VERN="000038" RSTAT="T" RMAND="001" RLOAD="E" FIXPT="X" SDATE="20120324" STIME="111822" IDATE="20120324" ITIME="111822" UCCHECK="X">
|
||||
<?xml version="1.0" encoding="utf-16"?>
|
||||
<PROG NAME="ZDEMO_EXCEL8" VARCL="X" SUBC="1" CNAM="FEMIA" CDAT="20100713" UNAM="DEVELOPER" UDAT="20120317" VERN="000042" RSTAT="T" RMAND="001" RLOAD="E" FIXPT="X" SDATE="20120317" STIME="090232" IDATE="20120317" ITIME="090232" UCCHECK="X">
|
||||
<textPool>
|
||||
<language SPRAS="E">
|
||||
<textElement ID="R" ENTRY="abap2xlsx Demo: Define a range" LENGTH="31 "/>
|
||||
|
@ -49,6 +49,19 @@ START-OF-SELECTION.
|
|||
lo_worksheet->set_cell( ip_row = 7 ip_column = 'C' ip_value = 'Ananas' ).
|
||||
lo_worksheet->set_cell( ip_row = 8 ip_column = 'C' ip_value = 'Grapes' ).
|
||||
|
||||
" Define another Range with a name longer than 40 characters that
|
||||
" tests the fix of issue #151 Ranges can be only up to 40 chars
|
||||
|
||||
lo_range = lo_excel->add_new_range( ).
|
||||
lo_range->name = 'A_range_with_a_name_that_is_longer_than_40_characters'.
|
||||
lo_range->set_value( ip_sheet_name = lv_title
|
||||
ip_start_column = 'D'
|
||||
ip_start_row = 4
|
||||
ip_stop_column = 'D'
|
||||
ip_stop_row = 5 ).
|
||||
lo_worksheet->set_cell( ip_row = 4 ip_column = 'D' ip_value = 'Range Value 1' ).
|
||||
lo_worksheet->set_cell( ip_row = 5 ip_column = 'D' ip_value = 'Range Value 2' ).
|
||||
|
||||
|
||||
*** Create output
|
||||
lcl_output=>output( lo_excel ).</source>
|
||||
|
|
Loading…
Reference in New Issue
Block a user