# Example Output PDFs

This directory contains pre-generated PDF examples demonstrating all features of RenderReport.

## Generated Examples

### 📄 simple_report.pdf (10 KB)
Basic report with standard components.

**Generated by:** `cargo run --example simple_report`

**Contents:**
- Title and subtitle
- ScoreCard component
- Finding component with severity
- SummaryBox with statistics

---

### 📊 seo_audit_report.pdf (44 KB)
Complete SEO audit report with custom theming.

**Generated by:** `cargo run --example seo_audit`

**Contents:**
- Custom theme (blue color scheme)
- Multiple ScoreCards (Performance, SEO, Accessibility, Best Practices)
- Finding components with different severity levels
- AuditTable with structured data
- Section headings
- SummaryBox with key metrics

---

### 🎨 corporate_report.pdf (21 KB)
Report demonstrating corporate branding theme.

**Generated by:** `cargo run --example custom_theme`

**Contents:**
- Corporate color scheme (professional blue)
- Custom fonts (Helvetica)
- Branded color tokens
- ScoreCards, Callout boxes

---

### 🌙 dark_report.pdf (9.6 KB)
Report with dark mode theme.

**Generated by:** `cargo run --example custom_theme`

**Contents:**
- Dark background theme
- High contrast colors
- Optimized for dark mode displays
- Same content as corporate report

---

### 📈 charts_demo.pdf (21 KB)
**Comprehensive chart visualization showcase.**

**Generated by:** `cargo run --example charts_demo`

**Contents:**
- **Bar Charts** - Single and multi-series quarterly data
- **Line Charts** - Trend analysis and performance metrics
- **Pie Charts** - Market share and revenue distribution
- **Area Charts** - Cumulative user growth
- **Scatter Charts** - Customer value correlation
- **Radar Charts** - Multi-dimensional product comparison
- **Sparklines** - Inline mini-charts for quick trends
- **Gauges** - KPI meters (circular, thermometer, horizontal)

**8 chart types demonstrated with real-world data examples!**

---

### 🏷️ barcode_demo.pdf (56 KB)
**Complete barcode generation guide.**

**Generated by:** `cargo run --example barcode_demo`

**Contents:**

**1D Barcodes:**
- Code 128 (universal alphanumeric)
- Code 39 (industrial standard)
- EAN-13 (retail products)
- EAN-8 (compact retail)
- UPC-A (North American retail)
- UPC-E (compressed UPC)
- ITF (shipping containers)
- Codabar (healthcare, libraries)

**2D Barcodes:**
- QR Code (URLs, vCards, WiFi config)
- Data Matrix (compact electronics)
- PDF417 (driver licenses, shipping)

**11 barcode formats with use case descriptions!**

---

### 🧩 new_components_demo.pdf (12 KB)
Simple demonstration of new component system.

**Generated by:** `cargo run --example new_components_demo`

**Contents:**
- Standard components verification
- ScoreCards with different metrics
- SummaryBox statistics
- Section organization

---

## Regenerating Examples

To regenerate all examples:

```bash
# From project root
cargo run --example simple_report
cargo run --example seo_audit
cargo run --example custom_theme
cargo run --example charts_demo
cargo run --example barcode_demo
cargo run --example new_components_demo
```

All PDFs will be generated in this directory (`examples/output/`).

## File Sizes

| Example | Size | Components |
|---------|------|------------|
| simple_report.pdf | 10 KB | 4 components |
| seo_audit_report.pdf | 44 KB | 15+ components |
| corporate_report.pdf | 21 KB | Custom theme |
| dark_report.pdf | 9.6 KB | Dark theme |
| charts_demo.pdf | 21 KB | 8 chart types |
| barcode_demo.pdf | 56 KB | 11 barcode formats |
| new_components_demo.pdf | 12 KB | Standard components |

## View PDFs

Open any PDF with your preferred viewer:
- macOS: `open examples/output/charts_demo.pdf`
- Linux: `xdg-open examples/output/charts_demo.pdf`
- Windows: `start examples/output/charts_demo.pdf`

## Component Showcase

These examples demonstrate:
- ✅ 25 components total (7 standard + 7 advanced + 11 new)
- ✅ Theme customization
- ✅ Chart visualization (8 types)
- ✅ Barcode generation (11 formats)
- ✅ Professional report layouts
- ✅ Real-world use cases

For implementation details, see the corresponding source files in `examples/`.
