Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
423afc0
Added XSD Schema
asadalikhan90 Jun 12, 2018
3e266d3
Added new examples for 18.5
asadalikhan90 Jun 19, 2018
52b63a0
Added new Examples
asadalikhan90 Jul 22, 2018
a17c1f8
PDF to XLSX Conversion
asadalikhan90 Jul 22, 2018
95383e3
An error fixed
farhan-raza Jul 22, 2018
78d2b0d
File Updated
farhan-raza Aug 24, 2018
0c4db97
Added New Examples
asadalikhan90 Sep 23, 2018
19d2c97
Added 18.9 Examples
asadalikhan90 Oct 7, 2018
fd5acca
Updated pom.xml
farhan-raza Nov 23, 2018
3a52415
Updated Aspose Repository URL
asadalikhan90 Dec 26, 2018
ade553d
Updated for 18.12 version
farhan-raza Jan 7, 2019
5dfd2d9
Examples Added for Version 19.2
aliahmedaspose Mar 11, 2019
3ba4cf1
Gists Renamed
aliahmedaspose Mar 11, 2019
025179b
Merge pull request #35 from aliahmedaspose/master
aliahmedaspose Mar 12, 2019
61101ca
Updated pom.xml
asadalikhan90 Mar 26, 2019
b69f862
Examples Updated for Version 19.3
aliahmedaspose Apr 8, 2019
d5012d8
Merge pull request #36 from aliahmedaspose/master
aliahmedaspose Apr 8, 2019
75d7d3f
Examples updated for version 19.4
aliahmedaspose May 14, 2019
b35fac6
Merge pull request #37 from aliahmedaspose/master
aliahmedaspose May 14, 2019
fa495ca
Examples Updated for Version 19.5
aliahmedaspose Jun 26, 2019
1fc78aa
Updated API for Version 19.6
aliahmedaspose Jul 3, 2019
4178381
Added Examples
aliahmedaspose Aug 1, 2019
b79ea9c
Added Examples
aliahmedaspose Aug 7, 2019
599dea6
Update README.md
aliahmedaspose Aug 16, 2019
24b9512
Update Aspose.Pdf.xsd
aliahmedaspose Aug 16, 2019
d1245db
Merge branch 'master' of https://github.com/aspose-pdf/Aspose.PDF-for…
aliahmedaspose Aug 16, 2019
521c232
Update pom.xml
aliahmedaspose Sep 5, 2019
734609b
Updates for Aspose.PDF for Java 19.9 Release
kashifiqb Sep 30, 2019
f2a58ef
Merge pull request #39 from kashifiqb/master
kashifiqb Sep 30, 2019
50f0448
Updated README.md for guidance about running the examples
kashifiqb Oct 9, 2019
449eee1
Merge pull request #40 from kashifiqb/master
kashifiqb Oct 9, 2019
2efc4b0
Updated code samples for OptimizePDFFileSize related features
kashifiqb Oct 19, 2019
ea51d99
Merge pull request #41 from kashifiqb/master
kashifiqb Oct 19, 2019
069118a
Examples update for Aspose.PDF for Java 19.10 Release
Nov 4, 2019
f8d0a0c
Merge pull request #42 from kashifiqb/master
kashifiqb Nov 4, 2019
e17d860
Examples update for Aspose.PDF for Java 19.11 Release
Nov 29, 2019
b1cd715
Examples updated to Aspose.PDF for Java 19.12 Release
Dec 24, 2019
5172c64
Examples update for Aspose.PDF for Java 20.1
kashifiqb Jan 27, 2020
b9ca4e2
Examples update for Aspose.PDF for Java 20.2
kashifiqb Feb 21, 2020
a24119c
added workflow, added Docs
valeriy-ten-aspose Aug 11, 2020
401daa0
updated Docs
valeriy-ten-aspose Aug 11, 2020
84e61a8
updated Docs, updated workflow
valeriy-ten-aspose Aug 11, 2020
0ab84ce
Merge pull request #45 from aspose-pdf/develop
ValeriyTen Aug 11, 2020
28a179b
updated Docs
valeriy-ten-aspose Aug 11, 2020
4b0408b
udpdated Docs
valeriy-ten-aspose Aug 11, 2020
3a0e378
Updated Doc links.
saudaspose Aug 13, 2020
5b39b69
Review and update release notes 2017- 2020 and add 20-7, 20-5, 20-6.
AnHolub Aug 14, 2020
53d0d99
Minor fix
AnHolub Aug 14, 2020
7f751b4
Restored missing release notes
Aug 15, 2020
ab665de
Fix bugs, update release notes 2016-2019
AnHolub Aug 17, 2020
f00e81e
Merge branch 'master' into develop
AnHolub Aug 17, 2020
ce8fd92
Added release notes for Aspose.PDF for Java 20.8
kashifiqb Aug 19, 2020
651d1ab
Added content as per the Standard Template.
saudaspose Aug 21, 2020
c6718f3
deleted Docs, workflow
valeriy-ten-aspose Sep 6, 2020
5619428
Updated Examples for version 20.10
muhammadumargroupdocs Oct 27, 2020
0f1f3cc
Fixed Eclipse plugin install issues
ali-salman Nov 2, 2020
8d0bb1b
Merge branch 'master' of https://github.com/aspose-pdf/Aspose.PDF-for…
ali-salman Nov 2, 2020
99fed7b
Update README.md
rizwanniazigroupdocs Feb 10, 2021
d0ee7f4
uncommented the code page.accept(selector);
asadalikhan90 Feb 15, 2021
38e33f8
Bump commons-io from 2.5 to 2.7 in /Examples
dependabot[bot] Apr 26, 2021
0e4ec18
Update README.md
farooqsheikhpk Jun 23, 2021
5582ae9
- update examples for aspose-pdf-22.5
marat-khazin-aspose Jun 6, 2022
4189e16
normalize code
marat-khazin-aspose Jun 6, 2022
6bb409e
Merge pull request #53 from aspose-pdf/actualize-code-for-version-22.5
marat-khazin-aspose Jun 7, 2022
dcd5ab5
Merge pull request #49 from aspose-pdf/dependabot/maven/Examples/comm…
marat-khazin-aspose Jun 7, 2022
4af8b74
optimize examples
marat-khazin-aspose Jun 7, 2022
2348439
Merge pull request #54 from aspose-pdf/actualize-code-for-version-22.5
marat-khazin-aspose Jun 7, 2022
271bdef
Fix compile time errors.
marat-khazin-aspose Jan 16, 2023
b6de4ff
Fix example for ReplaceOnlyFirstOccurrenceOfThePhrase
marat-khazin-aspose Jan 16, 2023
a76d404
update testdata file
marat-khazin-aspose Jan 26, 2023
b3548f3
Update LICENSE
andreynekrasov0911 Feb 14, 2025
9de845b
Fix examples in AddingJavaScriptDOM class
marat-khazin-aspose Aug 26, 2025
1ae3e7e
Rid off old stuff
andruhovski May 18, 2026
7b7af28
Update README for JDK 21 LTS
andruhovski May 18, 2026
f40dd0e
Add scripts to run all examples in PowerShell and Bash
andruhovski May 18, 2026
a37835f
Add documentation for Java examples conventions, category creation, a…
andruhovski May 18, 2026
f5a915e
Add sample data for examples
andruhovski May 26, 2026
e7a057c
Add new examples for text rotation, text search, tooltips, and vector…
andruhovski May 26, 2026
c4fc58f
Add documentation style guidelines, update README maintenance instruc…
andruhovski May 26, 2026
642934e
Fix typos and improve clarity in README documentation
andruhovski May 26, 2026
f7567fc
Update Graph constructor calls to use double values for width and height
andruhovski May 26, 2026
05f8b53
Refactor FormEditor instantiation to use bindPdf method for input and…
andruhovski May 26, 2026
668bc84
Update .java-version to require JDK 25 and enhance AGENTS.md with gui…
andruhovski May 26, 2026
15d80ce
Add CreateDocumentExamples class with methods for creating and runnin…
andruhovski May 27, 2026
95515cb
Refactor examples to use try-with-resources for Document management
andruhovski May 27, 2026
1b60fa0
Refactor PdfViewerExamples to use bindPdf method for file handling
andruhovski May 27, 2026
74cc298
Refactor examples to use try-with-resources for Document management
andruhovski May 27, 2026
56cc0b9
Refactor PdfFileSignatureExamples and SecuringAndSigningExamples to u…
andruhovski May 27, 2026
2b139fe
Updated annotation examples
andruhovski Jun 2, 2026
b9208f4
Remove obsolete generated files
andruhovski Jun 16, 2026
4b2cf33
Add JSP files and logo for Aspose.Pdf Struts Example Book Store App
andruhovski Jun 16, 2026
1f4a709
Update README and refactor code for improved clarity and functionality
andruhovski Jun 16, 2026
78c323a
Add Aspose.Pdf.xsd schema
andruhovski Jun 16, 2026
48b60e5
Remove jython and php plugin modules
andruhovski Jun 16, 2026
5e6fb86
Update README to remove Jython and PHP sections
andruhovski Jun 16, 2026
1dc99ea
Merge pull request #66 from aspose-pdf/examples-new
andruhovski Jun 16, 2026
ee8d9b1
Refactor PDF conversion examples to use try-with-resources for better…
andruhovski Jun 16, 2026
27bdead
Merge pull request #67 from aspose-pdf/codex/enhance-examples
andruhovski Jun 16, 2026
b236149
Migrate project to Struts 2 and Jakarta EE
andruhovski Jun 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .factorypath

This file was deleted.

35 changes: 35 additions & 0 deletions .github/instructions/docs-style.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
description: "Use when editing Markdown documentation to keep structure, tone, and links consistent across project docs."
name: "Docs Markdown Style"
applyTo: "{README.md,docs/**/*.md}"
---
# Docs Markdown Style

## Scope and Priority

- Treat this as a cross-doc style baseline.
- When editing [README.md](../../README.md), also follow [readme-maintenance.instructions.md](./readme-maintenance.instructions.md) for technical accuracy.

## Structure

- Keep heading hierarchy sequential (`##` after `#`, avoid skipping levels).
- Prefer short, scannable sections with clear titles.
- Use tables only when they improve comparison; otherwise prefer bullet lists.

## Writing Style

- Keep language concise, factual, and task-oriented.
- Avoid marketing-heavy rewrites unless explicitly requested.
- Preserve existing terminology for product, package, and feature names.

## Links and Examples

- Prefer repository-relative links for local files and stable canonical links for external docs.
- Keep code snippets short and directly relevant to the section.
- When possible, point to runnable examples in `examples/documentation/src/main/java/com/aspose/pdf/examples` instead of embedding long snippets.

## Safe Editing Boundaries

- Avoid broad formatting-only rewrites that hide meaningful diffs.
- Keep changes scoped to the requested doc area.
- Do not change support or legal links unless explicitly requested.
47 changes: 47 additions & 0 deletions .github/instructions/java-examples.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
description: "Use when creating or modifying Java example classes for Aspose.PDF examples, including runners, category orchestration, file path usage, and sample-data folder alignment."
name: "Java Examples Conventions"
applyTo: "examples/documentation/src/main/java/com/aspose/pdf/examples/**/*.java"
---
# Java Examples Conventions

## Follow Existing Structure

- Keep classes in package paths under examples/documentation/src/main/java/com/aspose/pdf/examples.
- Use final utility-style classes with a private constructor for example groups.
- Keep the category runner pattern:
- runAllExamples(String licensePath)
- main(String[] args)

## Required Runtime Flow

1. Resolve or pass through license path with ExampleConfig.
2. Call ExampleConfig.setLicense(licensePath).
3. Initialize category data directories with ExampleConfig.initializeDataDir("category_name").
4. Wrap each example operation with ExampleRunner.run("Operation name", () -> ...).

## File and Data Path Rules

- Use java.nio.file.Path for local file handling.
- Convert to String only where Aspose APIs require it.
- Keep sample-data category names aligned with code intent:
- examples/documentation/sample-data/<category>/input
- examples/documentation/sample-data/<category>/output

## Resource Safety

- Always close com.aspose.pdf.Document instances.
- Prefer try-with-resources where possible; otherwise use try/finally.

## Agent Guardrails

- Keep examples small and runnable as standalone methods.
- Do not add new frameworks or dependencies unless the task explicitly requires it.
- Preserve existing console output style used by ExampleRunner.
- If adding a new category runner, ensure examples/documentation/tools/run-all-examples scripts are updated when appropriate.

## References

- [AGENTS.md](../../AGENTS.md)
- [ExampleConfig.java](../../examples/documentation/src/main/java/com/aspose/pdf/examples/ExampleConfig.java)
- [ExampleRunner.java](../../examples/documentation/src/main/java/com/aspose/pdf/examples/ExampleRunner.java)
26 changes: 26 additions & 0 deletions .github/instructions/readme-maintenance.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
description: "Use when editing the repository README to keep technical claims and quick-start guidance aligned with the codebase."
name: "README Maintenance Conventions"
applyTo: "README.md"
---
# README Maintenance Conventions

## Accuracy First

- Verify version statements against [pom.xml](../../pom.xml) before updating text.
- Prefer repository-truth commands (`mvn clean compile`, runner commands, and scripts in [examples/documentation/tools](../../examples/documentation/tools)).
- If a statement conflicts with source-of-truth files, update the README to match code and build configuration.

## Keep Documentation Lean

- Link to canonical references instead of duplicating long instructions:
- [Aspose.PDF Java Docs](https://docs.aspose.com/pdf/java/)
- [API Reference](https://apireference.aspose.com/pdf/java)
- [AGENTS.md](../../AGENTS.md)
- Keep examples concise and representative; avoid large code blocks unless requested.

## Consistency Rules

- Keep naming and paths consistent with repository layout (for example `examples/documentation/src/main/java/com/aspose/pdf/examples` and `examples/documentation/sample-data`).
- Preserve existing support/product links unless the task explicitly asks for link changes.
- Use Markdown tables and headings with the existing README style; avoid unrelated formatting rewrites.
40 changes: 40 additions & 0 deletions .github/prompts/add-example-category.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
description: "Create a new Aspose.PDF Java example category with package, runner class, operation stubs, sample-data folders, and optional script registration. Use when adding a new feature area."
name: "Add Example Category"
argument-hint: "Category package name + sample-data folder name + operation list"
agent: "agent"
---
Create a new example category in this repository.

Input format:
- category package name: lower-case package segment, for example workingwithforms
- sample-data folder name: snake_case folder, for example working_with_forms
- optional operation names: comma-separated, for example CreateFormExample, FillFormExample
- optional register-runner: yes or no

Tasks:
1. Inspect existing patterns in:
- [AGENTS.md](../../AGENTS.md)
- [ExampleConfig.java](../../examples/documentation/src/main/java/com/aspose/pdf/examples/ExampleConfig.java)
- [ExampleRunner.java](../../examples/documentation/src/main/java/com/aspose/pdf/examples/ExampleRunner.java)
- [BasicOperationsExamples.java](../../examples/documentation/src/main/java/com/aspose/pdf/examples/basicoperations/BasicOperationsExamples.java)
2. Create package folder under examples/documentation/src/main/java/com/aspose/pdf/examples/<category package name>.
3. Create a category runner class named in PascalCase with Examples suffix.
4. Add operation example classes (if provided), each with:
- static example methods
- runAllExamples(String licensePath)
- main(String[] args)
5. Ensure runner and operation classes use:
- ExampleConfig.setLicense
- ExampleConfig.initializeDataDir("<sample-data folder name>")
- ExampleRunner.run for each operation
6. Create sample-data directories:
- examples/documentation/sample-data/<sample-data folder name>/input
- examples/documentation/sample-data/<sample-data folder name>/output
7. If register-runner is yes, add the new runner to examples/documentation/tools scripts that execute all runners.
8. Run a compile check and report any failures.

Output:
- List of created or modified files
- Any assumptions made
- Follow-up actions needed for missing input sample PDFs
25 changes: 25 additions & 0 deletions .github/prompts/update-readme.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
description: "Audit and update README.md for technical accuracy and command consistency with this repository. Use when asked to refresh, fix, or modernize README content."
name: "Update README"
argument-hint: "Scope of changes, for example: Java version section, quick-start commands, or links"
agent: "agent"
---
Update [README.md](../../README.md) with the requested scope while keeping the document aligned with repository truth.

Tasks:
1. Read and compare:
- [README.md](../../README.md)
- [pom.xml](../../pom.xml)
- [examples/documentation/pom.xml](../../examples/documentation/pom.xml)
- [AGENTS.md](../../AGENTS.md)
- [examples/documentation/tools/run-all-examples.ps1](../../examples/documentation/tools/run-all-examples.ps1)
- [examples/documentation/tools/run-all-examples.sh](../../examples/documentation/tools/run-all-examples.sh)
2. Correct outdated technical claims (versions, commands, paths) to match current files.
3. Preserve existing README structure and product messaging unless the prompt explicitly asks for restructuring.
4. Prefer links to canonical docs over long embedded explanations.
5. Keep edits focused to the requested scope and avoid unrelated rewrites.

Output:
- Summary of what changed
- Any assumptions made
- Follow-up items that need repository maintainer confirmation
58 changes: 58 additions & 0 deletions .github/skills/example-validation/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
name: example-validation
description: 'Validate Aspose.PDF Java example changes by compiling, running example runners, and checking expected output files. Use when editing example classes, adding new categories, or reviewing regressions.'
argument-hint: 'Runner class, license path, expected output files'
user-invocable: true
---
# Example Validation Workflow

Use this skill after changing Java examples to confirm they still compile and produce expected output files.

## When to Use

- After modifying files in examples/documentation/src/main/java/com/aspose/pdf/examples
- After adding a new category runner or operation class
- Before opening a PR for examples changes

## Inputs

- Runner class (optional): fully qualified class name, for example com.aspose.pdf.examples.basicoperations.BasicOperationsExamples
- License path (optional): absolute path to Aspose.PDF license file
- Expected outputs (optional): output filenames relative to examples/documentation/sample-data/<category>/output

## Procedure

1. Confirm Java toolchain and compile:
- mvn -f examples/documentation/pom.xml clean compile
2. Run the selected runner if provided:
- cd examples/documentation
- mvn -DskipTests exec:java "-Dexec.mainClass=<runner class>"
3. If no runner is provided, run the repository-wide script:
- Windows PowerShell:
- examples/documentation/tools/run-all-examples.ps1
- examples/documentation/tools/run-all-examples.ps1 -LicensePath "<license path>"
- Bash:
- examples/documentation/tools/run-all-examples.sh
- examples/documentation/tools/run-all-examples.sh --license <license path>
4. Check output artifacts:
- Verify expected files exist under examples/documentation/sample-data/<category>/output
- Flag missing files and list them explicitly
5. Summarize validation status:
- compile: pass or fail
- run: pass or fail
- outputs: pass or fail
- blockers and next actions

## Validation Notes

- JDK 25 or newer is required; builds fail on older versions.
- If no license is provided, examples may run in evaluation mode.
- initializeDataDir creates directories automatically, so missing folders alone do not prove success.

## References

- [AGENTS.md](../../../AGENTS.md)
- [pom.xml](../../../pom.xml)
- [examples/documentation/pom.xml](../../../examples/documentation/pom.xml)
- [run-all-examples.ps1](../../../examples/documentation/tools/run-all-examples.ps1)
- [run-all-examples.sh](../../../examples/documentation/tools/run-all-examples.sh)
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ Out/
Out*/
*.lic
Data/*Out*
*out*
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
25
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
86 changes: 86 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# AGENTS.md

This file helps AI coding agents work effectively in this repository.

## Scope and Goal

- Repository type: Java Maven examples and plugin integrations for Aspose.PDF.
- Primary goal: add and maintain runnable documentation example code under `examples/documentation/src/main/java/com/aspose/pdf/examples` and matching sample data under `examples/documentation/sample-data`.
- Plugin integrations live under `plugins/<plugin-name>` and should keep plugin-specific code, sample data, tools, and README content isolated.

## Environment and Build

- Required Java version: JDK 25 or newer (enforced by Maven Enforcer in `examples/documentation/pom.xml`).
- Build all Maven modules from the repository root: `mvn clean compile`.
- Build documentation examples only: `mvn -f examples/documentation/pom.xml clean compile`.
- Run one example runner:
- `cd examples/documentation`
- `mvn -DskipTests exec:java "-Dexec.mainClass=com.aspose.pdf.examples.basicoperations.BasicOperationsExamples"`
- Run all registered runners:
- PowerShell: `examples/documentation/tools/run-all-examples.ps1 [-LicensePath "C:\path\Aspose.PDF.lic"] [-StopOnFailure]`
- Bash: `examples/documentation/tools/run-all-examples.sh [--license /path/Aspose.PDF.lic] [--stop-on-failure]`

## License Handling

- License can be provided in this precedence order (see `ExampleConfig`):
- CLI argument: `--license=/path/to/Aspose.PDF.lic`
- JVM property: `-Daspose.pdf.license=/path/to/Aspose.PDF.lic`
- Environment variable: `ASPOSE_PDF_LICENSE`
- If no license is provided, examples still run but may operate in evaluation mode.

## Code Layout and Patterns

- Shared helpers:
- `ExampleConfig`: license resolution + sample-data directory initialization.
- `ExampleDataDirs`: input/output path helper.
- `ExampleRunner`: wraps examples and logs success/failure per operation.
- Current implemented category: `basicoperations`.
- Naming convention:
- Category runner class: `XxxExamples` with `runAllExamples(String licensePath)` and `main(String[] args)`.
- Operation classes follow the same `*Examples` suffix.
- When adding a new category runner, register its fully qualified main class in both `examples/documentation/tools/run-all-examples.ps1` (`$exampleClasses`) and `examples/documentation/tools/run-all-examples.sh` (`EXAMPLE_CLASSES`); unregistered runners will not be executed by the run-all scripts.
- Typical flow inside `runAllExamples`:
1. `ExampleConfig.setLicense(licensePath)`
2. `ExampleConfig.initializeDataDir("category_name")`
3. `ExampleRunner.run("Operation name", () -> ...)` per operation

## Data Directory Convention

- Keep source and sample-data category names aligned:
- Java package: `...examples.<categorypackage>`
- Sample data folder: `examples/documentation/sample-data/<category_folder>/input` and `examples/documentation/sample-data/<category_folder>/output`
- `initializeDataDir` creates missing directories automatically.

## Editing Guidance for Agents

- Keep examples simple, runnable, and focused on one feature each.
- Prefer `Path` (`java.nio.file.Path`) for file paths and convert to string only at Aspose API boundaries.
- Always close `Document` objects (try-with-resources or try/finally).
- Preserve existing output logging style (`Success:` / `Failed:`) via `ExampleRunner`.
- Do not add heavyweight frameworks; keep dependencies minimal and Maven-based.

## README Update Guidance

- For `README.md` changes, keep runtime/version claims synchronized with `pom.xml` (for example Java and dependency versions).
- Keep quick-start commands runnable and aligned with repository scripts in `examples/documentation/tools/`.
- Prefer linking to canonical docs (`docs.aspose.com`, API reference, and repository files) instead of duplicating long procedural content.
- Preserve existing product positioning and support/resource links unless the task explicitly requests branding or navigation changes.
- If README examples are changed, prefer short snippets and point to runnable examples under `examples/documentation/src/main/java/com/aspose/pdf/examples`.

## Known Pitfalls

- JDK older than 25 will fail build due to the enforcer rule.
- Many category directories are placeholders; treat a category as a placeholder only when `examples/documentation/src/main/java/com/aspose/pdf/examples/<category>` contains no `.java` files, and check for file presence before assuming examples already exist there.
- Input files are assumed to exist in `examples/documentation/sample-data/<category>/input`; add missing sample files when introducing new examples.
- Before submitting, verify that every input path referenced by new example code has a corresponding committed file under `examples/documentation/sample-data/<category>/input`. If a sample file is generated programmatically instead, document that in the example's Javadoc.

## Useful References

- Project overview: [README.md](README.md)
- Build/tooling: [pom.xml](pom.xml), [examples/documentation/pom.xml](examples/documentation/pom.xml)
- Scripted execution: [examples/documentation/tools/run-all-examples.ps1](examples/documentation/tools/run-all-examples.ps1), [examples/documentation/tools/run-all-examples.sh](examples/documentation/tools/run-all-examples.sh)
- Docs style instruction: [.github/instructions/docs-style.instructions.md](.github/instructions/docs-style.instructions.md)
- README-focused instruction: [.github/instructions/readme-maintenance.instructions.md](.github/instructions/readme-maintenance.instructions.md)
- README-focused prompt: [.github/prompts/update-readme.prompt.md](.github/prompts/update-readme.prompt.md)
- Aspose docs: <https://docs.aspose.com/pdf/java/>
- API reference: <https://apireference.aspose.com/pdf/java>
Binary file removed Examples/PathToDirDetermineLineBreak_out.pdf
Binary file not shown.
13 changes: 0 additions & 13 deletions Examples/README.md

This file was deleted.

Loading