it.stefanochizzolini.clown.samples |
|
Java Source File Name | Type | Comment |
BookmarksParsingSample.java | Class | This sample demonstrates how to inspect the bookmarks of a PDF document. |
ComplexTypesettingSample.java | Class | This sample demonstrates how to create a new document populating it with various
graphics elements.
Remarks
This implementation features an enlightening example of an embryonic typesetter
that exploits the new typographic primitives defined in PDF Clown (see BlockFilter
class in use); this is just a humble experiment -- anybody could develop a typesetter
sitting upon PDF Clown!
Anyway, PDF Clown currently lacks support for content flow composition (i.e. |
HelloWorldSample.java | Class | This sample is a minimalist introduction to the use of PDF Clown.
Remarks
Skimming through its source code you may appreciate the BIG simplification that has been
introduced with the current version (0.0.5): PDF Clown keeps unaltered its powerful facilities
for fine-grained access to the PDF domain, introducing at the same time a bunch of shortcuts
that automate routine tasks and ease users' experience. |
ImageExtractionSample.java | Class | This sample demonstrates how to extract XObject images from a PDF file. |
InlineObjectSample.java | Class | This sample demonstrates how to embed an image object within a content stream. |
ISample.java | Interface | Sample interface. |
MergeSample.java | Class | This sample demonstrates how to concatenate a document to another. |
PageCoordinatesSample.java | Class | This sample shows the effects of the manipulation of the CTM (Current Transformation Matrix),
that is the logical device which affects the page coordinate system used to place graphics contents
onto the canvas. |
PageFormatSample.java | Class | This sample generates a series of pages from the default page formats available,
both in size and orientation. |
PageNumberingSample.java | Class | This sample demonstrates how to stamp the page number on alternated corners of an existing
document's pages. |
PagesManipulationSample.java | Class | This sample demonstrates how to manipulate the pages collection within a document, to perform
movements, additions, removals and extractions of groups of pages. |
PageStampSample.java | Class | This sample demonstrates how to simply insert (stamp) new contents on an existing document. |
PageToFormSample.java | Class | This sample demonstrates how to reuse a page as a form (precisely: form XObject [PDF:1.6:4.9]). |
ParsingSample.java | Class | This sample demonstrates how to inspect the structure of a PDF document. |
PDFClownSampleLoader.java | Class | |
PrimitiveSample.java | Class | This sample demonstrates how to perform advanced editing over a PDF document
structure accessing primitive objects. |
SampleHelper.java | Class | |
SampleResources.java | Class | |
SplitSample.java | Class | This sample demonstrates how to split a document into its constituting pages. |
TextExtractionSample.java | Class | This sample is a rough stub that demonstrates a basic way to extract text from
a document.
Remarks
This implementation is definitely simplistic: its purpose is NOT to provide
a real-life solution for PDF text mining; it lacks advanced features such as
character encoding management, glyph position detection, dehyphenation,
page-breaks handling and so on. |
TransformationSample.java | Class | This sample demonstrates how to spacially manipulate an image object. |
TypesettingSample.java | Class | This sample concentrates on proper fitting of styled text within a given page area (block frame), from the beginning of "Alice in Wonderland", Chapter 1 ("Down the Rabbit-Hole"). |
WatermarkSample.java | Class | This sample demonstrates how to insert watermark text into an existing document.
Remarks
This implementation uses a Form XObject [PDF:1.6:4.9] to conveniently achieve a consistent page
background. |