You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by Apache Wiki <wi...@apache.org> on 2008/04/03 17:52:21 UTC

[Xmlgraphics-fop Wiki] Trivial Update of "ImprovedKeeps" by JeremiasMaerki

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.

The following page has been changed by JeremiasMaerki:
http://wiki.apache.org/xmlgraphics-fop/ImprovedKeeps

The comment on the change is:
Example of what is meant by using an integer for keep representation

------------------------------------------------------------------------------
  
   2. Find a suitable in-LM representation for the keep values.
  
-     One possibility is to simply use the Property values but that may not be convenient for programming as it may not be type-safe enough. Another is to use an integer and restrict the integer range a little for our purposes. Finally, we could define a hierarchy of constant classes (constant = no modification of values after creation, like java.lang.String).
+     One possibility is to simply use the Property values but that may not be convenient for programming as it may not be type-safe enough. Another is to use an integer and restrict the integer range a little for our purposes (int KEEP_AUTO = Integer.MIN_VALUE, int KEEP_ALWAYS = Integer.MAX_VALUE). Finally, we could define a hierarchy of constant classes (constant = no modification of values after creation, like java.lang.String).
  
   3. Deal with combining keep-together specifiers. Outer stronger keeps need to override inner weaker keeps.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org