mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-09 13:18:24 +00:00
feat: Extracting picture data for raster images found in PPTX (#349)
* Added picture data for pptx pictures Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> * Added tests for pptx Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> * Inferring image DPI from pptx file Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> --------- Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> Co-authored-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
50
tests/data/groundtruth/docling_v2/powerpoint_sample.pptx.md
Normal file
50
tests/data/groundtruth/docling_v2/powerpoint_sample.pptx.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# Test Table Slide
|
||||
|
||||
With footnote
|
||||
|
||||
| | Class1 | Class1 | Class1 | Class2 | Class2 | Class2 |
|
||||
|----|-----------------|-----------------|----------|----------|----------|----------|
|
||||
| | A merged with B | A merged with B | C | A | B | C |
|
||||
| R1 | True | False | | False | True | True |
|
||||
| R2 | | | True | False | | |
|
||||
| R3 | False | | | | False | |
|
||||
| R3 | | True | | True | | |
|
||||
| R4 | | | False | | False | |
|
||||
| R4 | | True | | True | False | False |
|
||||
| R4 | True | False | True | False | True | False |
|
||||
|
||||
# Second slide title
|
||||
|
||||
Let’s introduce a list
|
||||
|
||||
With foo
|
||||
|
||||
Bar
|
||||
|
||||
And baz things
|
||||
|
||||
A rectangle shape with this text inside.
|
||||
|
||||
1. List item4
|
||||
2. List item5
|
||||
3. List item6
|
||||
|
||||
- I1
|
||||
- I2
|
||||
- I3
|
||||
- I4
|
||||
|
||||
Some info:
|
||||
|
||||
- Item A
|
||||
- Item B
|
||||
|
||||
Maybe a list?
|
||||
|
||||
1. List1
|
||||
2. List2
|
||||
3. List3
|
||||
|
||||
- l1
|
||||
- l2
|
||||
- l3
|
||||
Reference in New Issue
Block a user