Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread mr . bean
Jaakov Jalink syneron.com> writes: > > Actually, I talked to Bruno himself, and the sales at > itext, they referred me to the mailing list > >   Jaakov: The mailing list is where people are generally sent to first. However, if you go to the iTextSoftware.com site, you'll see a page with info

Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread Jaakov Jalink
Actually, I talked to Bruno himself, and the sales at itext, they referred me to the mailing list From: Mark Storer [mailto:msto...@autonomy.com] Sent: Monday, August 30, 2010 11:21 PM To: Post all your questions about iText here Subject: Re: [iText-questions] PDF OCG layer removal Then it sound

Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread Mark Storer
Then it sounds like you should contact iTextSoftware.com. Several posters here, myself included, do iText contract work through them to one degree or another. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; ___

Re: [iText-questions] Text alignment

2010-08-30 Thread Paulo Soares
ShowTextAligned(). Paulo - Original Message - From: tonegawa To: itext-questions@lists.sourceforge.net Sent: Monday, August 30, 2010 8:15 PM Subject: [iText-questions] Text alignment Hi, I'm using the ShowText() function to Write some text with specific coordinates.

[iText-questions] Text alignment

2010-08-30 Thread tonegawa
Hi, I'm using the ShowText() function to Write some text with specific coordinates. How can I tell IText to write right aligned or center aligned? ITextSharp code: Stream inputPdfStream = new FileStream("Document.pdf", FileMode.Open, FileAccess.Read,FileShare.Rea

Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread Jaakov Jalink
I'm new to iText, and have a week to get the code working, or find a bypass. I prefer to get the code, my company will pay (with receipts of course) when we get a working code. If you think you can do it, contact me directly - jaakovj at Syneron.com I have no problem in making the code public af

Re: [iText-questions] Error: Unbalancedbegin/end textoperatorssinceiText 5

2010-08-30 Thread Kevin Day
One thing to consider would be the case where multiple content streams get combined to construct a complete content stream. In this case, it may *appear* that a cb stream has a leading BT with no trailing ET, and the trailing ET would wind up in a different stream. I'm not sure if the sanity che

[iText-questions] My email address

2010-08-30 Thread Marco Pirosu
My email address is pir...@gmail.com -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _

Re: [iText-questions] Error: Unbalancedbegin/end textoperatorssinceiText 5

2010-08-30 Thread Mark Storer
That's what I figured... thanks for the quick reply. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Monday, August 30

Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread Mark Storer
I don't believe there are any such examples. This is not an easy task. How proficient with PDF & iText are you? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Jaakov Jalink [m

Re: [iText-questions] Error: Unbalanced begin/end textoperatorssinceiText 5

2010-08-30 Thread Leonard Rosenthol
A BT without a matching ET is an error. If you have any other operators than those allowed inside BT/ET, it's an error. Leonard From: Mark Storer [mailto:msto...@autonomy.com] Sent: Monday, August 30, 2010 2:17 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Error

Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread Leonard Rosenthol
Removing the OCG itself or removing all content that is associated with the OCG? Both/either are quite complex operations that will require you to have a deep understanding of the PDF language and of iText. Leonard From: Jaakov Jalink [mailto:jaak...@syneron.com] Sent: Monday, August 30, 2010 1

Re: [iText-questions] Error: Unbalanced begin/end textoperatorssinceiText 5

2010-08-30 Thread Mark Storer
Somewhere in your program, you've always had an unbalanced number of BT/ET pairs. If you take one of your old PDFs (that was built by the older iTextSharp) and run it through Acrobat Pro's syntax checker, you'll find you have a problem. Adobe's smart enough to Figure It Out, but there are quit

[iText-questions] PDF OCG layer removal

2010-08-30 Thread Jaakov Jalink
Hi, Can anyone post the code to remove all OCG layers with name "Watermark" Or point me to a sample that can remove OCG layers from my files. Thanks. This footnote confirms that this email message has been sca

Re: [iText-questions] Error: Unbalanced begin/end text operatorssinceiText 5

2010-08-30 Thread Paulo Soares
The only problem I can see here is that you are still ignoring the request for a simple, complete, standalone example. I'm ok you that, it's your problem, not mine. Paulo - Original Message - From: alrts To: itext-questions@lists.sourceforge.net Sent: Monday, August 30, 2010 4

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread alrts
Referring back to my first example with ColumnText(), the internal buffer of the ColumnText ct reads just before the document is closed: Canvas = {BT 1 0 0 1 163.67 479.06 Tm /F1 26 Tf (Astrologisches Porträt)Tj ET } This looks pretty much ok, BT being short for BeginText(), then comes the SetSi

[iText-questions] Where is the RTF project for ItextSharp?

2010-08-30 Thread Jason Hilton
Where is the project containing the RTF support for ITextSharp? I know that RTF and HTML support was removed with the 5.0 releases, but where is the ITextSharpRTF project at? I found ITextRTF, but no .net port. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Where-i

Re: [iText-questions] Error: Unbalanced begin/end text operatorssinceiText 5

2010-08-30 Thread Paulo Soares
Here's what you have to do if you want this to advance anywhere: - Provide us with a small but complete code sample exhibiting the problem. Just a class with a Main(), without any dependencies, nothing else. Paulo - Original Message - From: alrts To: itext-questions@lists.sourcef

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread 1T3XT info
alrts wrote: > ... and moreover, if you have experience with ColumnText(), and you look at > my very first example, the one which actually was running for years, it does > not contain any BeginText() and EndText() on the level of ColumnText(). To > my knowledge, this is valid iTextSharp coding, and

Re: [iText-questions] FontMapper enhancement

2010-08-30 Thread Paulo Soares
Your suggestion was applied. Paulo - Original Message - From: Hans Oesterholt-Dijkema To: itext-questions@lists.sourceforge.net Sent: Sunday, August 29, 2010 8:54 AM Subject: [iText-questions] FontMapper enhancement L.S., The default font mapper of iText is not very eff

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread alrts
... and moreover, if you have experience with ColumnText(), and you look at my very first example, the one which actually was running for years, it does not contain any BeginText() and EndText() on the level of ColumnText(). To my knowledge, this is valid iTextSharp coding, and runs flawless on 3.

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread alrts
Yes sure, Document.Open() comes after the writer just as in my first example. And yes, of course, each BeginText() must match with an EndText(). This is the case. Just keep in mind that this code worked perfectly with iTextSharp 3.1.1 for years. -- View this message in context: http://itext-g

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread 1T3XT info
alrts wrote: > Paolo, > > the code is huge and difficult to supply. In the meantime, I could generate > the same error at the ContentByte level. Here it is obvious that something > strange is going on: > > document = new Document(); > document.Open(); > writer = PdfWriter.GetInstance(document, p

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread alrts
I'm afraid this is not the solution. The error still persists. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Error-Unbalanced-begin-end-text-operators-since-iText-5-tp2399694p2400108.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread Leonard Rosenthol
The ONLY THING between BT and ET should be the matrix and the text - move the font calls outside the BT/ET block -Original Message- From: alrts [mailto:edition-b...@swissonline.ch] Sent: Monday, August 30, 2010 8:16 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questio

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread alrts
Paolo, the code is huge and difficult to supply. In the meantime, I could generate the same error at the ContentByte level. Here it is obvious that something strange is going on: document = new Document(); document.Open(); writer = PdfWriter.GetInstance(document, pdfFile); cb = writer.DirectCon

Re: [iText-questions] Error: Unbalanced begin/end text operators sinceiText 5

2010-08-30 Thread Paulo Soares
You must have something else going on. Please post the complete code so that the problem can be reproduced. Paulo - Original Message - From: alrts To: itext-questions@lists.sourceforge.net Sent: Monday, August 30, 2010 8:52 AM Subject: [iText-questions] Error: Unbalanced begi

[iText-questions] Error: Unbalanced begin/end text operators since iText 5

2010-08-30 Thread alrts
When I wanted to use chunk.SetCharacterSpacing(), I realized that it was about time to update my 4 year old iTextSharp library. Many classes disappeared and I had to update my code. However I'm still stuck with an error message which did not show up before, namely Error: Unbalanced begin/end text