How to Create Document in PDF with forms All content

1
+4
-1

I create one from with all employee detail now i want to add action on submit button .

when it clicked : document is generated of all detail and email to the employee email id

Pl can i know how to achieve it . how to generate document .

Thanks kandarp

3 answers

1
0
-1

I've faced this problem and the solution was prompted to me by a colleague who at times edited the PDF files online with the tool edit-pdf.pdffiller.com
All functions, implemented by this package we can split into several steps: downloading file, processing and "done" easy, is not it?
Well, I would say much easier than using packages of professional visualizers in which I understand nothing)

1
0
-1

Hi, kandarp.
Thanks for sharing your problem. As for me, I have seldom tried to deal with that kind of problem before. Have you ever worked it out? I wonder whether you have any exprience about pdf extracting process. Because there is something wrong with my pdf reader. I need convert pdf into text or other formats. Any suggestion will be appreciated. Thanks in advance.

Best regards,
Pan

1
0
-1

Hi Kandarp,

you will find existing projects within this website that are dealing with pdf generation / templating etc.,mostly using itext library http://community.bonitasoft.com/project?field_project_category_tid=All&t...

Some may need to be "migrated" to Bonita BPM v6 but that should not be too complex,as the java code inside is merelythe same !

Comments

Submitted by kppatel on Mon, 04/21/2014 - 07:19

i Create one custom connector , but it will put into failed stage when executed . how do i figureout it \

/**
 *
 */

package org.mycompany.connector;

import org.bonitasoft.engine.connector.ConnectorException;
import com.itextpdf.text.Document;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.pdf.PdfWriter;
import java.io.FileOutputStream;


public class GeneratePDFImpl extends AbstractGeneratePDFImpl {
       
       
       
        Document document = new Document();

        @Override
        protected void executeBusinessLogic() throws ConnectorException{
                try{
            PdfWriter.getInstance(document, new FileOutputStream("ThisisTest.pdf"));
            document.add(new Paragraph("A Hello World PDF document."));
                }
                catch(Exception e)
                {
                        throw new ConnectorException(e);
                }
         }

        @Override
        public void connect() throws ConnectorException{
                document.open();
       
        }

        @Override
        public void disconnect() throws ConnectorException{
                document.close();
        }

}
Submitted by renaud.pichot on Tue, 04/22/2014 - 17:27

you can give a look to existing connectors on https://github.com/bonitasoft

Notifications