Thursday, March 30, 2006

db2 - SQL Tutorial

In search for a "group-by" howto I found a nice german
db2 - SQL-Tutorial

Edited 07.03.07:new Link db2 SQL Tutorial

Monday, March 27, 2006

Eclipse Shortcuts

I don't know, what a single PDF has lost on sourceforge, but it is real great!
http://eclipse-tools.sourceforge.net/shortcuts.html

Wednesday, March 22, 2006

Page XX of XX with xsl-fo

If you want the Page-number in a XSL you use <fo:page-number>
but what if you want the pagenumber followed by the total pagenumber ?
the trick is to add <fo:page-number-citation ref-id="endofdoc"/> with the tag
<fo:block id="endofdoc"/> at the end of the stylesheet.

Tuesday, March 21, 2006

Prevent Pagebreak with xsl-fo

If you want to prevent Pagebreak within a fo:table-row you have to add the following attribute to your row:
<fo:table-row column="always">
Other possible values than "always" are:
  • auto ... no restrictions for page break
  • Integer-Values ... e.g. 3. No Pagebreak if there is no other, stronger pagebreak requirement
keep-together. can also be used with
  • within-column for pagebreak in one line
  • within-page for pagebreak in one page
the Attribute can be added to
  • fo:basic-link
  • fo:block
  • fo:block-container
  • fo:inline
  • fo:inline-container
  • fo:list-block
  • fo:list-item
  • fo:list-item-body
  • fo:list-item-label
  • fo:table
  • fo:table-and-caption
  • fo:table-caption
  • fo:table-row

Monday, March 20, 2006

Thursday, March 16, 2006

Welcome

In this Blog I want to post Tips & Tricks for Java Developers which I consider as beeing important or assistant.