Skip to content

Conversation

@hostedbygnome
Copy link

The issue is that there's an SDT at the same level as the table row.
Added support for this case.

CTR elements inside CTSdtRun and CTRow elements inside CTSdtRow are processed recursively.

if (o instanceof CTSdtRun) {
XWPFSDT cc = new XWPFSDT((CTSdtRun) o, part);
iruns.add(cc);
if (o instanceof CTSdtRun) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this if - it repeats the same if on the previous line

@pjfanning
Copy link
Member

  • doesn't even compile
  • no tests

@pjfanning pjfanning changed the title Fix Bug 66263 — Add support for SDT row in tables Fix Bug 66263 — Add support for reading SDT row in tables Dec 18, 2025
@pjfanning
Copy link
Member

would it be possible to provide a test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants