DevCon 2012: PDF Toolkit Update: New Features & Functionality, Nathan McMinn

DevCon 2012: PDF Toolkit Update: New Features & Functionality, Nathan McMinn


Slides live here: https://devcon.alfresco.com/sanjose/s...

The Alfresco PDF Toolkit is a set of extensions to Alfresco that provide additional functionality for manipulating PDF documents. The PDF Toolkit enables users and developers to take advantage of extra functionality around PDF docs including splitting, merging and inserting extra pages into a document, encrypting content and applying document security, digital signatures and watermarking. Previously this functionality was only available as an action invoked by a content rule. The upcoming release of the toolkit offers a number of new ways to invoke these functions, including a Javascript API.

Session recording sponsored by Blue Fish Group.
Closed Caption:

okay we're good OMF welcome everybody
I've
to the session on the Alfresco PDF tool
kit version 1.0
I just a quick introduction i'm for
those that haven't met yet my name is
Nathan McMahon my work as a technical
consultant with alfresco
I I've been with the company now since
about February and our previous to this
was with a customer for about three or
four years
on a little bit about the PDF toolkit
for those that have already used it
are the office to PDF talk it is a set
of extensions for al fresco that provide
additional functionality around PDF
documents
on the the project goal
is to create the most complete set of
tools for PDF handling and manipulation
available for the Alfresco platform
we've had about four thousand downloads
since launch
I it's fairly popular for open source
community project
on the project team are really consists
of about four people
I G Riley who was with alfresco
consulting actually started the project
back in I think
2010 I joined him shortly thereafter is
a committer
I we've also had Diego who committed
some additional changes in the perch you
gave us when our transformers
I'm just a little bit about the project
history again in January 2010 we did
release of .9
and we presented that at Def Con 2010 in
New York for anybody that might have
been there
I'm around that same time frame is when
I started a
contribute to the project and we added
the watermarking the encryption and the
digital signature actions
I'm the project on the language the
little bit after that so we all got busy
with our
a regular job responsibilities on and
then around September 24 2012
I we actually got ready to launch the
new version this version 10 which added
some new Transformers
and also brought up to speed for
alfresco for I including share
previously we only worked through the
Alfresco Explorer interface none of
these actions were available to share
except for some fairly convoluted
content rule configuration
um much like most alfresco extensions
I we deliver this as to and files are
one for the repository tear
thats deliver just as a standard amp you
can install it using the tools you
already know
and %uh the second one is the share
extensions which is also delivered as an
and file
on we do for more releases every so
often when we have enough new
functionality and bug fixes
huh to make it worth doing but if you're
feeling brave you can always get the
latest code are from the Subversion head
I we don't check anything into head
until it's actually functional
so that branch tends to be pretty stable
but you know
your mileage may vary I on the elf
the PDF toolkit extension consists of a
handful of components so
the perhaps most important and and the
biggest part is are some custom actions
for handling PDF documents and we'll get
into
exactly what actions are available to
talk in what they do in just a moment
we've also got a custom content model
that to find some new
aspects that we use to capture
information about certain PDF related
events
I'm we have some advanced search
functionality are two new Transformers
a new constraint type and then a handful
share user interface enhancements
I as I said earlier the meat above this
project is in the actions so these are
all
repository to your actions that run
against PDF docs
so we can do PDF Split would likely spur
document and a predefined pay general
arm we have split page which will split
into two PDF's
at a defined page we do an insert action
which will insert the content that one
PDF into another
I merge which is basically the
interaction repurposed
to do AR our content merge
on digital signatures which apply PDF
cell using the PDF digital signatures by
fun shouted is built into the document
format encryption
which does out your standard Adobe PDF
encryption
allows us to set passwords for the owner
and four code for consumers in the
document and also PDF watermarking
and in our case a-pdf watermark can be
either text war
an image that's embedded into a pdf doc
is a new layer
I'm the new aspect we've defined %uh the
first one is
PFT signed and this is applied for a
doctor to get signed using the tool kit
so
we're gonna capture the Alfresco user
that executed the action
on the reason the location %uh the
reason we capture this is the view the
alfresco user who signed the document
might not be the same person who
generated the key that was actually used
to sign that Doc so
the person who generated the key is
stored in a digital signature itself but
we also want to know
what alfresco user executed that action
and we also have a
a new aspect for encryption which will
show us which al fresco user encrypt it
and when it was encrypt the reason we
have those new aspects is mostly to
drive search
so what are the requirements that we
came across was people wanted to find
all documents that were signed by a
specific alfresco user
going where we could do that was to
capture that information at the time it
was signed
and then provides me then search
functionality around that um
it's important to note that we don't
really override existing share form so
all the search functionality thats
already available in share remains
available for are these newer then
search types:
I'm encrypted PDF Sui also are are
allow searching on that based on you can
use the did the encryption and the date
that it was a cryptid
in addition to the actions we've also
put into new content transformers
one of these %ah hope kinda fills a hole
in the al fresco product today and the
other one
um was there come or the as an
intellectual exercise but this is still
pretty functional so the first this is a
text to PDF Transformer
this is available for taking a text
document and transforming into a pdf doc
on the works with just your basic text
mime type: so %uh plain text CSV
and XML we also had a tiff to PDF
Transformer and %uh this was actually
this reform is driven by publishing
customer who has a lot of our
to content coming out other creative
department but it all comes out as a to
form and they wanna be with you in bed
this into a PDF and the route that PDF
for some workflow
apply water mark indicating that might
be a draft image for example
so we do a real basic transformation
will take a tip image and convert that
over to a PDF
it's important note at this point this
was just added to 10 release it is very
basic
I we don't do much in the way of %uh
scaling or multi image to have support
but on both those things are
in the %uh version 11 which is slated
for release pretty so
I'm we also had a new constraint type
I'm it's called a map constraint
and this allows us to configure
constraints
on our custom actions I using a map to
find in spring
so for example we look at a PDF
watermark right 10
about where it's going to be applied so
is gonna be applied above the content
the PDF or below
we implemented that is a map constraint
if you wanted to repurpose that class
it's pretty easy to do so
and as you can see in our module context
XML
on first know how to use it what class
that uses
and also a complete list be configured
constraints now in a little bit we're
gonna get into an example of how we
would use
I JavaScript to call wannabees actions
and I'm
to do that you need to know what values
are passing to the action is as a
parameter
and the list 'em ballad values is
configured in those constraints so if
you're using this thing into JavaScript
API context
on looking in module context can be very
low strata
as far share extensions um we did have
to do some
client-side customization is to make
everything work right
in content rules so specifically things
like document folder pickers
on as anybody here developed custom
actions for office go before
a couple okay did you try to use it to
share
well I you notice that when when share
renders
a-arm a repository to your action
renders that action form
if you have been node reference
parameter type by default share gives
you a text box for that
it doesn't actually give you a file
picture to go in and find your file so
what you end up having to do is go
navigate to that file look into your
I'll grab the new reference and a copy
and paste it into the wrong one and
that's not a really friendly way to do
things that we've we've imported a
couple and I
dive jury customizations on to allow for
document folder pictures
%uh in share when you're using the PDF
toolkit
we've also added some content indicators
so sometimes difficult to tell
if a particular piece a content has been
encryptor signed
on the content indicators give you a
kind at a glance view
within the document West to show whether
doctrine has been cryptid or signed
using the tool kit
now it's important to note that that
only works with things that have been
encrypt it or signed using the tortured
because that indicators driven off the
aspect
on and lastly we better document library
actions so
content rules are really really powerful
4 acting on content
when it's added the repository when it's
updated a very location driven right so
you're gonna apply a rule to a folder
and that rule then execute our calls an
action when content within that folder
is modified or updated or deleted
um it's great for handling content
ingestion
or maybe as part of a simple workflow
but if your users are actually to be
calling these things interactively
I there will be more difficult so the
document library actions are there
to take all the actions that the toolkit
provides and make them available
in the dock light and we're gonna go
through a tunnel that you're in a little
bit
I'm just a side note I when it came to
configuring those the form service and
alfresco
is really really cool so demo time
out the first thing that I want to look
through here is I take a look at some
I love a couple world ok look at a
couple the actions on
as used through ok one sec
of
great so we look at a couple other rule
on a couple the actions first
through our content rules and show you
how those work
and then we're gonna take a step back
kinda look at the Alfresco Share
configuration for taking these
these actions making them available
through document library actions
and then we'll do a demo those as well
so I've already got
are some pretty simple rules test setup
here I'm the first 1i want to look at
is %ah the PDF Split action so if we go
and we take a look at the configuration
up you can see but you'll indicator here
there's a content will apply to this
folder
and I'm gonna go to manage rules and
take a look at what
what rules are actually applied so we
can see we have one here to called split
PDF
and if I edit that role will note that
weird
for performing the split PDF action and
this little bit here's one of the things
we had to do a our clients I
customization to make work properly
I'm all the PDF actions are available
here so merge split sign
cetera
and if we go back to our folder was
gonna grab a really simple for this is
the
getting started with share pdf doc we've
added to the document library
and if we look in the split folder we
can see we have one pdf doc now for each
page that was in our source document on
this can be really useful if you have to
do some are
a reordering of pages or document
reassembly another example
is the PDF append functionality so we're
gonna do his words gonna take 1.pdf
doctor we're going to appended to
another
I've seen people use this in the field
when they have to append the signature
page for example they might have a
contract
they've gotten a signature page fax back
by the customer and they want to take
that signature page in the 12 appended
to the actual contract document
so again I on record over the counter
all configuration we just looked at that
it's basically the same
and we'll take our same document you're
getting started with
enterprise share
take a look in the appended folder and
if we look at our merge PDF
murphy's law of general strikes again
like that come
support down take a look
so we got the enterprise release notes
this is the actual document I had
configured as the other parent doc if
you will
and then we scroll all the way down to
the bottom of this will see that we have
our
our share configuration or share
tutorial has been appended to the end
so just a real quick word about the
trouble spots here
I mention this briefly when we got
started that the reconfiguration user
interface and share requires these
client side extensions to render a
specific widget to allow you to do this
file picker functionality
I was a little bit difficult to get that
working arm bytes
you know had to be done on it also gives
us unfortunately very little control
over the reconfiguration for layout so
if you look at this one is kinda
complicated right
this is the the encrypt PDF action which
takes a lot of different parameters so
we're going to things like said the user
password or password said all these
different permissions
on before was functional but it's not
very clear
exactly what's going on here so won the
things I'd love to see happen in
alfresco 14 be the ability to actually
define a foreman share configuration and
used an action evaluator
to use the form service to render this
form instead of actually having to do
with your client side a
a client side extensions I'm one other
thing before we get into the document
library actions
I'm in previous versions of the PDF
talkin actually version 10 as well
I'm when we create a the output file
for one of these actions so you know
when we go in we say about
we we merged in PDF documents or we take
one we encrypt we sign it were actually
creating a brand new node in the
destination folder that's been defined
for the action on inversion 10 its
always have type cm content
so that can actually be a problem if you
define your own custom content type
something so you have a contract type
right that defines the parties are the
expiration date a contract
are you want to preserve all that when
you look when you do wannabes PDF
signature actions
I inversion 11 that's coming out here in
a couple weeks
I within our spring configuration
we've added a new property call create
new and by default that said the truth
that set to true what we do is we we
preserve the current behavior right
we don't wanna break backwards
compatibility for people that are
already using this out there in the
field
I V such that the false it's actually
gonna copy the existing node
including its type any applied aspects
and all its meta-data
I'm so starting from version 11 forward
were actually able to preserve that
information
so take a look here about the the shared
doc what actions
um this is the same actions list that we
have on the repository tear
it's it's all the exact same stuff and
just a note is he really is almost silly
how easy it is to take a custom action
that you've defined in the repository
and make it available as a document
library action in sharing really is just
a very small pieces of our
spring carson sorry other circum- to
configuration
so we define the action I
will tell it where to find its labels so
you know resource file or properties
file
on the two important bits here though
are the function
and the item id: so this function is
basically telling us to take
all the parameters that are defined for
this action and that's retrieved from
the repository
and we're actually to render a form
based on that stuff
and you know huge pleasant surprise
we're getting is ready for a fresco for
are we found that just worked so we
don't customize any reforms this is all
the other box forms
I'm the other things important here is
the item id: so
the item id: is the
ID love the action as defined on the
repository tear
so if you go in there and you have a an
action it's called PDF dashing
corruption as we do
and you specify that is the item id:
that
action is by default going to be
available will show that
right now
so in my test assets folder I have just
a couple sample documents that were
going to outrun a
used a demo use the service
functionality I'm the first one i wanna
talk about real quick
is the the PDF watermarking action
this is really handy if you have to
opposes a concert rule were as a as a
docking live reaction if you wanna mark
a document is draft status
or on you know say you have a signature
image that you want to apply to a
document
are you might want to change the
background image you know play something
like about background image underneath
the text about
appease the content so to configure this
first thing I'm gonna do is select
a destination folder I'm just going to
use the document library here
run it's like the watermark image
indicate which pages we'd like to
watermark I in this case I actually
you know what I'm apologize I'm doing
this to the wrong document
sort indicate which pages we'd like to
apply the watermark to
on this case all we can also set the
Dept so this is gonna tell us whether
the
new content that were inserting into
this PDF is layered above or below the
existing content
so in this case I wanna put under
I'm not doing a text watermarks like to
go ahead and read the text blank as well
as the fun fun size
I do want to set the type to image and I
want to leave the position as a center
position
I'm just a quick word about the forms
this is one of the things we have
targeted for 12 is a big improvement
on if you select for example I
text watermark type we should hide that
watermark image selector
on if you select a i an image watermark
type anything related to text we should
hide so there's a free market and what's
that we can use to override the form
behavior
i knows or in development
so we can see how the documents in
successfully watermarked and if I go
back to my sample contract docs that
background image that we've selected
has now been applied under the text
content about the pdf doc that we
started with
another really common use case
for the PDF toolkit is around document
security
and this is will use the sample case
study that I have here is an example
I'm gonna go and we're gonna select
encrypt PDF document here
I'm the PDF document format provides for
encryption
and some permissions management as part
of the file specification
so we can set a user password which
allows us to our
locker documents that you have to the
password actually view the content
on the owner password is required if you
wanna make changes to any of the
permissions that have been set for the
doc
Angeles to provision is kinda shown here
I we can say that this documents
printable copy able
its modifiable I'm and attainable
whether or not it could be form filled
out a screen reader
are you can also set to allow it
degraded print so say you're sending
proves to a customer for example you
develop some copy or some sort of a
brochure for them and you want to make
sure that they don't just take your
samples and run with them without paying
you
I you can set this the the dick degree
to print a true
and allow them to print out a version
that can be passed around but the
quality is significantly reduced
we can also set the encryption level are
by default got the set to out to 128 bit
AES which i think is
probably on the lower end of what's
acceptable for doing government work
but it is still 80 s standard so I think
it'll meets
meet the requirements there this next
options kinda interesting I'm
we're gonna set whether or not to
exclude meta data from encryption the
reason that you might not want to do to
to encrypt and meta data is that when
the doctor gets moved into alfresco I
you know we do a meta data extraction
right
so that all the meta-data feels a
searchable if the Med a dozen cryptid
it's not going to work you'll be able to
search on like the file name the dates
but that's about it
no we don't actually I'm so if we don't
act that exclude me that a
phones cups and then if I have the cato
I have a great day in all those although
me that associated that document they
always got the
if I was going to offer support system
database crack alright to actually be
encrypted within the document itself
I so the PDF document format has you
know several sections if you actually
open up the file when you look at it you
know with a
II senator are doing in and right
although the meta-data section in the
header of the PDF document will be left
plain text but everything that
represents the actual content to the
doctor will be encrypted
okay getting this really only matters
Tom Ford meta data extraction with
alfresco I'm we don't use that the DN
cryptid
up type at all I'm you know we just we
apply our own custom aspect when it's
encrypt it because we need to capture
some additional information about the
encryption about okay
thank you
so to demo this I'm just gonna go ahead
and pick the document library again
and to the doc encryption
so back to the doctor library now we
have our sample case study
I one thing that you know right away we
have our small indicator shows that this
actually is an encrypted PDF
so this is our content indicated it's
driven off a custom aspect
another caveat a doctor in encryption
is right here arm if the docs in cryptid
of course
alfresco can't pipe it through PDF to
SWF
PDF to SWF is not aware how to decrease
the document so the doctor previews will
break their
on their couple potential solutions for
that were kinda looking this in
different ways to make that work
are maybe to do a little pop up and ask
you to provide the password if you want
to do the preview
on but that's kinda for forward-looking
statement if you will
soma download the stock and go ahead and
open it up in a corset
the pop so far our password protection
field so I'm gonna put in
alfresco and the contest
now available for viewing
so if you're not one other thing with
added to this up
this version of the PDF toolkit is our
pd-art if to PDF Transformer
I'm this is going to be driven off a
content rule
so many going to my rules test folder
and take a look at the tip transform
test
and go to manage rules here
now this works just like any other
PDF to tear or any other transformer
with an alfresco you're going to give it
a
I target mime type: and if alfresco can
find a transformer that work
or a combination transformers between
the source mime type: and the target the
transformation will be executed
so in this case were telling to look at
the MIME type in cmd
content if it's tiff image we're going
to a transforming copy content
and we're target Adobe PDF and I told to
put it into the slash PDF full
so I have a really simple what's just
kinda a dummy fake invoice here
I'm that may have come from a scanner or
something else that outputs tiff content
and drag this over the PDF fuller
are scanned invoices here and if we go
into the PDF older
we now have scanned in which doc pdf and
there's art if in age
actually put into pdf doc so you'll
notice that it's not quite centered
where's the original tip was I this is
because of the lack of scaling heads
that are in the
the transport today that's one of the
things that version 11
will hopefully address we also talked
briefly about the advance search
functionality
so if I were to go back to the document
library here and go to Advanced search
I'm we've added these new options to
the search type menu so we can actually
go in search for sign PDF docs
I go ahead and say what's the signature
date sofa looking for contract it was
digitally signed between you know
yesterday and today we can filter that
on date range
are we can with the location the reason
it was signed on these are actually
extracted from the PDF meta-data so when
you do a digital signature to a pdf doc
Army captures the reason the location
for that signature
and all that stuff a searchable I
the same thing with in cryptid PDF
document so we can search for the crib
to date
or what use are actually perform the
encryption
are briefly early with earlier we
touched on I
using these actions from the JavaScript
API on yesterday gave a lightning talk
on extending the Alfresco JavaScript API
with new routes go
objects and down one of the things I
said not to do there who was if you
already have a way to call that
functionality from
one of our existing routes go bob checks
don't bother writing a new one
and this is what I learned that um
originally I thought it would be a great
idea to have a root scope JavaScript
object that allows you to easily access
all the functionality the PDF toolkit
from JavaScript
I'm by the time I got done writing it it
turned out that using that new
roots go bob checked was actually no
easier than just using the existing
actions object so I'm
to do this is actually really easy
you'll do fine a couple variables on a
PDF to watermark
reuse the watermark action is an example
a destination folder which is where the
watermarked
PDF is going to end up once it's done
and then we're gonna define the
parameters
for this action you know the the
watermark tax the type
I what pages the Dept now these
parameters you're the one that was
talking about earlier that are defined
in our module context XML so if you're
wondering what the valid values are:
for these parameters that's the place to
check and then once we got the action
object built up we just call it
execute and passing a script node
reference to the node
that we actually would want watermark in
this case I'm we are tested this out
this works whether you're talking about
a script that's %uh
loading the data dictionary that you're
calling from the execute script action
this works within script tasks in
activity
so you can actually integrate this
watermark functionality or digital sig
your phone signature functionality
are directly into custom activity
workflows and of course this also works
from custom web scripts
so if you're doing a custom web script
for document gestion for example
and you want to make sure that all the
contents coming into the repository gets
one of these actions applied to it you
can actually just used
I've code very similar to the start to
perform those as part of that ingestion
process
I'm building the PDF toolkit
really easy I was hoping I would be here
to see this I
I it's just a maven project so do check
it out
run you know our maven clean package and
it will try to limit
to and files I it's very very simple I
course
that does apply once maven finishes
downloading the internet for you a
little bit about the roadmap
um version 11 came out or 10 came out
just ahead at this conference
on actually if you look around a few
open source projects that were
presented here all coincidentally had 10
release is right for Def Con
hun version 11 is slated for release
hopefully next month on we got a lot of
bug fixes here are
thanks with people that use this and
then there are a lot of them hundreds of
102 points in the field
arm they're very good about reporting
bugs and I like to think we're pretty
good at fixing I'm so
I we do tend to respond to those pretty
quickly I we've also got 42
compatibility and if anybody here
attended a
Dave Draper stalk on share extensibility
you're the new share extension mechanism
just a day
are you know that the head FTL files
in share web scripts are being
deprecated
they're still there but the right way to
go forward from from 42 onward is to
actually use the new mechanisms that are
built into the HTML free-market employed
as opposed to the header free-market
template arm
version 11 we're gonna go ahead address
that right away umpteenth
we of course we've also added a a a
delete page action so
one other things you may have noticed
during the demo i an action that I
didn't talk about
is a is duly pages from PDF so this plan
to find space is very simple grammar
we can give us a list of pages or page
ranges that you'd like to have removed
from the pdf doc
and %uh then we execute an action a
course in strip all those pages out
sometime after the new year arm once
we've all
gotten over our our holiday hangovers
I'm version 1 Tuesday to come out
this is already under development I
we've got an improved
50 PDF Transformer the the goal here
courses to add the scaling options
maybe some sensible defaults write so
that we
we can def make sure that Italy scales
in the same way I'm
even if you don't do any additional
configuration and then the second one
the vertex is the second feature we're
going to add their support for
multi-page Tiff summit if image can
actually contain multiple images in one
file
right now we don't handle it very well
so we're going to add for a at a
support for multi image test images and
then i download as PDF document action
so this was actually kinda cool arm a
first already has the ability to
determine
through the Transformers whether or not
a specific user content can even be
transformed to a pdf doc at all
well once we know that we can call that
transformation chain and allow you to
download as PDF directly so we're gonna
add a new document library action
that to but you take any piece account
in the drawer prostrate is transformed
by the PDF
and go ahead and download that as a pdf
doc competition and their course little
bit longer term
I PDF a transformer this is probably the
single most requested feature
on there are some directives coming out
of Europe buy European government that
require
pdf/a for certain types of documents i'm
for those that are familiar
pdf/a is a PDF subset that's designed
for long-term archival storage
on the PDF format is super flexible and
it allows you to do things like
in bed external fun files you can embed
media um
the problem with these is that if if
you're linking to external resources and
the external resources are available
you've now lost a ton of fidelity in
your document right you
you don't have the same he's a content
anymore so
PDF is designed to address that requires
embedded resources for everything all
self-contained
on and a bunch of other things as well
so
we're trying to get there to get to the
former pdf/a is a is functional in the
talk it probably as a transformer
um and this is really targeted at
I government customers other customers
with long-term archiving requirements
it's kinda tricky problem on because in
some cases
getting an existing PDF to PDF a
does require completely rendering at the
doc I'm you've got to take it with the
resources that you have
and almost print it to PDF a but
thankfully it looks like Bieber office
can actually do that
so what's have to write a custom
designer transformer that uses that
functionality and then moves on
another thing it's big on the list as
annotations I'm I don't know if there's
a form for this out in a crowd but
I'd like to really add annotations to
the job
the document reviews so we've got
through the share extras project
really cool document preview word that
uses PDF .gs
and PDF .gs will render a PDF document
using html5 and JavaScript in your
browser
there's no flash involved I'm what's
cool about that is then we can intercept
click events and such within the
document
send those back to a web script and use
the existing functionality in the PDF
talk it to apply documentation that the
right locations
on real quick word about actually that
appointed segue
the library that we're using for this is
all i text so I'm
did anybody here already knows i text
this is all the familiar to those really
implemented is urs wrappers around i
text functionality
I'm the last thing we have coming
hopefully in summer %ah
I met another developer in Berlin
crews working on a tesseract OC are
I engine that'll run within the context
of fresco
and I he's expressed interest in
contributing that back so that we can
then do
Bob optical character recognition on a
PDF document
and that that is another layer in the
dock to make your content your image
content actually search
I'm blasting it on the roadmap for 2013
is hopefully
what we hear here today so wild horse it
was important to get out and I and talk
about what we're actually doing
a big part of why I wanted to come this
year is to
can get some feedback up from people
that might be using it to have an
interest in using it
on to tell us what are the most
important features which would be
focusing our attention
on and of course also to put out a call
for help
Huff I think the the
the issues list is manageable but the
new feature list is huge
and if anybody is already using this or
has interest in contributing helping us
improve it
I'm I'm more than open to that I would
be encouraged that I would buy you a
beer if you would do that
a huff so I guess we can start with any
questions
to let solo three get the mic structure
recording session and if you've got the
mic then we can make sure it gets
captured
on the encryption ability arm
with that kinda scenario work if you
have a document you want to restrict to
only certain users
and if you if you add a leak to that
location in alfresco
with like the view in browser value and
it's a cryptid with the encrypt did
you know with the dialog box pop up to
display
okay you need is passworded actually
view the document name in view in
browser not
views for the preview exactly %uh yes
I'm
all you know both Adobe PDF a will
I if you have that installed a little
it'll do that you know the embedded PDF
to
viewer are chrome has a built-in PDF
viewer that will also work in that way
so if you provide the view in browser
going to people and they don't have the
password
then of course there will be a was your
content okay but i dont like doesn't pop
pop up okay
yep sure does %uh that's brilliant okay
if you've got if you've got an embedded
in my frame for example
and a native PDF your pops up it will
prompt you for a password
I
a.m. you did mention or see on for 2013
but when you do the TIF to PDF
transformation
Kenny says from the content on that PDF
unfortunately not um that's what are the
limitations of 10
to PDF is that it is at that point a PDF
with an image in bed
it's not actually doing OC are at that
point so that's that's the gap that
we're hoping to fill with this %uh
with this new addition got one more
yeah I just a quick question all up
early to the
I'd PDF died KS in each team of five did
you say that you were
going to be leveraging that scene or dad
is at me I confess cool feature or yeah
I wanna rock
had that brings up another dip or tax I
do wanna be really clear this is an open
source project
are it is not something this core
product it is a community maintained
extension
on the PDF JS viewer is already out
there
so if you go to the share extras project
um there's a
PDF JS document preview component that
you can add to share
I it exposes two modules that you have
to add to the share model management
interface
and when you do that it'll actually
replace the flash previewer with PDF JS
um this is also a community contributed
so it's not supported officially the
Alfresco
on but that's the work that we're
looking to build on to head the
annotations functions but if you're
looking to try it out
on within the church's project exist
today and
any plans were capability to combined
the watermarking and the
digital signature the signature 21 we
can make a
yeah we got a document you have very
clean
right we got that exact same question in
Berlin and I'm
based on the fact that come up twice I
think I yeah we're gonna have to do that
on the i text digital signature feature
already allows us to add
and image that contains a signature I
and it'll get applied as part of the
signature process we don't actually have
to do a two-step we don't have to
encrypt it in water market I'm which is
provided image at the time the
signatures applied and then
i text to work some magic and just like
that right in their force i'm for the
issue there is how we manage it right so
right now digital signature action
requires us to pick a keystore to use to
design
love because certificate to use do
theater I'm what I might implement the
future maybe something that drives that
of the user home directory so within
your User home in alfresco you can put
the user's private key there
are you can put the the user's signature
image there
and the digital signatures document
library action
will be driven off a those locations by
default of course you can be overridden
but yeah at the moment at the moment it
would be a two-step process sign it
actually first water market with
signature
then sign it because once it's been
signed of course if you would wanna
market even validated the signature
okay I just looked at your own know your
palm file
um and notice the and PDF box and i text
five were in there
I'm wondering if Anna if it's in plans
to get off my text
moved PDF box goes because the new right
except %ah
licensing terms it might be bad for some
people yeah BD affair GPL actually is a
is kind of an issue
and worry we have a one of our product
team members is actually focusing on
that right now we've been talking with
a with few people to figure out what we
can and can't do
I I think as long as we don't modify i
text
and the fact that the extension is
completely open source should keep us in
the clear
but I understand that that license for
other people and other applications may
not be appropriate I'm 14 sleepy f-box
lacks a lot of functionality
when it comes to PDF manipulation of
fresco
despite the shift to the affair GPL i
text is still the Cadillac
on we have PDF box in there today
as a dependency because %uh that's what
a fresco uses by default for text
extraction
I'm so at this point I don't think we
could move
to PDF box possibly I just don't think
it has the features that we need to get
the job done
you mentioned %uh tesseract I've been
playing with a little bit the ER
um one thing I was aged right you gotta
do is a.m.
some one word direction you're going
with this is we've got a PDF in the
system of course
some of them do contain a great deal tax
already for search
so what was the plan on you how
how would you wanna do that such as you
having a minimum attacks before does
er's ur
man unfortunately I'm not really
equipped to answer that question
um I via the gentleman who's working on
the test track components I Z is not
here
but I can put you in contact with over
Twitter if you want to reach out and ask
him how he's doing
okay yeah I am interested in that I was
looking at building something myself to
do it so
yet but after this I'm will circle for
give you my card I'm just send me an
email and I'll
arrange introductions that maybe you
guys gonna brainstorm a list that it
what's up
well actually %uh the doors are already
locked and we're not unlocking them
until we get at least two volunteers
I got bigger lapse in Berlin a huff for
the project page is here were hosted on
Google Code
on we make use the volatile code
functionality so you could go out there
you can check out the code we r issue
trackers there
so if you run across any bugs any
problems please report them
um which affects if we don't know
they're out there if you want to know
about the next release or subsequent
releases are
you can follow me on twitter I'm not a
huge Twitter spammer so
addition I won't clog up your feed too
bad we accept that we could have gone
and down that's it thank you very much
and please please read the session

Video Length: 41:56
Uploaded By: Alfresco
View Count: 600

Related Software Products
PDFToolkit
PDFToolkit

Published By:
Guangming Software

Description:
Do you want to split, merge, encrypt or decrypt your PDF files? Now all these can be done easily with PDFToolkit. PDFToolkit is an all in one PDF tool. It can split, merge, encrypt and decrypt PDF easily. It is a standalone application and does not depend on Adobe Acrobat, or even Acrobat Reader. PDFToolkit can be used to split files by pages, you can split the file into single pages or save every a few pages as a new file, it also can be used to merge multiple PDF files or ...


Related Videos
Alfresco PDF Toolkit 1.0 Release Screencast
Alfresco PDF Toolkit 1.0 Release Screencast

Alfresco PDF Toolkit adds additional functionality to Alfresco that allows you to work with PDF files. With the project's 1.0 release a number of new features have been added for Alfresco 4.x and Share. Current Functionality: Merge -- Append PDF to another PDF, generating a new PDF Split -- Splits a PDF at a specified interval, generating new PDFs for each section. Split At -- Split PDF into two PDFs at a specific page, generating two new PDFs. Insert PDF -- Insert ...
Video Length: 06:10
Uploaded By: Nathan McMinn
View Count: 10,225

Introducing PDFNetJS: the first complete PDF toolkit for the browser - James Borthwick
Introducing PDFNetJS: the first complete PDF toolkit for the browser - James Borthwick

Wouldn’t it be great if all PDF processing like forms, annotations, rendering, file conversion, PDF/A validation, redaction and other editing operations could be done directly in any browser, without reliance on plugins or servers?
Video Length: 39:41
Uploaded By: PDF Association
View Count: 690

Gnostice - CodeRage 6 - Exploring the new Gnostice PDFtoolkit 4 for Delphi Win 32/64
Gnostice - CodeRage 6 - Exploring the new Gnostice PDFtoolkit 4 for Delphi Win 32/64

More info at http://www.gnostice.com/CodeRage hr / bClosed Caption:/b discovered recession my name is garish party and I am the founder of justice information technologies in this session will be looking at some of the recently released products from justice that is PDF toolkit for and the new dotnet font rendering engine that we call extreme front engine before we move ahead I would like to share with you a small ...
Video Length: 38:40
Uploaded By: Gnostice.com
View Count: 431

Alfresco PDF Toolkit Demo: Encrypting Documents
Alfresco PDF Toolkit Demo: Encrypting Documents

This is a quick demo showing the Alfresco PDF Toolkit in action. The PDF Toolkit can do a lot of things with PDFs. In this case, we're encrypting a PDF and showing how to decrypt it using a password, whether displayed in the browser or in Acrobat. Created by Nathan McMinn and contributed to by others from around the community, the Alfresco PDF Toolkit works with both Community Edition and Enterprise Edition and is freely available under the GPL from GitHub at ...
Video Length: 04:24
Uploaded By: Jeff Potts
View Count: 188

Copyright © 2025, Ivertech. All rights reserved.