Activity for PDF Clown

  • Du Zhou Du Zhou posted a comment on discussion Help

    In PDF Clown, is it possible to generate a PDF file using a specific font, but without reading the data of this font? It is okay if the font is not embedded in this file, so that the user who opens this file will need to have the font in his or her computer. In PDF Clown, it seems that I need to specify the font file path or the font file data. This is problematic, because it is not easy to find them. Is it possible to simply specify a font name and a font size, and then use this font in a PDF file,...

  • ‪yaniv boker‬‏ ‪yaniv boker‬‏ posted a comment on discussion Help

    I wanted to make a simple page extraction from one file to a new pdf single page file. I tried many methods. Only one worked but every now and then I get an exception about the object. I checked and the objects are not null. How can i complete this simple task? This is my code: org.pdfclown.files.File mainFile = new org.pdfclown.files.File(fullpdfname); var mainDocument = mainFile.Document; var myfile = new org.pdfclown.files.File(); var targetDocument = myfile.Document; var extractedPage = mainDocument.Pages[idx];...

  • Rick Sowood Rick Sowood posted a comment on discussion Help

    Does PDFClown support PDF-A/3 format? I need to create a PDF document with embedded XML

  • Rudy Gireyev Rudy Gireyev posted a comment on discussion Help

    Hi! Would like to ask how I can extract Hebrew text from a PDF document. I used the sample code that was written for release 0.0.8 and adapted it to the current 0.1.2 However, the Hebrew text comes out in reverse. :) Left to right. Is there any way to load it in the right order? TIA Rudy

  • Kevin Bennett Kevin Bennett created ticket #93

    System.InvalidCastException on just one PDF document

  • Chandradev Chandradev modified a comment on discussion Open Discussion

    EmpName City Country John UK Ram Bangalore India My requirement is to read the blank space from given above pdf file. But pdfclown libary is not reading the blank space. In above table City is blank, so i need to read as blank value. Could you please let me know, is it possible to achieve this task or not ? I am using in asp.net Core C#.

  • Chandradev Chandradev posted a comment on discussion Open Discussion

    EmpName City Country John UK Ram Bangalore India My requirement is to read the blank space from given above pdf file. But pdfclown libary is not reading the blank space. Could you please let me know, is it possible to achieve this task or not ? I am using in asp.net Core C#.

  • Karla Karla posted a comment on discussion Open Discussion

    Hi Stefano, is pdfclown PDF/A compliant now? Have nice day. Anja

  • Leo Chapiro Leo Chapiro created ticket #92

    Error error on extracting of XML attachments

  • Leo Chapiro Leo Chapiro modified a comment on discussion Help

    Hi, I'm new in this forum. I use the PDFClown in my project in order to extract every attachments, possibly include in a PDF and got an error on some special ZUGFeRD PDFs (PDFs with a XML meta datas inside). I think I found the error, anyway I can extract the attachment now (after fixing). What shoud be the way to provide my suggestion to the developer of ClownPDF? And there is the point (FullFileSpecification.cs): /* Gets the embedded file associated to the given key. / private EmbeddedFile GetEmbeddedFile(PdfName...

  • Leo Chapiro Leo Chapiro posted a comment on discussion Help

    Hi, I'm new in this forum. I use the PDFClown in my project in order to extract every attachments, possibly include in a PDF and got an error on some special ZUGFeRD PDFs (PDFs with a XML meta datas inside). I think I found an error, anyway I can extract the attachment now (after fixing). What shoud be the way to provide my suggestion to the developer of ClownPDF? And there is the point (FullFileSpecification.cs): /* Gets the embedded file associated to the given key. / private EmbeddedFile GetEmbeddedFile(PdfName...

  • Nam Nguyen Nam Nguyen posted a comment on a wiki page

    Start join

  • Hakan Hakan posted a comment on discussion Help

    I think Stefano, the author of this Project has abandoned this and is not responding to questions or forum posts anymore. Project started ambitious and gave information about a lot of features, it also speaks about AcroFormFlatteningSample here https://pdfclown.org/2014/09/12/waiting-for-pdf-clown-0-2-0-release/ but after 2015/2016 there seems very little news.

  • Hakan Hakan posted a comment on discussion Help

    Hello, is there an update to appearance stream in the 2.0.0 release ? https://www.nuget.org/packages/PDFClown.NET/ In particular, how can someone set the 'RichTextValue' property of an existing Form field that already has the 'isRichText' property enabled?

  • Hakan Hakan posted a comment on discussion Help

    Hello, can the latest version of PDFClown 2.0.0 (https://www.nuget.org/packages/PDFClown.NET/ ) be used to embed all missing fonts in an existing PDF file ? If so, how can this be done - a simple Prototype code would be nice thank you -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

  • sohel shaikh sohel shaikh posted a comment on discussion Help

    You can use TextMarkup for Highlight,Squiggly,Strikethrough, and underline. and for font styling, you can use TextChar.getStyle() which will return object of TextStyle

  • Paweł Saniewski Paweł Saniewski created ticket #91

    Array.Copy(...) in Buffer.Read(...) throws ArgumentException when extracting text

  • Paris Paris posted a comment on discussion Help

    I am making a program in C# which allows users to input a file through a windows form and select the destination to which they want to save the file. At which point at completion it will split the 1 file into multiple based on their 'account no', an account may have multiple pages or only one so it has to be able to read the lines/text within the PDF file to split. I have had a look on here and on the API to make sense on how I would do this but I haven't had much luck. I have tried other open source...

  • Horváth Kristóf Horváth Kristóf posted a comment on discussion Help

    Hi, I am currently looking for a library that can offer me compression, where I get to keep resolution, but still decreases the file size. All I found out about PDF Clown’s compression is, that it has that feature. Could you help me figure out if it is actually a fit for me? Also is this project discontinued?

  • Darren Rose Darren Rose created ticket #24

    Redact text

  • efrat zadok efrat zadok posted a comment on discussion Help

    my extraction include coordinates and size of every object. It works well, but I have one problem: When the page rotation is rightward there is a bug in text extracting- I got the text and the position but something wrong with the size of the box and the font-size of the text. this pdf file is attached here i will be happy if you look at this file and tell me what the problem and how to fix it. i don't know if the library supports files like that (with rightward rotation) Thanks Efrat Zadok

  • efrat zadok efrat zadok posted a comment on discussion Help

    I use pdfclown to extract text and images from pdf documents. It works well, but I have one problem: When the page rotation is rightward there is a bug in text extracting- I got the text and the position but something wrong with the size of the box and the font-size of the text. How can it be? How to solve it? Thanks Sent from Mail for Windows 10

  • Afsheen Khan Afsheen Khan posted a comment on discussion Help

    I have a very simple issue. I try to find any examples but I can't. I have a windows applicaion and I have a button on form. When user clicks the button, I want to launch the pdf file that already exist, so user can view it or print it by clicking a button. I want to open the pdf file inside a panel or richtext box. Can I accomplish this function using the PDF Clown? Can you provide me a sample code? Thanks

  • Jřrn Cornelius Olsen Jřrn Cornelius Olsen created ticket #90

    Lonely low surrogate code points using TextExtractor

  • Curtis DeHaven Curtis DeHaven posted a comment on discussion Help

    I'm new to PDFClown. Very impressed with it. While it seems very powerful, it seems a bit more than I really need. Any good docs/overview out there other than the PDFClown reference? My immediate need is to insert an image onto a page and then put several text strings over the image. For example... PrimitiveComposer composer = new PrimitiveComposer(page); composer.ShowXObject(imageXObject, new PointF(0, 0)); composer.SetFont(new StandardType1Font(package.document, StandardType1Font.FamilyEnum.Courier,...

  • Anthony Hires Anthony Hires posted a comment on discussion Help

    I was able to replace the operand with one for an Artifact. However, Its change appeared during the debug session. But the file.save doesn't seem to keep the changes. I'm not using the scanner anymore so I'm not using the stamper either. I'm not executing the stamper.Flush() method. Is there some kind of flush that should be happening pior to the file.save()? Thanks

  • Anthony Hires Anthony Hires posted a comment on discussion Help

    Using a text extraction sample which uses a scanner, I'm trying to edit header.operands that are Figures to Artifacts for accessibility reasons. All the images in this documet provide no useful infomation. If turns out to always be the first Header.Operands that i wish to change. I have many document to modify and the documents are over a hundred pages in length. I've tryed to set the Pdfname objects value but I get an error that the set method is not accessable. Any help would be appreciated. T...

  • Tortino Tortino posted a comment on discussion Help

    I'd like to know it too. Is it project discontinued? Thanks.

  • J.A. Alderliesten J.A. Alderliesten posted a comment on discussion Help

    When I have two original portrait PDF files and merge them then everything works fine. But when one document is rotated by this way: For Each Pagina As Page In Document.Pages Pagina.Rotation = contents.RotationEnum.Rightward Next and saved after then in Adobe it looks correct but merged to the source document the page dimensions are 210x210. So it looks like that with the rotation something is not quite well or I missed a part but I hope someone have a good idea... or Im the first to try to rotate...

  • J.A. Alderliesten J.A. Alderliesten modified a comment on discussion Help

    I try to Add a Landscape PDF document to the original Portrait one. The rotation works fine but after the page clips are 210x210. So the format is not going well. I.e. looks like that only the content is rotated like I did confirm the sample. Dim FileName As org.pdfclown.files.File = New org.pdfclown.files.File(TempFilePath & "Faktuur.pdf") Dim Document As Document = FileName.Document Dim oPDF As PageManager = New PageManager(Document) FileName = New org.pdfclown.files.File(TempFilePath & "FaktuurBijlage.pdf")...

  • J.A. Alderliesten J.A. Alderliesten posted a comment on discussion Help

    Even the change after reading this article didnt work well: https://sourceforge.net/p/clown/discussion/607162/thread/3dad06f0/#d921 Dim destFileName As files.File = New files.File(TempFilePath & "Faktuur.pdf") Dim sourceFileName As files.File = New files.File(TempFilePath & "FaktuurBijlage.pdf") Dim destDocument As Document = destFileName.Document Dim sourceDocument As Document = sourceFileName.Document Dim destPages As Pages = destDocument.Pages Dim sourcePages As Pages = sourceDocument.Pages For...

  • J.A. Alderliesten J.A. Alderliesten posted a comment on discussion Help

    I try to Add a Landscape PDF document to the original Portrait one. The rotation works fine but after the page clips are 210x210. So the format is not going well. I.e. looks like that only the content is rotated like I did confirm the sample. Dim FileName As org.pdfclown.files.File = New org.pdfclown.files.File(TempFilePath & "Faktuur.pdf") Dim Document As Document = FileName.Document Dim oPDF As PageManager = New PageManager(Document) FileName = New org.pdfclown.files.File(TempFilePath & "FaktuurBijlage.pdf")...

  • sid-the-sloth sid-the-sloth created ticket #15

    Allow bypassing the check for encryption

  • Israel Romero Israel Romero posted a comment on discussion Help

    I had the same problem, but I noticed those files that error out are files with Forms. I even tried it with the sample generator and got the same error. Here is how to replicate it: 1. Run the Sample class. 2. Select option 0 - AcroFormCreationSample 3. Create the form file and quit the application. 4. Copy the output file into the samples folder 5. Run the Sample class again. 6. Select option 27 - PageManagementSample 7. Select option 5 - Document Merge 8. You will now find your sample file is the...

  • Shaun Shaun posted a comment on discussion Open Discussion

    Is PDF Clown thread safe? ... can I create more than one PDF at a time if I keep instances separate? Thanks, Shaun.

  • Ryan G Ryan G posted a comment on discussion Open Discussion

    Hi all, im looking for the best way to find a page in a document, and replace with another. I tried going through bookmarks and getting the index, then just clone the page at the index provided from the bookmark. I've created both pdf's, show there should be a bookmarks in each. i thought i had this working, but it throws the exception sometimes. public static int GetIndex(this Bookmark bookmark) { var target = bookmark.Target; int? i = null; if (target is Destination) { var dest = target as Destination;...

  • Fredrik Zeller Fredrik Zeller posted a comment on discussion Help

    using pdf clown - java. task in my project is: read the pfd - create own objects out of this - and render it on a java component (Jpanel) with Graphics2D context. Works fine with all sort of cubic -curves, rectangles and so on... But I am sticking here: Created a TextObject - have the font out of pdfClown apearently as a Postscript-font-object... How can I set this Font to the graphics2d context, to render the text correctly ? Is there any way to create a awt.font from this on the fly ? Sorry if...

  • Devin Ronge Devin Ronge created ticket #89

    Undisposed Stream Issue in pdfClown.Net

  • Mohamed Hussein Mohamed Hussein created ticket #88

    Null Reference Exception in PageManager.Split()

  • Jediah Lankitus Jediah Lankitus posted a comment on discussion Help

    So...this actually doesn't quite cover every kind of pdf document, so if anyone has input that would be appreciated

  • Jediah Lankitus Jediah Lankitus posted a comment on discussion Help

    So actually I found what I needed, here it is for anyone that needs it: public static void applyLayer(Document targetDoc, Document sourceDoc, Layer layer) { Page page = sourceDoc.Pages[0].Clone(targetDoc) as Page; Contents pageContents = page.Contents; PrimitiveComposer composer = new PrimitiveComposer(targetDoc.Pages[0]); composer.BeginLayer(layer); foreach(ContentObject obj in pageContents) { composer.Add(obj); } composer.Flush(); }

  • Jediah Lankitus Jediah Lankitus posted a comment on discussion Help

    One thing to note...current output.pdf basically just has pdf1 followed by two instances of pdf2...instead of applying in to the layer it simply adds an additional page, which isn't what I want

  • Jediah Lankitus Jediah Lankitus posted a comment on discussion Help

    Hello, My project starts with two PDFs. Call them source PDF and target PDF. I want to: Copy the first page of source PDF. Create a second layer on the target PDF Apply the first page of the source PDF to the second layer of the Target PDF My code consists of the following functions: CreateLayer() AppendPage() ApplyPage() ApplyPage() is the only thing working incorrectly, can someone help me out? Code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;...

  • Rohini Gate Rohini Gate posted a comment on discussion Help

    Hello, Did you implement this requirement using pdf clown? We have similar requirement. Thanks

  • Lakshmikanth M Lakshmikanth M posted a comment on ticket #87

    Hi, Is there "NO SOLUTION" for this issue ? Is it a pdfclown limitation ? Regards, Lakshmikanth .M

  • Lakshmikanth M Lakshmikanth M posted a comment on ticket #87

    Problem: It is merging the PDF Acro Forms without filled content from the original PDF Acro Forms Source.

  • Lakshmikanth M Lakshmikanth M created ticket #87

    Merging Of Acroforms using PDFClown

  • Rohini Gate Rohini Gate created ticket #86

    org.pdfclown.util.NotImplementedException: LZWDecode

  • Rohini Gate Rohini Gate posted a comment on discussion Help

    Please guide me on this

  • Rohini Gate Rohini Gate posted a comment on discussion Open Discussion

    Hi, We are using pdf clown to highlight word in pdf. However its working fine for pdfs havnig ANSI encoding.And for CUSTOM encoding its giving below error, org.pdfclown.util.NotImplementedException: LZWDecode org.pdfclown.bytes.filters.Filter.get(Filter.java:74) org.pdfclown.objects.PdfStream.getBody(PdfStream.java:193) org.pdfclown.objects.PdfStream.getBody(PdfStream.java:155) org.pdfclown.documents.contents.Contents$ContentStream.moveNextStream(Contents.java:279) org.pdfclown.documents.contents.Contents$ContentStream.<init>(Contents.java:86)...

  • Rohini Gate Rohini Gate posted a comment on discussion Help

    Hi, We are using below code to highlight word in pdf, public String highlight(String inputPath, String outputPath, String searchWord1,javax.servlet.http.HttpServletResponse res ) { BufferedInputStream bis = null; BufferedOutputStream bos = null; final String searchWord= searchWord1; // 1. Open the PDF file! File file; try { file = new File(inputPath); } catch(Exception e) { throw new RuntimeException(inputPath + " file access error.",e); } count = 0; Pattern pattern = Pattern.compile(searchWord,...

  • 王新泽 王新泽 created ticket #85

    TextExtractor.extract - java.lang.NullPointerException

  • Lakshmikanth M Lakshmikanth M modified a comment on discussion Help

    Hi Stefano, I am using Pdf Clown for merging 2 or more filled and flattened PDF Acroforms into single PDF. when i did follow the below mentioned code it is throwing error public static byte[] JoinPdf(params byte[][] files) { if(files == null) return null; else if(files.Length == 1) return files[0]; else { using(var targetFile = new org.pdfclown.files.File(new org.pdfclown.bytes.Buffer(files[0]))) { var targetDocument = targetFile.Document; var targetDocumentBuilder = new org.pdfclown.tools.PageManager(targetDocument);...

  • Lakshmikanth M Lakshmikanth M posted a comment on discussion Help

    Hi Stefano, I am using Pdf Clown for merging 2 or more filled and flattened PDF Acroforms into single PDF. when i did follow the below mentioned code it is throwing error public static byte[] JoinPdf(params byte[][] files) { if(files == null) return null; else if(files.Length == 1) return files[0]; else { using(var targetFile = new org.pdfclown.files.File(new org.pdfclown.bytes.Buffer(files[0]))) { var targetDocument = targetFile.Document; var targetDocumentBuilder = new org.pdfclown.tools.PageManager(targetDocument);...

  • Yehudis Breitowitz Yehudis Breitowitz posted a comment on discussion Help

    Did you ever figure out how to flatten other kinds of fields like CheckBoxes and...

  • ko rad ko rad created ticket #84

    endless loop

  • Andrei Kamiak Andrei Kamiak posted a comment on ticket #23

    Hi, any updates? Thanks, Andrei

  • Andrei Kamiak Andrei Kamiak posted a comment on ticket #23

    Hello, Did you had a chance to look into my issue? Thanks, Andrei

  • Andrei Kamiak Andrei Kamiak posted a comment on ticket #23

    Hello, Any updates about this issue? Thanks, Andrei

  • Andrei Kamiak Andrei Kamiak posted a comment on ticket #23

    Hi team, do you have any update? Thanks, Andrei

  • Andrei Kamiak Andrei Kamiak created ticket #23

    Encrypted PDFs using PDF Clown

  • David De Lombaerde David De Lombaerde posted a comment on discussion Help

    Hello, It's the first time I use PDF Clown. I have a PDF with a layout printed on...

  • Adam Weber Adam Weber modified ticket #21

    Add support for encrypted PDF files in PDF Clown libraries for .NET

  • beyondtheworld beyondtheworld posted a comment on discussion Help

    I have a requirement to read the existing PDF file and highlight the keywords in...

  • beyondtheworld beyondtheworld modified a comment on discussion Help

    package com.test.nca.batch.springtest; import java.awt.geom.Rectangle2D; //import...

  • beyondtheworld beyondtheworld modified a comment on discussion Help

    package com.test.nca.batch.springtest; import java.awt.geom.Rectangle2D; //import...

  • beyondtheworld beyondtheworld modified a comment on discussion Help

    package com.test.nca.batch.springtest; import java.awt.geom.Rectangle2D; //import...

  • pushparaj pushparaj posted a comment on discussion Help

    package com.test.nca.batch.springtest; import java.awt.geom.Rectangle2D; //import...

  • Hugo Hugo posted a comment on discussion Help

    Has this project been abandoned?

  • SK SK modified a comment on discussion Help

    Hi guys, FileParser (in org.pdfclown.tokens.FileParser) has no access modifier for...

  • SK SK posted a comment on discussion Help

    Hi guys, FileParser (in org.pdfclown.tokens.FileParser) has no access modifier for...

  • Federball-Fridolin Federball-Fridolin posted a comment on discussion Help

    I've written a programm which allows the user to change the content of textfields...

  • Jonas Nyrup Jonas Nyrup created ticket #14

    Support for flattening of individual fields and widgets

  • Gael Charpentier Gael Charpentier modified a comment on discussion Help

    Hi, I am trying to use PDF clown to render a pdf to a bitmap. I am using the following...

  • Gael Charpentier Gael Charpentier modified a comment on discussion Help

    Hi, I am trying to use PDF clown to render a pdf to a bitmap. I am using the following...

  • Rahul Raghuvanshi Rahul Raghuvanshi posted a comment on discussion Open Discussion

    Hello, I am new with "PDF Clown" library. As per the task, I need to write my form...

  • Lorenza Lorenza posted a comment on discussion Help

    Hi all I'm trying to do something similar. The basic idea is cropping a pdf page,...

  • Gael Charpentier Gael Charpentier posted a comment on discussion Help

    Hi, I am trying to use PDF clown to render a pdf to a bitmap. I am using the following...

  • David Williams David Williams created ticket #83

    Metadata incomplete

  • jsc jsc posted a comment on discussion Help

    Hello, maybe I can get an answer from the maker of pdf clown how it is intended....

  • xa2er xa2er posted a comment on discussion Help

    Hello, I'm newbie to PDFClown and i don't know if it's possible to do what i want....

  • nav3000 nav3000 modified a comment on discussion Help

    Dear community! I need your help. In our application we read pdf-file with help of...

  • Kasavchenko Kasavchenko posted a comment on discussion Help

    Dear community! I need your help. In our application we read pdf-file with help of...

  • Sharki Sharki created ticket #21

    Add support for encrypted PDF files in PDF Clown libraries for .NET

  • zl0523 zl0523 posted a comment on ticket #82

    I use both "ContentScanningSample" and "BasicTextExtractionSample" to process one...

  • zl0523 zl0523 created ticket #82

    Unknown type: ArrayEnd

  • joe joe posted a comment on discussion Open Discussion

    How can PdfClown be made to continue writing onto the next page of a pdf file when...

  • Andrew Truckle Andrew Truckle posted a comment on discussion Open Discussion

    Hi I can assign English text without issue. But if I pass in a Bulgarian string the...

  • Andrew Truckle Andrew Truckle posted a comment on discussion Help

    Hi, I have a Arabic pdf. I can write text into the form fields. Then I save. But...

  • Stefano Chizzolini Stefano Chizzolini committed [r224]

    Invalid font width type casts fixed

  • Till Till posted a comment on discussion Help

    when i create a pdf document with pdfclown 0.1.2 (java) and embed the font via Font.get(pdfDocument,...

  • R Debona R Debona posted a comment on discussion Help

    Any idea?

  • R Debona R Debona modified a comment on discussion Help

    Hi Guys, After many researchs i found in pdfclown a good solution to search text...

  • Arnau Codern Arnau Codern posted a comment on discussion Help

    In case anyone is interested in found the problem: My pdf comes without a valid Font...

  • Arnau Codern Arnau Codern modified a comment on discussion Help

    Hi, I am using PDFClown 0.1.2 for extracting text, and I'm using the exact code in...

  • Arnau Codern Arnau Codern posted a comment on discussion Help

    Hi, I am using PDFClown 0.1.2 for extracting text, and I'm using the exact code in...

  • Arnau Codern Arnau Codern posted a comment on discussion Help

    Hi Kaushik! Did you solve your problem? I'm stuck in the same problem.. I tried with...

1 >
MongoDB Logo MongoDB