How about setting up a real forum using something like SMF (simple
machines.org). You can Institute a kamra system and see how many posts
each person has made plus you would have complete control of the site. I
used to contribute a ton of time coding over there and would be willing to
help set it
?thread_name=CALfJ8aNzvQZh7wj%3Dzk0CX5TZWWpsOaOFuQoW3wYt8_JaMp%3DYaQ%40mail.gmail.comforum_name=itext-questions
If you're interesting, please email me. Thank you.
Dominic Maricic
domi...@homeinspectorpro.com
--
Everyone hates
The extensions to ISO-32000-1 by Adobe talk about needing to use richmedia
annotations to insert h.264 video into the pdf. Adobe also states that h.264
can be played without needing an external media player after Adobe 9. I've
been following section 16.3 in the book that has the examples on
(), Video, null, true);
annot = PdfAnnotation.createScreen(writer,rectangle,HIP Video, fs,
video/mp4, false);
writer.addAnnotation(annot);
Any help, or pointing me to a working example would be great. The book has
a swf example but the player is built into the swf file.
Sincerely,
Dominic
Hi Guys,
I've spent a few weeks on trying to insert video into a PDF and just can't
get it to work as I expect it to. Following the book I use annotations and
have tried many different file formats (mp4, wav, avi, etc). With mp4's and
all formats except swf I get a PDF that when I click on the
Hi Guys,
I've spent a few weeks on trying to insert video into a PDF and just can't
get it to work as I expect it to. Following the book I use annotations and
have tried many different file formats (mp4, wav, avi, etc). With mp4's and
all formats except swf I get a PDF that when I click on the
Hi Guys,
I'm trying to insert several mp4s into multiple PdfPCells. It made the most
sense to me to attach the annotation directly on the image but I get an
error that com.lowagie.text.Annotation is required instead of
com.lowagie.text.pdf.PdfAnnotation. So I tried putting the Image into a
Hi Anup,
Check out http://itextpdf.com/examples/iia.php?id=119 for an example of how
I did a watermark. Basically creating a stationary PDF and then writing it
under the content.
There's an example of page numbers here:
http://itextpdf.com/examples/iia.php?id=103
There's MUCH better examples
com.lowagie.tools.Executable.openDocument(fileName); works great on a Mac.
It'll open Mac's own viewer or the default viewer. On Windows it will always
open up Adobe Reader even if Foxit or Adobe Professional is set to the
default reader. I've confirmed this across all Windows OS's and can't find
are noted above). When I did that last time it showed up in the
quoted text, hopefully it won't this time.
If anyone has successfully converted HTML to PDF that was more than just a
single sentence, please let me know! Any help would be greatly appreciated.
Dominic
1T3XT info wrote:
Dominic
I'll download the SVN version and let you know how it goes.
Thanks again,
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
Hi Guys,
I've been working on this problem off and on for the last few weeks and
no
matter what I do I still end up with a problem one way or another.
I've
I just downloaded and built the latest SVN from
https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk15/ and
created this Jar: http://www.nabble.com/file/p21894078/iText-jdk15.jar
iText-jdk15.jar
I'm getting an error though when adding a string to a Paragraph object:
I just downloaded the tar from http://itext.svn.sourceforge.net/viewvc/itext/
and built it and it worked fine. Trying out some of the new features now.
Can someone please let me know the correct location to use for the SVN to
connect with from TortoiseSVN?
Dominic
Dominic Maricic wrote:
I
I've never used either but I'll definitely check them out, thanks!
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
There's no way to use another program to parse the html and the
insert it into a PdfPTable right?
I don't see the problem. In my applications I usually use dom4j
thought was automatic paragraph indention was actually extra
whitespace the editor added to make the source code look clean.
Thanks again for the clarity! I finally have something I can start working
on.
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
HTML Input: http://www.nabble.com/file
whitespace
and post what I come up with for others!
Thanks again for all the hard work!
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
I did not find
this noted in the book or anywhere else online. Did I miss something?
p459: You typically won’t use HtmlWorker to parse complete HTML
and I want to get it resolved!
Thanks,
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
As I mentioned before, sorry about not working through an example better.
You got a second chance to correct this, but:
I remember why I switched to instead of p
There's a tag missing
the p tag should look like that).
Files are attached. Hopefully this will make it quick and easy to review.
Thanks,
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
Hi Guys,
I'm using HTMLWorker to parse html and seem to be able to get almost
everything to work except for alignment
I apologize for the alignment mistake. I spent a few hours after you showing
that your code worked trying to find my problem. It turns out that about a
year ago when I was using the old 1.x iText versions I had made the program
convert p to as the paragraph tags weren't working properly at the
Hi Guys,
I'm using HTMLWorker to parse html and seem to be able to get almost
everything to work except for alignment. The editor I'm using generates
alignment as below. I couldn't figure out what the change with loadTagStyle
to get this to work. What am I missing?
p align=centerCenter Me/p
() has already moved on even though the new page
doesn't exist?
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
Nobody has an answer? I've supplied runnable code that reproduces the
error
every time.
It works for me with only a minor adjustment. You made the mistake
thinking the current
Ok, that makes sense now! I have been using the book (thanks) and will
definitely pick up the new version when it's released.
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
Thanks that fixed my problem! I don't understand why
writer.reorderPages(null) would return a different number
Nobody has an answer? I've supplied runnable code that reproduces the error
every time. It does this on every 2.x iText version I've tried. Works fine
on the old 1.x versions. If anyone has ideas, please let me know, even if
it's a temporary fix!
Thanks,
Dominic
Dominic Maricic wrote:
I
This is in reference to previous question posted:
http://www.nabble.com/Problems-with-getPageNumber-to20822470.html#a20822470
and a request for code to reproduce the problem.
You'll see that if you change the loop outputting the table of contents to
be anything but 42 or 43 then everything works
I have that in the original code, it doesn't help. When I was shrinking down
the bug test code I removed everything that didn't make the error go away.
Any other ideas?
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
Your help is greatly appreciated!
One observation (I don't know
I haven't had time to work on a sample yet, but I did roll back to iText
1.4.7 and the problem went away. So there is something in 2.1.4 that causes
this problem. I'll send more info when I have time, hopefully this sparks an
idea with someone who knows about the changes done.
--
View this
That would be great. There's not too much info on it out there.
1T3XT info wrote:
Andrea Conti wrote:
The constants of HtmlTags are used in HTMLWorker, but not all of them
are supported (as far as I know). I should write some extra
documentation about HTMLWorker.
--
View this
Anyone know if there is a list of what html is supported by htmlworker?
Thanks,
Dominic Maricic
--
View this message in context:
http://www.nabble.com/List-of-HTML-Supported--tp20904154p20904154.html
Sent from the iText - General mailing list archive at Nabble.com
to replicate it, but I'll get
it done and post it.
Thanks again for all you've done.
Dominic Maricic
--
View this message in context:
http://www.nabble.com/iText-mailing-list-info-tp20883521p20887980.html
Sent from the iText - General mailing list archive at Nabble.com
,
Dominic
1T3XT info wrote:
Dominic Maricic wrote:
Anyone have any ideas here? This is really holding me back right now!
I think I know the problem, but I should write a battery of test
samples before I can start working on a solution. I currently don't
have the time to do that, sorry
Anyone have any ideas here? This is really holding me back right now!
Thanks.
Dominic Maricic wrote:
Hi Guys,
I've been using iText for years (using the latest version right now) and
have
had one problem that's occasionally occured. I finally sat down and tried
to
figure
That's really strange, it only shows once on
http://news.gmane.org/gmane.comp.java.lib.itext.generalwhich is what I've
been using. Guess I'll use nabble from now on.
Thanks,
Dominic
On Thu, Dec 4, 2008 at 12:44 AM, Alexis Pigeon [EMAIL PROTECTED]wrote:
Hi Dominic,
On 03/12/2008, Dominic
Hi Guys,
I've been using iText for years (using the latest version right now) and have
had one problem that's occasionally occured. I finally sat down and tried to
figure the problem out and here's my issue:
I generate a table of contents which is a combination of a few tables. I call
Hi Guys,
I've been using iText for years (using the latest version right now) and have
had one problem that's occasionally occured. I finally sat down and tried to
figure the problem out and here's my issue:
I generate a table of contents which is a combination of a few tables. I call
Hi Guys,
Sorry if this posts twice. I tried posting it using Google Chrome about 14 hours
ago and it still hasn't appeared so I'm going to assume it's another bug in
their program.
I've been using iText for years (using the latest version right now) and have
had one problem that's occasionally
Hi Guys,
This isn't directly a iText issue, but since I'm sure many of you have come
across it, I'm hoping someone has a solution, as I can't find one online. After
several suggestions here I've begun storing logos (mostly line art) in the form
of png files. The problem is all the methods I see
Leonard Rosenthol leonardr at pdfsages.com writes:
Keep the data as vector-based formats would be the best choice.
However, if you do wish to use raster formats, then be sure to apply
the necessary scale factor.
Leonard
Hi Leonard,
That's my problem. After spending 5 hours
It seems there is more to this. After using the code above to save the png,
photoshop told me the image was 72dpi. Using the libpng library I was able to
see that the meta data for the resolution of the new image doesn't exist, but it
does for the original. So the problem seems to be that either
wasegraves at bellsouth.net writes:
I'm somewhat mystified by your efforts to pre-process images that are already
in formats that can be
handled entirely by iText methods. iText has all the methods you need to
determine the dimensions of any
image (that it is designed to employ). You can
Bill Ensley bill at bearprinting.com writes:
I have responded time and time again to this issue.
I am posting this again so that it goes into the mailing list archives.
Images do not have a DPI. Period.
Images are made of Pixels.
You make your DPI when you scale an image in a
Leonard Rosenthol leonardr at pdfsages.com writes:
On Apr 14, 2008, at 4:06 AM, Dominic Maricic wrote:
Currently the source images are jpg, gif or png that the user adds
to our
program. I'm looking for guidelines for format and dpi to give them
to get a
better looking image
wasegraves at bellsouth.net writes:
Dominic,
I'm adding commentary here, because I don't have your previous messages
availabel at the moment. I expect
Bruno is busy with other matters right now, so please don't expect an answer
to your (rhetorical?)
question immediately.
IMO, your
Leonard Rosenthol leonardr at pdfsages.com writes:
Let's start at the beginning...
What is the SOURCE format of this line art?
Leonard
Currently the source images are jpg, gif or png that the user adds to our
program. I'm looking for guidelines for format and dpi to give them to get a
1T3XT info info at 1t3xt.info writes:
Actually, this would make an interesting FAQ entry.
Sounds good to me :) I've been using iText for 3 years now and this really just
came to light and is really bugging me!
Dominic
-
1T3XT info info at 1t3xt.info writes:
Dominic Maricic wrote:
What do you guys recommend?
I know it's not an option, but the 1T3XT logo was made using
Bezier curves. On 1t3xt.cpm it's a gif file, but when needed
in PDF, I use the PDF syntax (looks great at any scale).
So what would you
If that's the case (you didn't mention that before) - then it means
that you incorrectly set the scaling transform so that the image
isn't drawing 1:1.
However, it still remains that the JPEG (Joint PHOTOGRAPHIC Expert
Group) file format is NOT suitable for non-photo
Hi Bruno,
I'm using gmane.org to access this list, is there a better way?
I didn't see the ability to add attachments or I would have attached the logo.
I don't mind you posting it as it might help another person.
I'm sorry about bothering you via email!
Changing the resolution in acrobat in
Bruno Lowagie bruno at lowagie.com writes:
I think the best solution for Dominic is indeed to change
his policy for logo's: no more plain JPEGs.
br,
Bruno
What do you guys recommend? I tried png's and tiff. and they had the same
problem at 72dpi. I can change everything to 110dpi for
Leonard Rosenthol leonardr at pdfsages.com writes:
Yes, Adobe Reader 8 (all platforms) ships with a custom resolution of
110 dpi in order to future proof the application.
Leonard
Ok, so I got it, 110dpi for viewing is what to set a logo at. What about
printing as the images don't print
Leonard Rosenthol leonardr at pdfsages.com writes:
Don't use JPEG for vector/text data.
Leonard
If the JPEG is fine when viewing in IE or Photoshop, why would it be distorted
on the PDF?
Bruno, I'll email you a copy of the pdf and see if you can insert it ok.
Dominic
Its distorted when I print it as well.
Straight lines fare better, cursive in the images gets blurred more.
I don't get it. Any ideas?
Thanks in advanced. I looked in the book first but didn't find any hints.
Dominic
-
Hi Bruno,
What are the chances of the setSplitLate being adding to cells in the next
release? I tried rewriting my code to use all tables and I still run into
problems as there are certain tables that I have to make sure run together. It
becomes quite a mess when trying to accomplish this with
No problem, I know the feeling!! What's a vacation?
Dominic
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
I think I have a pretty good grasp of how PdfPTable works. The problem is that I
have lots of nested tables. Some of them have cells I'm ok getting split, some
of them I don't want to be split. It seems the only way to get the continuous
example you showed is to set the master table
. For now I
will try to rewrite the code to use multiple separate tables and see if I can
accomplish it that way.
By the way, if you still have a place where you list programs using iText feel
free to add us. I couldn't find it on your site anymore.
Thanks,
Dominic Maricic
Home Inspector Pro
Hi Bruno,
Thanks, I didn't see that part about changing the master table. That does take
me a bit closer, but creates a different problem. Now header row can be split
from the left table under it (the right table under it contained the text) if
which creates a problem as I don't want that to
Bruno? Paul? Any ideas?
Thanks,
Dominic
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
Bruno Lowagie bruno at lowagie.com writes:
Dominic Maricic wrote:
Any idea why I'm getting the giant row that takes up all of page 2? It only
happens when the content following it is greater than a page.
This is expected behavior.
Please read what the book says about splitting tables
Hi Bruno,
Thanks for the quick response. I have the book, and read it often :D When using
the table.setSplitLate(false); it does not create the full page cell like you
said, but the cell still starts on the next page. How can I make it start right
below the previous cell and just continue on like
and cells.
Any idea why I'm getting the giant row that takes up all of page 2? It only
happens when the content following it is greater than a page.
Thanks in advance.
Dominic Maricic
Home Inspector Pro
http://www.HomeInspectorPro.com
I'm using the Chapter feature to create bookmarks. The problem is that I also
generate a table of contents after I process everything else (so I know what
pages everything is at). If I create a bookmark for the TOC it shows last in the
bookmark list. Is there a way to move it to the top?
Thanks,
Thanks Paulo, That worked great. Now I just need to figure out why the DOM
automatically wraps text in paragraph tags (p/p). This is built into the Sun
HTMLEditorKit class and is driving me nuts. It makes it impossible to have code
on two subsequent lines. Instead every time you hit enter the text
Hi Paulo ,
Thanks for the quick response. Are there some examples of HTMLWorker in use?
I was able to get the example I gave to work following what you said, but
something like the following still bunches up when there is a p tag that
should wrap to the next line. My code is below too.
html
I am trying to create a pdf from a String storing html code.
The problem is thatthe pdf is generated with the entire text
on the same line. So what should be 100 line pdf is now 1 line
with all 100 lines stacked on top of each other (looks like
a big black blob).
Here is an example of the
I tried 1.4.7 just to see if it was a bug, but the problem exists in 1.4.7 too.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on
Ensley" [EMAIL PROTECTED]Date: Fri, 9 Dec 2005 21:40:39 -0800To: "'Dominic Maricic'" [EMAIL PROTECTED], "iText Mail Group" itext-questions@lists.sourceforge.netSubject: RE: [iText-questions] text editor and itext I use one, you simply pass a PdfGraphics2D object to the JTextAre
to get the
StyledDocument and parse that into iText?
Give me some context for
your project what is the end goal?
I will be happy to put
together an example, just get me started.
-Bill Ensley
Bear Printing
From: Dominic
Maricic [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 10
!
Thanks,
Dominic
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Ensley
Sent: Saturday, December 10, 2005 4:01 PM
To: 'Dominic Maricic'; iText Mail
Group
Subject: RE: [iText-questions]
text editor and itext
Do you need to place
().height() - 40);
Dominic
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Ensley
Sent: Saturday, December 10, 2005 4:13 PM
To: 'Dominic Maricic'; iText Mail
Group
Subject: RE: [iText-questions]
text editor and itext
It can still be placed
anywhere
Are there any examples of an editor like JTextArea
that has color, and the usual bold underline, italics and then they data
is transferred into itext? Id like to have
such an editor and would rather not have to reinvent the wheel. If not, any
tips and direction would be greatly
The problem is that some of them don't have a value.
I have a midlet (j2me program) that sends data to my servlet,
which fills in the form.
If their isn't data for a field then it won't get flattened.
Do I have to make sure to set a checkbox to No? Do I have to
add a space to every text
-questions@lists.sourceforge.net; Dominic Maricic
Subject: Re: [iText-questions] Re: Flatten almost All fields
You don't have any problem. If your original PDF was created by some
half
baked app that didn't put the appearances where it should have then
you'll
have to go to each field and get/set
I have about 200 fields in my form. I want to flatten all of them except whether
they are filled or not, except for 5 which are to remain unflattened. Whats the
best way to do this?
I tried using stamp.setFormFlattening(true); and then
stamp.partialFormFlattening(fieldName); on all 200
Was this ever added? This feature would make a project I am working on A LOT
easier. I need to fill in 80% of a form using the PdfStamper and want those
flattened but I still want to leave about 10 fields unflattened so the user can
add them.
Thanks!
Dominic Maricic
if its possible to still use iText?
Id like to be able to create pdfs and
then email them off. Any suggestions/comments would be appreciated.
Thanks,
Dominic Maricic
great! Thanks :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dominic Maricic
Sent: Friday, July 15, 2005 12:27 PM
To: itext-questions@lists.sourceforge.net
Cc: 'bruno'
Subject: RE: [iText-questions] Page Numbering
Hi Bruno,
Right now I build the ToC
-Original Message-
From: bruno [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 12:01 AM
To: Dominic Maricic
Cc: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Page Numbering
Dominic Maricic wrote:
Could someone please explain the concept of creating the pdf in 2
Could someone please explain the concept of creating the pdf in 2 passes, the second time to create the page numbers. I cant do page numbers using page events as
it screws up when my table of contents is greater than one page. It seems the
best method would be 2 passes. I would appreciate
I should have thought of that.
(smacks forehead)
Thanks :)
-Original Message-
From: bruno [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 12:30 AM
To: Dominic Maricic
Cc: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Pdf Corruption
Dominic Maricic wrote
I have my program in a jar and have itext in the same
directory. I then run it using javaw from an icon on my desktop. On my personal
computer my program creates the pdfs perfectly. I have the full 1.4.2
jdk installed. I tried the exact same setup on several other windows xp
machines but
(ioe.getMessage());
}
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic Maricic
Sent: Monday, June 06, 2005 12:36
PM
To:
itext-questions@lists.sourceforge.net
Subject: [iText-questions] Pdf
Corruption
I have my program in a jar and have
itext
Ive seen this question asked before, but it wasnt
answered. I am adding a multiple PdfPTables on
each page. Inside the table the first cell calls getPageNumber() so that I
can display something like 3.4, next table would have 3.5, etc where the 3 is
the page number. The problem is that if
82 matches
Mail list logo