Implements the slide_deck document profile for PowerPoint/Keynote/Google Slides exports as PDF. Includes 5 fixtures, expected outputs, and regression tests. Components: - profiles/builtin/slide_deck/profile.yaml - Profile configuration - tests/fixtures/profiles/slide_deck/ - 5 PDF fixtures with expected outputs - crates/pdftract-cli/tests/test_slide_deck.rs - Regression tests (12 PASS) Fixtures cover: 1. pitch_deck - Sales pitch (10 slides) 2. academic_lecture - Academic lecture (40 slides) 3. corporate_kickoff - Corporate kickoff (15 slides) 4. bilingual_deck - Bilingual EN/ES (12 slides) 5. googleslides_handout - Google Slides handout mode (4 pages, 3 slides/page) Extracted fields: title, presenter, date, slide_titles Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
31 lines
805 B
JSON
31 lines
805 B
JSON
{
|
|
"metadata": {
|
|
"document_type": "slide_deck",
|
|
"document_type_confidence": 0.85,
|
|
"document_type_reasons": [
|
|
"page count 10 in range [3, 200]",
|
|
"font diversity 3 in range [2, 10]",
|
|
"text contains 'slides' (1 hits)",
|
|
"text contains 'presentation' (1 hits)"
|
|
],
|
|
"profile_name": "slide_deck",
|
|
"profile_version": "1.0.0",
|
|
"profile_fields": {
|
|
"title": "Q3 2024 Product Roadmap",
|
|
"presenter": "Jane Smith, VP Product",
|
|
"date": null,
|
|
"slide_titles": [
|
|
"Q3 2024 Product Roadmap",
|
|
"Agenda",
|
|
"Market Overview",
|
|
"Product Vision",
|
|
"Key Features",
|
|
"Technical Architecture",
|
|
"Go-to-Market Strategy",
|
|
"Pricing & Packaging",
|
|
"Next Steps",
|
|
"Q&A"
|
|
]
|
|
}
|
|
}
|
|
}
|