Skip to content

fix(view): add range-mode pages support for clipped screenshots - #288

Open
IoannisMaras wants to merge 2 commits into
iOfficeAI:mainfrom
IoannisMaras:fix/range-mode-pages
Open

fix(view): add range-mode pages support for clipped screenshots#288
IoannisMaras wants to merge 2 commits into
iOfficeAI:mainfrom
IoannisMaras:fix/range-mode-pages

Conversation

@IoannisMaras

Copy link
Copy Markdown

Summary

  • add a new --range-mode option for screenshot clipping
  • support range-mode=pages so clipped screenshots include the full containing page(s) rather than only the tight element box
  • validate the new option in CLI, batch view, and resident-server paths

Why

This closes the logic gap where --range would crop to the element bounding box even when the caller wanted the whole page(s) containing that element.

Verification

  • built the OfficeCLI project successfully with dotnet build src/officecli/officecli.csproj -c Release

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