integration of functional elements
Python CI / test (push) Successful in 6m46s

This commit is contained in:
2025-11-08 10:17:01 +01:00
parent ea93681aaf
commit 39622c7dd7
11 changed files with 1082 additions and 25 deletions
+9
View File
@@ -28,6 +28,7 @@ PyWebLayout is a Python library for HTML-like layout and rendering to paginated
- ↔️ **Text Alignment** - Left, center, right, and justified text
- 📖 **Rich Content** - Headings, paragraphs, bold, italic, and more
- 📊 **Table Rendering** - Full HTML table support with headers, borders, and styling
- 🔘 **Interactive Elements** - Buttons, forms, and links with callback support
### Architecture
- **Abstract/Concrete Separation** - Clean separation between content structure and rendering
@@ -111,6 +112,13 @@ The library supports various page layouts and configurations:
<em>HTML tables with headers and styling</em>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<b>Interactive Elements</b><br>
<img src="docs/images/example_06_functional_elements.png" width="300" alt="Interactive Elements"><br>
<em>Buttons, forms, and callback binding</em>
</td>
</tr>
</table>
## Examples
@@ -123,6 +131,7 @@ The `examples/` directory contains working demonstrations:
- **[03_page_layouts.py](examples/03_page_layouts.py)** - Different page configurations
- **[04_table_rendering.py](examples/04_table_rendering.py)** - HTML table rendering with styling
- **[05_table_with_images.py](examples/05_table_with_images.py)** - Tables with embedded images
- **[06_functional_elements_demo.py](examples/06_functional_elements_demo.py)** - Interactive buttons and forms with callbacks
### Advanced Examples
- **[html_multipage_simple.py](examples/html_multipage_simple.py)** - Multi-page HTML rendering