1. MarcRB

    B4J Question Calculate string width

    Hello, I know it isn't wanted to re-ask the same question, but I do... Please for give me. Can someone put me in the right direction by calculating StringWidth. I mean the lenght in pixels, units or some value from any string in a specified font. Maybe I can draw a string on a blanc...
  2. MarcRB

    B4J Question How to calculate string width for PDFBox

    I made some simple functions for easy writing on top of an existing PDF. Thanks to DonManfred post: PDFBox post#4 I need to calculate stringwidth for center align and right align. On StackOverflow I found the stringwidth could by calculated with a function at font object. But in the for B4J...
  3. S

    B4J Library PDF Creator and viewer

    Hello, Here are 3 classes : - PdfCreator : create PDF - PDFViewer : render PDF - clsFormPDF : form to preview PDF (Page navigation, Zoom, Print, Save) PdfCreator and PDFViewer wraps PDFBox You have to download pdfbox-app-2.0.20.jar and copy it in the additional folder You have to download...
  4. S

    B4J Library PDF Viewer with PDFBox

    Hello, This is a class 'clsPDFViewer' which use PDFBOX to render a pdf file. Use the form clsPDFPreview to preview a PDF file. You can browse pages, zoom in and out, print and save the pdf. You can add custom button for others actions. Don't forget to add the jar file...
  5. DonManfred

    B4J Library PDFBox (beta). Editing PDF AcroForm Fieldvalues, creating PDFs with new AcroForm

    This is a partial wrap for Apache PDFBox. In this early stage i am focusing on manipulating PDF AcroForms and building new PDF with AcroForm. It is also possible to create some javascript which can run when you open the PDF on acrobat. The Examplecode and the needed Objects i got my...
  6. knutf

    Share My Creation PDFBoxWrapper Class Module - show PDF-document in B4J

    PDFBoxWrapper is a Class Module that use PDFBox to view PDF-documents. The PDFBoxWrapper Class module need a Pane and a layout to show the PDF-document in the Pane. The Pane and the name of the layout must be specified as parameters to the initialize routine of the class. The layout must...