neolord0 / hwplib

hwp library for java
Apache License 2.0
451 stars 142 forks source link

Abnormal behavior when table have too many rows #256

Closed NguyenDuy-Tien closed 5 months ago

NguyenDuy-Tien commented 5 months ago

I am working with your hwplib library and facing an abnormal: Some characters are inserted at the 5620th row as in the image image The yellow-highligted characters are auto-added at that row, they seem to be not the normal text.

I am quite sure this is not the problem by my data, since when I set the data at that row to be blank, the weird characters are still there

NguyenDuy-Tien commented 5 months ago

I have been investigating your code for 3 days and still not figured out why this happen. If you suspect something that cause this issue, please inform me. Thank you for your support and the cool library.

neolord0 commented 5 months ago

hello. Looking at the picture above, It seems that the paragraph shape property has been set for the paragraph in 5260th row. Check the paraShapeID property in the Paragraph object.

For more detailed questions, you must purchase a technical support license.

NguyenDuy-Tien commented 5 months ago

It really DID work. The issue was caused by some abnormality of the paraShapeID, I guess that maybe due to number overflow.

Thank you for your support