Commit Graph

981 Commits

Author SHA1 Message Date
RixarSAP
cbb78a25be
Update zcl_excel_comment.clas.abap 2024-05-03 09:24:56 +02:00
RixarSAP
8a3c325f83
Update src/zcl_excel_comment.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-03 09:23:47 +02:00
RixarSAP
b5e59210b2
Update zcl_excel_writer_2007.clas.abap 2024-05-03 09:23:30 +02:00
RixarSAP
a2fd4227f1
Update zcl_excel_writer_2007.clas.abap 2024-05-03 08:17:21 +02:00
RixarSAP
317cbaffd5
Update zcl_excel_comment.clas.abap renaming
Renaming attributes to better understanding
2024-05-03 08:12:56 +02:00
RixarSAP
45399008a6
Update zcl_excel_writer_2007.clas.abap 2024-05-02 16:12:26 +02:00
RixarSAP
8e6cedc694
Update zcl_excel_comment.clas.abap 2024-05-02 16:11:59 +02:00
RixarSAP
de1aa0b043
Update zcl_excel_comment.clas.abap Reset default width to 2 again
I've changed again the default width to 2. 
I've changed other numbers in the anchor string, and I think work better with width 2 by defautl.

Sorry for these last changes.
2024-05-02 14:31:19 +02:00
RixarSAP
0d38ea51be
Update zcl_excel_comment.clas.abap Change method SET_TEXT 2024-05-02 13:28:10 +02:00
RixarSAP
ca309dded8
Update zcl_excel_comment.clas.abap Default width 2024-05-02 13:20:22 +02:00
RixarSAP
077abd876d
Update src/zcl_excel_writer_2007.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:57:28 +02:00
RixarSAP
2226c31db2
Update zcl_excel_writer_2007.clas.abap 2024-05-02 11:56:56 +02:00
RixarSAP
054af1c789
Update src/zcl_excel_writer_2007.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:55:25 +02:00
RixarSAP
7ec7881fbb
Update src/zcl_excel_comment.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:53:45 +02:00
RixarSAP
56e3de2159
Update src/zcl_excel_comment.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:52:40 +02:00
RixarSAP
f1f1eda971
Update zcl_excel_comment.clas.abap 2024-05-02 11:51:34 +02:00
RixarSAP
59a7b6f42a
Update src/zcl_excel_comment.clas.abap UPPERCASES
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:44:03 +02:00
sandraros
4f39a6c3fc
Update src/zcl_excel_comment.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:33:22 +02:00
sandraros
5a7767d358
Update src/zcl_excel_comment.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:32:51 +02:00
sandraros
9492f8f709
Update src/zcl_excel_comment.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:32:02 +02:00
RixarSAP
91e4151ed6
Update src/zcl_excel_comment.clas.abap - UPPERCASES
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-05-02 11:29:49 +02:00
RixarSAP
92453b9b3d
Update zcl_excel_writer_2007.clas.abap - Size of comments
Modified method CREATE_XL_DRAWING_FOR_COMMENTS to have the possibility to change the size of the comments
2024-05-02 11:15:01 +02:00
RixarSAP
618471e3e7
Update zcl_excel_comment.clas.abap: Add SIZE to comments
New Methods SET_SIZE and GET_SIZE.
New attributes: WIDHT, HEIGHT, DEFAULT_WIDTH, DEFAULT_HEIGHT

The size of the comments will be read in class ZCL_EXCEL_WRITER_2007, method CREATE_XL_DRAWING_FOR_COMMENTS
2024-05-02 11:12:55 +02:00
RixarSAP
d16af94064
Update zcl_excel_comment.clas.abap: Change size of comment
Add methods SET_SIZE and GET_SIZE to add the posibility to change the size of the comments.

These methods modify the new attributes of the class WIDTH and HEIGHT.
These attributes will be read in CREATE_XL_DRAWING_FOR_COMMENTS of class ZCL_EXCEL_WRITER_2007 when the XML of the excel sheet is being gnerated
2024-05-02 11:10:35 +02:00
Domi Bigl
3cb8f883f1
fix hidden compare values (#1208)
set hidden compare values to constants lc_xml_attr_true and lc_xml_attr_true_int ( 'true' and '1' )
2024-04-27 12:14:29 +02:00
Bernd
5cb47b143c
Header/footer images and comments together create wrong file destinations in sheet#.xml.rels (#1201)
* Update zcl_excel_writer_2007.clas.abap

Fix #1214
2024-04-20 18:32:50 +02:00
Bernd
191bf9cf61
Update zcl_excel_writer_2007.clas.locals_imp.abap (#1200)
solves #1113
2024-04-20 12:26:15 +02:00
Kjetil Kilhavn
f9685c981d
Convert fields with date & time value correctly to just date or just time (#1197)
* Convert fields with date 

Ignore decimals when converting to date and ignore integer when converting to time
Fix #1132

* New ip_exact parameter of excel_string_to_date

- I'm not comfortable about changing the logic in `excel_string_to_date`, in case other people have implemented a "-1 day" fix after the call, so I added a parameter `ip_exact` to keep an ascending compatibility.
- I reused the old structure of unit tests to simplify the diff
- fix #1205 (I added this time issue that you fixed, the original issue mentioned only the date issue)

---------

Co-authored-by: sandraros <sandra.rossi@gmail.com>
2024-04-20 09:53:31 +02:00
juancarlosrodriguezf
0f473095e1
Format Date (#1050)
* Fix format date for dd/mm/yyyy
* added new date format DD/MM/YY
* New constant for dd/mm/yyyy instead of changing the existing one to keep the ascending compatibility

---------

Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: Domi Bigl <dominik.bigl@cadaxo.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2024-04-14 10:32:55 +02:00
sandraros
a69258e829
set_table to support table components not DDIC (#1204)
Fix #1166
2024-04-13 15:54:22 +02:00
Aditya Waghmare
35425c3220
CSV Initial External Date (#1190)
* CSV Initial External Date

Added code to set an initial external date other than the value returned by function module 'CONVERT_DATE_TO_EXTERNAL'.

* Default value as public constant

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2024-02-15 15:20:09 +01:00
sandraros
39f92725a0
Update LICENSE Copyright (#1191)
Fix #1153
2024-02-15 11:16:49 +01:00
sandraros
242a3d4e43
Ineffective Set_Namespace_Prefix on DOM document (#1186)
It always return an error but isn't handled → line removed
2024-02-06 20:01:26 +01:00
sandraros
e4f0ca2333
Unused calls/variables about cl_xml_document (#1185) 2024-02-06 15:15:51 +01:00
sandraros
b77b48fd15
Cleanup unused variables in zcl_excel_theme (#1183)
Removing the statement ixml_element->get_attribute( 'xmlns:a' ) is anyway a good thing because getting a namespace attribute this way is not supported by IXML and it is always returning an empty string even if this "attribute" exists.
2024-02-01 17:37:36 +01:00
sandraros
cc8fb819ad
Fix freeze and topLeftCell in reader/writer (#1178)
Fix freeze and topLeftCell in reader/writer

Fix #1175
Adds new methods set_pane_top_left_cell and set_sheetview_top_left_cell to zcl_excel_worksheet
2024-01-31 16:23:15 +01:00
Lars Hvam
1148838a0f
add basic unit test for recursive_struct_to_class (#1124)
* add basic unit test for recursive_struct_to_class

* Update zcl_excel_common.clas.testclasses.abap
2024-01-29 07:21:05 +01:00
Lars Hvam
b4a79ebe6c
start unit testing setup (#872) 2024-01-29 07:18:57 +01:00
sandraros
5f784c8ed6
Fix zoom information in reader and writer (#1177)
Fix #1176
2024-01-19 21:37:06 +01:00
Attila Berencsi
6bb02920df
Address DDIC Issues on BTP ABAP Environment: SAP_BASIS 794 (SAPK-79406INSAPBASIS 0006) (#1169)
* Address DDIC Issues on BTP ABAP Environment.
SAP_BASIS 794 (SAPK-79406INSAPBASIS  0006)

* Move DynPro related DDIC to NOT_CLOUD package

* Remove one langu from DTEL, DOMA 2 see git changes

* Remove non-english translations for copied data elements for cloud

* Package assignment and diff cleanup
Moved from package <root>_NOT_CLOUD to <root>
- ZEXCEL_S_FIELDCATALOG
Moved from package <root> to <root>_NOT_CLOUD:
- ZEXCEL_T_CONVERTER_COL
- ZEXCEL_T_CONVERTER_FCAT
- ZIF_EXCEL_CONVERTER
"No change" (latest abapGit version indicates a Diff but details give message "no diff" - abapGit bug?), let's see if it solves:
- /src/not_cloud/zexcel_component_position.dtel.xml
- /src/not_cloud/zexcel_convexit.doma.xml
- /src/not_cloud/zexcel_convexit.dtel.xml
- /src/not_cloud/zexcel_ddic_flag.doma.xml
- /src/not_cloud/zexcel_disp_text_long.doma.xml
- /src/not_cloud/zexcel_disp_text_long.dtel.xml
- /src/not_cloud/zexcel_disp_text_medium.dtel.xml
- /src/not_cloud/zexcel_disp_text_short.doma.xml
- /src/not_cloud/zexcel_disp_text_short.dtel.xml
- /src/not_cloud/zexcel_screen_display.dtel.xml

---------

Co-authored-by: 04c82057-cb12-4722-bad9-5d002feb93ac <attila.berencsi@gmail.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2024-01-14 14:43:22 +01:00
HuprichTo
92809a41e3
Fix unescape string value when not escpaped (#1160)
* BUGFIX: Skip Input without escaped Character

Some special Values, e.g. "TEST_X" were handled like it was an escaped Character, thats because it was not checked if the second conition, an "_" behind it was there

* Adjust Package Description to its Original

* Remove commented Code

Was there for testing, not needed anymore

* Downport to 7.02

Adjust Method Call to apply 7.02 Syntax

* Fix abaplint Issues

* Fix abaplint Issues (again)

---------

Fix #1122 

Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2024-01-11 17:35:46 +01:00
sandraros
76a39a7819
Make the reader get the Tables (#1159)
Fix #1158
Fix #1168
2023-12-25 16:36:58 +01:00
Lars Hvam
1c2607f655
move ZEXCEL_TR_DOCPROPS_CORE to demos (#1165) 2023-12-24 20:28:06 +01:00
Lars Hvam
a6176d7f17
replace use of REFFIELD (#1154) 2023-11-05 11:21:52 +01:00
Lars Hvam
bcec07b41a
fix syntax warning (#1155) 2023-11-05 11:18:36 +01:00
larsip
c1a20e870b
Convert currency amount to external format (#1147)
Fix #1145

* Convert currency amount to external format
Fetching currency reference field from ALV and use the value from this field convert the value to external format

* Missing field catalog update

* Little changes proposed

* Code best positioned, delete unused declaration
Latest changes proposed by darnoc312
2023-11-04 17:09:11 +01:00
Arno
ccda3a0aa8
read all header/footer (odd/even) elements (#1144)
Previously only the "oddFooter" was read and stored. Read the missing elements as well.
2023-10-29 19:09:30 +01:00
Daniel Wegner
cf8bb2c501
add iv_end_row to convert_to_table (#1148)
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2023-10-29 18:29:51 +01:00
sandraros
d30855345c
XML I18N_LANGS/DD02_TEXTS - ZEXCEL_S_FIELDCATALOG (#1149)
New XML added by abapGit while serializing the DDIC structure ZEXCEL_S_FIELDCATALOG:
  <I18N_LANGS>
    <LANGU>1</LANGU>
    ...
  </I18N_LANGS>
  <DD02_TEXTS>
    <item>
     <DDLANGUAGE>1</DDLANGUAGE>
     <DDTEXT>Fieldcatalog for Table Binding</DDTEXT>
    </item>
    ...
  </DD02_TEXTS>
2023-10-29 18:11:02 +01:00
Lars Hvam
2f970b82a1
abaplint: update msag_consistency rule settings (#1142)
to not require numeric parameters
2023-10-01 17:33:07 +02:00