On Sat, Apr 23, 2011 at 3:22 PM, Andreas Butti <andreasbu...@gmail.com>wrote:
>
> May we can add all function which is needed to poppler, but then poppler is
> a PDF editing library and not only a PDF parser and renderer.
>
> But I thought we can ask the poppler team, what they think.
>
> What I do now:
>
> Take two poppler documents.
>
> Create a new PDF document, add pages from both poppler documents, and I'm
> able to take one page on top of the othet (Xournal contents on top of the
> background) then I add Author etc. information and bookmarks.
>
> If poppler support this we don't need it as library.
>
If poppler's goal is to act as a PDF parser/renderer, and not a PDF editor,
they might not want to expose the functionality you mentioned. Also, it
would probably take them a while to implement the changes that we suggested.
Another option might be to use a dedicated PDF writing library. I'm not sure
how closely integrated poppler is to Xournal++ PDF printing (it seems pretty
tight), but PoDoFo may be an option. It's included in ubuntu, suse, fedora,
gentoo repos, and builds on Windows/OSX. It also has all(?) the
functionality you mentioned and is extremely well documented.
>From the podofo project page:
**snip**
*podofoimpose* - A powerful PDF imposition tool. It places pages from one or
more source PDFs onto pages of a new PDF, applying scaling and positioning.
*podofomerge* - Merges two PDF files into onw.
*podofopdfinfo* - Provides some basic info about a PDF - metadata, page
details, etc.**snip**
We'd be more interested in the actual library, but if the tools can do it,
so can the library.
I think this covers all the stuff you mentioned though, with exception of
bookmarks. I wasn't able to find any information on them directly, but
Podofo supports creating/editing PDF outlines. Is that the same thing?
Would it be possible to use poppler as the PDF parser/renderer and then
podofo for the editing/writing?
>
>
> *BUT*
>
> For now I don't want to change everything, because all is working, and *Ubuntu
> contains all necessary header files*.
>
>
I completely understand. It would be nice to get a stable implementation out
the door, even if it can't get included in other distros for now.
> Fresh installed Ubuntu 11.04. I had to install the poppler header package,
> but this package contains all necessary files.
>
> Andreas
>
On a completely separate note, do you have time to create the files you
mentioned for me to start working on the collaboration functions? I'd like
to start coding if possible. Also, if you could include an SVN branch with
that, I would greatly appreciate that.
I've been using the head revision to annotate a PDF I've been reading. I'll
report back any bugs that I encounter.
Thanks!
Matt
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel