Sample of the Week:
Special Bonus Edition
Talkeetna, Alaska is at the confluence of three rivers, the Susitna, Chulitna and Talkeetna. The Talkeetna townsite was established in 1919 and is a great destination if you’re into “flightseeing”, rafting, mountain biking, hiking, and camping. Talkeetna is a 2.5 hour drive from Anchorage and if that sounds suspiciously like the fictional town of Cicely, there’s a reason.
But why am I telling you this?
Talkeetna is also the name of a new module built on top of the Datalogics PDF Java Toolkit designed to simplify creating PDF files programmatically. Talkeetna is not a PDF converter; it won’t convert source files like Word or PowerPoint to PDF… that’s what Acrobat is for. Instead, Talkeetna is ideal for developers who need to create text based PDF files from scratch who don’t know, don’t care to know, or just simply would rather avoid dealing with the internals of the PDF file specification, and the mysteries of font embedding, word wrap, and page breaks. Talkeetna takes care of all of that for you. In fact, Talkeetna was designed so that developers with no PDF experience can leverage their existing knowledge of HTML and CSS to easily create PDF files in just a few lines of code.
The Gist above is about as simple as you can get, but under the hood there are a lot of things happening. Of course, you can define your own page margins but if you don’t, Talkeetna will default to one inch on all sides. You can also define a font, font size, and font style… but if you don’t Talkeetna will default to Times 12 point. For that matter, Talkeetna will create reasonable defaults for any of it’s text flow elements that have an HTML corollary… which means that if you write code that does nothing but add a bunch of paragraphs to the LayoutEngine, it will come out looking good… but it will also be well structured PDF.
Talkeetna is included in the Datalogics PDF Java Toolkit so when you evaluate or license the toolkit, you get Talkeena. There’s a lot that Talkeetna can do today but we’re very interested in hearing where you want us to take it? What’s more important to you? Inline images with text wrapping? Multi-column layouts? Tables?
Leave a comment and let us know.