Re: [iText-questions] Create cut marks for pdf

2010-01-10 Thread Leonard Rosenthol
You mean you want to place the existing PDF onto a new (larger) sheet that will contain the marks, yes? Then you'll set the trim box to the size of the original content (aka where the marks go). Perhaps you need to read up on what the various page boxes in PDF represent and how they are used i

Re: [iText-questions] Create cut marks for pdf

2010-01-10 Thread Mathias Nilsson
When extending the pdf to allow cut marks what should I use Media Box, Crop box,Bleed Box,Trim Box, Art box? I think one of this should be set to a bigger size than the original pdf. Then I should add marks by drawing in these boundries. is this the right way? -- View this message in context:

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread 1T3XT info
Ric Clarke wrote: > I guess something along the line of > http://1t3xt.info/examples/browse/?page=example&id=415 might help me! OK, I thought you wanted to remove everything outside the crop box. The example you're referring to is definitely what you need. You have different options: 1. clip the

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread Ric Clarke
1T3XT, I'm not wanting to remove the content outside the box, I'm only wanting to show the content from within the cropbox in my page object, the rest can be hidden. I know an "image" is not created, I'm asking if it's possible to create an Image object wrapping the page but use the cropbox to

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread 1T3XT info
Ric Clarke wrote: > Surly wanting to get only the content of the cropbox is not an unusual > task??? Yes it is. You can't "remove" the content outside the crop box. You can only hide it. > 1. How much would you want paying to add a function that would allow me to > do: I don't do consultancy. Yo

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread Ric Clarke
Hi 1T3XT, It's not a question of belief. I was simply asking for some advice, guidance and pointers, after all is that not what this mailing list is for?? Surly wanting to get only the content of the cropbox is not an unusual task??? Two final questions: 1. How much would you want paying to a

Re: [iText-questions] Question to footer and header

2010-01-10 Thread 1T3XT info
Marc vom Hagen wrote: > Hello, > > I am a new user of iText. I read the examples to create a header with th > method HeaderFooter and I read in the support area that this method is > removed. > > But how can I create a header and a footer with page numbers now? See the bottom line of every ma

[iText-questions] Text within given Rectangle

2010-01-10 Thread Peter Forstmeier
Hi List, i have a long text (variable). This text should be printed inside a given Rectangle. If the text dosn't fit inside the rectangle the text should be formatted with StringTrimming or just cut. Until now i use this code: PdfContentByte contentByte = base.PdfWriter.DirectContent; iTextSha

[iText-questions] Question to footer and header

2010-01-10 Thread Marc vom Hagen
Hello, I am a new user of iText. I read the examples to create a header with th method HeaderFooter and I read in the support area that this method is removed. But how can I create a header and a footer with page numbers now? Thanks for your answer -

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread 1T3XT info
Ric Clarke wrote: > Can anyone provide any more info rather than saying "can't be done"? That sounds like you don't believe me. Anyhow, it can't be explained in a mail that counts less than 50 lines, and I don't have the time to write such a mail. -- This answer is provided by 1T3XT BVBA http://w

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread Ric Clarke
Hi, Why not? How else could I get the content of the cropbox??? Is there no way I can do something like: for (int i = 1; i <= reader.NumberOfPages; i++) { iTextSharp.text.pdf.PdfImportedPage oriPage = writer.GetImportedPage(reader, i, PdfName.CROPBOX); Can anyone provide any more info rather

[iText-questions] ListItems and Table splitting BUG?

2010-01-10 Thread Filipe Sousa
Hello, I'm having some problems with table splitting and ListItems. Most of the time the last item is repeated and the end of the page as you can see in the attached PDF file. In my case, the text "hello number 9" in first page is repeated in second page. The same happens in the last page with "h

Re: [iText-questions] About The iTextSharp License Fee

2010-01-10 Thread 1T3XT info
Imgen wrote: > Hi, everyone, > I use the iTextSharp library to build my shareware and I'm planning > to sell it online. iTextSharp is amazing and helped me > a lot. So I want to buy a license to support its future development, who > should I contact? For questions about licensing, please co

Re: [iText-questions] About The iTextSharp License Fee

2010-01-10 Thread Imgen
Please ignore my ignorant question, I now see that I should contact sa...@itextpdf.com From: Imgen Sent: Sunday, January 10, 2010 01:30 AM To: iTextSharp Questions ; iText Questions Subject: [iText-questions] About The iTextSharp License Fee Hi, everyone, I use the iTextSharp library to

[iText-questions] About The iTextSharp License Fee

2010-01-10 Thread Imgen
Hi, everyone, I use the iTextSharp library to build my shareware and I'm planning to sell it online. iTextSharp is amazing and helped me a lot. So I want to buy a license to support its future development, who should I contact? ---

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread 1T3XT info
Ric Clarke wrote: > Just so I know, should changing > > "bBox = readerInstance.Reader.GetPageSize(pageNumber)" > To > "bBox = readerInstance.Reader.GetCropBox(pageNumber);" > > work and just get the size of the cropbox, therefore I should just be able > to get its content only? You should never

Re: [iText-questions] Get the content from only within the cropbox?

2010-01-10 Thread Ric Clarke
Hi, Thanks for that will have a look at PdfContentByte.clip(). Removing the interactive features is exactly what I want to do, in fact this is vital to my app. Plus all I'm really concerned about is the content within the cropbox of the pdfs. Just so I know, should changing "bBox = readerInst