cancel
Showing results for 
Search instead for 
Did you mean: 

Existe-t-il une fonctionnalité d'ajout d'annotations...

th
Champ in-the-making
Champ in-the-making
Bonjour,

Existe-t-il une fonctionnalité d'ajout d'annotations dans Alfresco ?
(pour insérer de façon définitive dans un document PDF un ou plusieurs textes saisis par un utilisateur)

sinon, est-on obligé d'écrire cette fonctionnalité en spécifique, en partant d'API PDF ?

Merci pour vos réponses
1 REPLY 1

egr
Champ in-the-making
Champ in-the-making
Bonjour,

Il est possible avec l'API javascript d'ajouter du texte à un document html ou texte simple par exemple :

if (document.hasPermission("Write"))
{
   if (document.mimetype == "text/plain")
   {
      document.content += "rnrnCopyright (C) 2006";
   }
   else if (document.mimetype == "text/html")
   {
      document.content += "<br><br><small>Copyright © 2006</small>";
   }
}
Vous verrez ce type d'informations sur le wiki alfresco : http://wiki.alfresco.com/wiki/JavaScript_API

Je ne sais pas si cela est possible sur un PDF…
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.