-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Extracting picture data for raster images found in PPTX (#349)
* Added picture data for pptx pictures Signed-off-by: Maksym Lysak <[email protected]> * Added tests for pptx Signed-off-by: Maksym Lysak <[email protected]> * Inferring image DPI from pptx file Signed-off-by: Maksym Lysak <[email protected]> --------- Signed-off-by: Maksym Lysak <[email protected]> Co-authored-by: Maksym Lysak <[email protected]>
- Loading branch information
1 parent
7dbdbde
commit 7a97d71
Showing
9 changed files
with
2,467 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
tests/data/groundtruth/docling_v2/powerpoint_sample.pptx.itxt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
item-0 at level 0: unspecified: group _root_ | ||
item-1 at level 1: chapter: group slide-0 | ||
item-2 at level 2: title: Test Table Slide | ||
item-3 at level 2: paragraph: With footnote | ||
item-4 at level 2: table with [9x7] | ||
item-5 at level 1: chapter: group slide-1 | ||
item-6 at level 2: title: Second slide title | ||
item-7 at level 2: paragraph: Let’s introduce a list | ||
item-8 at level 2: paragraph: With foo | ||
item-9 at level 2: paragraph: Bar | ||
item-10 at level 2: paragraph: And baz things | ||
item-11 at level 2: paragraph: A rectangle shape with this text inside. | ||
item-12 at level 1: chapter: group slide-2 | ||
item-13 at level 2: ordered_list: group list | ||
item-14 at level 3: list_item: List item4 | ||
item-15 at level 3: list_item: List item5 | ||
item-16 at level 3: list_item: List item6 | ||
item-17 at level 2: list: group list | ||
item-18 at level 3: list_item: I1 | ||
item-19 at level 3: list_item: I2 | ||
item-20 at level 3: list_item: I3 | ||
item-21 at level 3: list_item: I4 | ||
item-22 at level 2: paragraph: Some info: | ||
item-23 at level 2: list: group list | ||
item-24 at level 3: list_item: Item A | ||
item-25 at level 3: list_item: Item B | ||
item-26 at level 2: paragraph: Maybe a list? | ||
item-27 at level 2: ordered_list: group list | ||
item-28 at level 3: list_item: List1 | ||
item-29 at level 3: list_item: List2 | ||
item-30 at level 3: list_item: List3 | ||
item-31 at level 2: list: group list | ||
item-32 at level 3: list_item: l1 | ||
item-33 at level 3: list_item: l2 | ||
item-34 at level 3: list_item: l3 |
Oops, something went wrong.