MaxStocker.com   MaxStocker.com    
   
Home About Blog Stuff Contact
 
   
 

August 2009

Status update
Posted : Sun August 30th

Blog reuse tips
Posted : Mon August 17th

Will Canada take Facebook to court?
Posted : Sun August 16th

Death knell for software patents?
Posted : Wed August 12th

Updating JDoctopdf
Posted : Sat August 8th

Privacy and Security
Posted : Fri August 7th

Three IE AJAX gotchas
Posted : Sun July 26th

Max has internet!
Posted : Mon July 20th

Having fun with AJAX and DHTML
Posted : Mon July 13th

Good and bad
Posted : Thu July 9th

JDoctopdf
Posted : Mon June 15th

Ahhhhhhh
Posted : Thu June 11th

Connection resolution (hopefully) and other ISP issues
Posted : Wed June 10th

Signs of Bad Code : Threading
Posted : Sat June 6th

Recent Comments

Max in Whose blog is it anyway?
on Mon May 10th

Rob in Whose blog is it anyway?
on Fri May 7th

Anonymous in SEO and the magic beans
on Thu April 8th

Max in SEO and the magic beans
on Thu April 8th

n.o. in SEO and the magic beans
on Thu April 8th

silky in Right way, wrong way
on Fri February 19th

Categories

Technical
69 Entries

Security
18 Entries

Java
23 Entries

Privacy
6 Entries

Database
11 Entries

Internet
58 Entries

Business
31 Entries

Site Updates
19 Entries

Personal
86 Entries

RSS Feed RSS Feed

Tag Cloud

Updating JDoctopdf
Posted : Saturday August 8th, 2009

I am working on cleaning up a few projects this weekend, including JDoctopdf. There are two items that need attention. One is that I would like the pictures to maintain their size better, I am not sure if that is really fixable or not. The second is that I would like to change the way I handle table borders. As it is the table border issue is pretty hopeless, there are some border and cell "style" properties but my attempts to reverse engineer this have all failed. Sometimes I can almost detect whether a border exists or not, but further testing shows it just doesn't work 100% of the time either way.

The problem is that normally tables have and need borders. It makes their content easier to read. However sometimes tables are used for formatting, for example creating two columns for a header, and in this case adding borders looks stupid. So I had an idea, which is that since I can't detect table borders I will make any table with one row have no border and and tables with two or more rows have a border.

It's not perfect but I think it's the best I can do with the libraries as is.

And I'll probably look at integrating docx support as well. That would be pretty useful I think.

Tags

improvements  Jdoctopdf  tables 

Categories

Java  Personal 

Comments

 
   
  Follow me on Twitter   My Facebook Profile   My LinkedIn Profile   RSS feed of my blog Home   |   About   |   Blog   |   Stuff   |   Contact   |   Privacy Policy  
   
  © 2008 Max Stocker