[Bug 69555] exception not ignored on getCellWidth

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69555 PJ Fanning changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from PJ Fanning

[Bug 69554] Docx is invalid after reading a run attribute

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69554 PJ Fanning changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #2 from PJ Fanning

[Bug 69554] Docx is invalid after reading a run attribute

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69554 Jérôme SAINT-YVES changed: What|Removed |Added OS||All --- Comment #1 from Jérôme SAI

[Bug 69555] New: exception not ignored on getCellWidth

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69555 Bug ID: 69555 Summary: exception not ignored on getCellWidth Product: POI Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal

[Bug 69554] New: Docx is invalid after reading a run attribute

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69554 Bug ID: 69554 Summary: Docx is invalid after reading a run attribute Product: POI Version: 5.2.3-FINAL Hardware: PC Status: NEW Severity: normal Priority: P2

[Bug 69554] Docx is invalid after reading a run attribute

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69554 --- Comment #4 from PJ Fanning --- I added r1923440. It doesn't seem to break any tests. -- You are receiving this mail because: You are the assignee for the bug. - To unsubs

Build failed in Jenkins: POI » POI-DSL-1.8 #1200

2025-01-29 Thread Apache Jenkins Server
See Changes: [PJ Fanning] [bug-69555] need to work around inability to create a TextLayout in another place (caused by missing fonts most likely) [PJ Fanning] fix create issue in getUnderline --

Build failed in Jenkins: POI » POI-DSL-1.17 #815

2025-01-29 Thread Apache Jenkins Server
See Changes: [PJ Fanning] [bug-69555] need to work around inability to create a TextLayout in another place (caused by missing fonts most likely) [PJ Fanning] fix create issue in getUnderline --

[Bug 69555] exception not ignored on getCellWidth

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69555 --- Comment #5 from hsn9...@gmail.com --- (In reply to PJ Fanning from comment #3) > What value would you return here if we caught the exception and tried to > deal with it? i would return something like: final var angle = Math.cos(style.getR

[Bug 69554] Docx is invalid after reading a run attribute

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69554 --- Comment #3 from PJ Fanning --- `CTRPr pr = getRunProperties(create)` could return null. so the next lines will need to change because they assume pr is not null. -- You are receiving this mail because: You are the assignee for the bug. -

[Bug 69555] exception not ignored on getCellWidth

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69555 --- Comment #3 from PJ Fanning --- I don't know what the getCellWidth call can do if TextLayout fails. ``` private static double getCellWidth(float defaultCharWidth, int colspan, CellStyle style, double minWidth, AttributedString s

[Bug 69554] Docx is invalid after reading a run attribute

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69554 --- Comment #5 from Jérôme SAINT-YVES --- Thanks, the change fixes the test case. But I have a more complex case that leads to an invalid document. When I use one of these methods: run.getEmphasisMark(); run.getTextHighlightColor() run.getVe

[Bug 69555] exception not ignored on getCellWidth

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69555 --- Comment #2 from hsn9...@gmail.com --- sorry, (In reply to PJ Fanning from comment #1) > org.apache.poi.ss.util.SheetUtil#canComputeColumnWidth(Font) > > If you have a non-null font, why would you expect TextLayout creation to > fail? sorry

[Bug 69555] exception not ignored on getCellWidth

2025-01-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69555 --- Comment #4 from PJ Fanning --- I added r1923445 as a first attempt at this. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-