Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Make a basic Objects Package #165

Merged
merged 7 commits into from
Feb 14, 2018

Conversation

rototor
Copy link
Contributor

@rototor rototor commented Jan 4, 2018

@danfickle This is not yet meant to be merged. I just got a problem where I could use your help.

See here:
featuredocumentation.pdf

It tries to add a background-PDF by placing a special object into topleft corner. But for what ever reason the object in the topleft corner is only painted on the first page. No idea why...

To run this just execute the FreeMarkerGeneratorTest.

Any idea what could be causing this?

began a freemarker based documentation of the features.
# Conflicts:
#	openhtmltopdf-examples/src/main/java/com/openhtmltopdf/testcases/TestcaseRunner.java
#	pom.xml
the content, but rather just extends the PDF contents array and places
the background page as first content.
@rototor
Copy link
Contributor Author

rototor commented Feb 13, 2018

I've got the problem fixed with the pdf-background. The documentation needs future work but it's at least a start.
featuredocumentation.pdf

The pdf-background feature allows to implement watermarks etc. using a PDF document. I.e. to apply CI backgrounds etc.

This PDF is written into openhtmltopdf-examples/target/tetst/freemarker directory by the FreeMarkerGeneratorTest.

It still shows some problems e.g. the rotated "FEATURE DOCUMENTATION" on the left side is only on the first page. I assume the that transform in the margin area is still broken on multiple pages. Or maybe it may get fixed by #171 - i did not test that yet. (i.e. I did not merge both branches together).

@danfickle danfickle merged commit 55bab5f into danfickle:open-dev-v1 Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants