Skip to content

Include slide and notes location in find_in_document results for decks #10

Description

@ilia-sokolov

Problem you're trying to solve

#9 added location to FindHit for Word, so find_in_document and inspect_document now agree about where matched text lives. The same disagreement remains for PowerPoint.

Proposed shape

Thread the paragraph's location into AddHit, mirroring the Word change in #9. Both call sites in PowerPointModule.Find already have paragraph in scope, so the value is paragraph.Location.
For a deck the values are slide and notes.

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions