PDF file I/O operations Handles PDF document structure, writing, and file management
Write PDF context to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | filename | |||
| logical, | intent(out), | optional | :: | success | 
Create complete PDF document structure
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | unit | |||
| character(len=*), | intent(in) | :: | filename | |||
| type(pdf_context_core), | intent(inout) | :: | ctx | 
Write string to unit, handling long strings properly
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | unit | |||
| character(len=*), | intent(in) | :: | str | 
Write binary string to unit using exact length (no trimming)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | unit | |||
| character(len=*), | intent(in) | :: | str | |||
| integer, | intent(in) | :: | nbytes |