pdf

  1. MMORETTI964

    Android Question HTML to PDF - Offline - <page_break_inside: avoid>

    We've a need trying to convert HTML document to PDF. I know, there is a way to convert HTML to a bitmap (using a webview) and then convert in PDF (like an image). However we need some more control over PDF created (for example using page_break_inside: avoid). Obviously this is not possible...
  2. Marco Nissen

    Beta PDFium - Pdfview2

    Regarding the new PDF library wrapper by @DonManfred Hi, I still get the ontap issue - if I tap the pdf, I get the error below with the sample code (no change) java.lang.Exception: Sub pdfium_ontap was not found. at anywheresoftware.b4a.BA.raiseEvent2(BA.java:202) at...
  3. Tayfur

    B4J Library [B4X] jPDFviewer

    I would recommend PDFBox class an alternative. İts does not need jetty server. its more clear. @knutf released new wrapper class for PDFBox from Apache. Thank you @knutf gerat work...
  4. Marco Nissen

    Wish New Wrapper: AndroidPDFViewer

    Hi can somebody work on a wrapper library for https://github.com/barteksc/AndroidPdfViewer ? That one is licensed as Apache 2.0, and provides scrolling, zooming, etc Thanks Marco
  5. D

    Android Question PDF behind canvas/panel

    I've seen some questions about this and it seems webview can not support this but I would like to add a PDF behind a canvas or as the background of a panel. Can this be done? Thanks
  6. WebQuest

    Android Question Index PdfReader error.

    I'm getting an error when scrolling through the pages of pdf files. the last error page of (INDEX). Has anyone had the same problem? How to solve? Sub Process_Globals Dim Chooser As ContentChooser Dim pdf As PDFRenderer End Sub Sub Globals Private ImageViewResult As ImageView...
  7. WebQuest

    Android Question Open and Save a PDF File In the Database with App.

    Hi I'm trying to select a pdf file in the device with the Chooser as it happens with the images, but without success. My intent is to select a pdf through my app and then save it in the db of the app. I'm using SqlLite for the db. I'm using the chooser specifying the type of file to be selected...
  8. T

    iOS Question How do I upload a PDF file from storage/iCloud/iBooks?

    Is it possible to add an option to select a storage / iCloud / iBooks PDF file? And so keeping the options shown in the image.
  9. T

    iOS Question How do I download a PDF file from Webview?

    I followed this thread https://www.b4x.com/android/forum/threads/how-to-go-back-in-webview-and-how-to-download-pdf-file.66546/ And my code is: Sub WebView1_OverrideUrl (Url As String) As Boolean If Url.EndsWith(".pdf") Then Dim j As HttpJob j.Initialize("pdf", Me)...
  10. N

    Android Question Newline in a PDFjetTable Column

    Hi, I'm currently producing a pdf table with results from the app and I'm trying to see if there is a way to add a newline in. Before generating the table though I replace each CRLF with a "¬" so it can be saved to a file and read from there. I then try to replace it with a CRLF after but that...
  11. E

    Other Open Source - PDFjet for Swift / iOS

    Some info that may be useful: We just released BSD licensed Open Source library 100% written in Swift. http://pdfjet.com/os/download.html Maybe somebody will created wrapper :-) ? Just like the one for Android - PDFjetB4A Best Regards, Eugene
  12. F

    Android Question File.DirDefaultExternal

    Hi all, I'm improving my app for to save and open PDF file With android:targetSdkVersion="14" was fine, but after increase targetSdkVersion to 26 not work In the past I saved and read directly from DirRootExternal but now I cannot. Now I'm using DirDefaultExternal but when I try to read the...
  13. Mikel Huerta

    Spanish (RESUELTO)Alguien ha logrado Abrir un archivo PDF en Android 7 ? creo que no se puede verdad ?

    Hola, les explico y de antemano muchas gracias por sus comentarios y/o ayudas: Tengo una app que genera un pdf, lo genera bien ya que lo envio por mail y cuando lo leo en mi pc lo lee sin problemas. Incluso en el telefono me voy a cualquiera de las 3 aplicaciones que tengo instaladas y lo lee...
  14. K

    Android Question pdf clickable text

    Hii Experts, I want to add link in pdf, on click the link open website. I'm currently using Printing libs. pdf.Canvas.DrawText("www.abcd.com",mleft,mtop,font,fontsize,Colors.Blue,"LEFT")
  15. K

    Android Question share PDF file

    I have this code its open PDF file Dim in As Intent in.Initialize(in.ACTION_VIEW,f1.CreateFileProviderUri(Starter.shared,"1.pdf")) in.Flags=1 StartActivity(in) I have to share PDF file I try like this...
  16. Mikel Huerta

    Android Question (SOLVE)error open PDF file with android 7+

    Hello , i try to open a PDF file from my app on an android 7 with the new permissions functions but when i try to do it, i get this error and a blank screen for a while and nothing more : i am using b4a 8.50 My code : Sub Doit() Dim Mostrador_de_PDF As Intent Dim uri As...
  17. K

    Android Question open wrong pdf file

    I'm using CreateFileProviderUri for opening pdf file and printing library for write in pdf. When I'm opening pdf file its open last proccess pdf file. this is my code Sub open_pdf If File.Exists(Starter.shared,"1.pdf") Then File.Delete(Starter.shared,"1.pdf") End If...
  18. K

    Android Question Write and Open PDF

    I want to open PDF file, Its shows message :: Can't open file trying saving the file on device and then opening it. I written this code : Dim pdf As PdfDocument pdf.Initialize pdf.StartPage(595, 842) 'A4 size pdf.Canvas.DrawLine(2, 2, 593 , 840, Colors.Blue, 4)...
  19. MICATAM

    Italian Ma una guida per creare Pdf in B4J???

    Ciao a tutti. Ma qualcuno più esperto che me non potrebbe fare una guida per creare dei file PDF con b4j e soprattutto in Italiano. Guardando nel forum ne esiste una in inglese ma non capisco neanche da dove partire. Parla di librerie open source e a pagamento. Di versione aggiornata. Quindi per...
  20. S

    Android Question how to implement "whatsapp for business" with b4a application ?

    hello guys, as of now whatsapp for business is launched in many countries, in my country too(i.e India). i have installed it. i have customer's contact numbers and i want to send a bill as a pdf to customer's whatsapp. but is there anybody who might have any idea on how to implement it to send...
Top