GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(core): add neutral source, heading and trailing-text policy seams by airmang · Pull Request #625 · airmang/python-hwpx

Conversation

@airmang

@airmang airmang commented Oct 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Add public primitives for generic paragraph reading, caller-selected Markdown headings and trailing table-text edits so applications can own document plans and policy.

  • hwpx.tools.doc_diff.paragraph_texts reads documents, paths, text, sequences and paragraphs/text mappings; application plans stay outside this neutral reader. Existing diff/reference APIs retain their plan support without new warnings.
  • export_markdown(heading_detector=...) receives formatted paragraph/cell Markdown, including one-cell-table and namespace/extensionless-ingest paths. Omission preserves the existing default; detect_headings=False disables detection.
  • strip_trailing_table_text(predicate=...) edits only eligible text/runs after the last direct table and before its actual paragraph cache. QName validation and bounded byte spans preserve controls, foreign/cache lookalikes, mixed content, aliases, supported namespace versions and CDATA. Unchanged ZIP payloads remain byte-identical; predicate errors preserve an existing output. The legacy caption helper keeps its exact compatibility behavior.

The selector scales linearly on 500/1,000/2,000-table cache-free inputs. Invalid callbacks use existing structured error types before I/O. The error census stays at its existing limit; the strict module inventory adds the one explicitly owned format helper.

Validation: combined full suite 7,537 passed, 19 skipped, 1 xfailed; 90.41% coverage; independent final review 449 passed, 2 existing skips; mypy, Pyright, Ruff, hygiene and isolated installed-wheel source/heading/caption/legacy/preservation probes pass. Exact-head Python 3.10–3.14 CI passed. This candidate includes the separately reviewed equation, font-width and nested-cell corrections.

Refs #565. This completes additive core prerequisites only. The eight compatibility leak entries remain; automation's published dependency floor and future-major warnings/removal are separate gates. No package publication or future release version is implied.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
airmang added 6 commits October 30, 2026 20:58
@airmang
feat(core): expose neutral paragraph, heading and trailing-text seams
113da7d
@airmang
Merge commit 'd452b00eb03e01912556cd30a09c3776f0eaa6b6' into feat/add…
11004f6
…itive-migration-seams
@airmang
fix(core): use structured seam errors and classify the new format owner
952103f
@airmang
fix(table-patch): isolate nested metadata and refuse unsafe parent fills
23f9b4f
@airmang
Merge remote-tracking branch 'refs/remotes/origin/main' into fix/nest…
daebdcc
…ed-cell-address-624
@airmang
Merge commit 'daebdcc34922c1022af67de755a747fce57fcf76' into feat/add…
cc59240
…itive-migration-seams
@airmang
airmang merged commit 2e50b95 into main Oct 30, 2026
8 of 13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Oct 30, 2026
feat(office): own reference, plan, heading and caption policies airmang/python-hwpx-automation#194
Closed
boundary: 명시된 known-leak 4개 군의 automation 이전 계약과 호환 경로 확정 #565
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@airmang
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.