Skip to content

Refactor BodyChild traversal policy - #42

Open
kiki830621 wants to merge 1 commit into
mainfrom
codex/ooxml-body-child-visitor
Open

Refactor BodyChild traversal policy#42
kiki830621 wants to merge 1 commit into
mainfrom
codex/ooxml-body-child-visitor

Conversation

@kiki830621

Copy link
Copy Markdown
Member

Summary

  • Add a shared BodyChildVisitor / BodyChildWalker with explicit recursion policy for table cells, nested tables, and content controls.
  • Migrate DocumentWalker.walkAllParagraphs to the shared walker.
  • Add policy coverage proving tables can be skipped while SDTs still recurse.

Notes

Tests

  • swift test --filter DocumentWalkerTests
  • swift test

Refs #28

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.

1 participant