cvs commit: xml-fop Copyright_2.0_txt Copyright_1.1_txt Copyright_2.0_java Copyright_1.1_java

2004-01-28 Thread pbwest
pbwest  2004/01/28 22:35:19

  Modified:.Tag: FOP_0-20-0_Alt-Design Copyright_2.0_txt
Copyright_1.1_txt Copyright_2.0_java
Copyright_1.1_java
  Log:
  Changed from binary to ascii -kkv
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.3   +0 -0  xml-fop/Attic/Copyright_2.0_txt
  
  Index: Copyright_2.0_txt
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_2.0_txt,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  
  
  
  1.1.2.3   +0 -0  xml-fop/Attic/Copyright_1.1_txt
  
  Index: Copyright_1.1_txt
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_1.1_txt,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  
  
  
  1.1.2.3   +0 -0  xml-fop/Attic/Copyright_2.0_java
  
  Index: Copyright_2.0_java
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_2.0_java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  
  
  
  1.1.2.3   +0 -0  xml-fop/Attic/Copyright_1.1_java
  
  Index: Copyright_1.1_java
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_1.1_java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop lic_to_2

2004-01-28 Thread pbwest
pbwest  2004/01/28 21:23:28

  Added:   .Tag: FOP_0-20-0_Alt-Design lic_to_2
  Log:
  Change binary to -kkv status
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.1   +40 -0 xml-fop/Attic/lic_to_2
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop Copyright_2.0_txt Copyright_2.0_java

2004-01-28 Thread pbwest
pbwest  2004/01/28 21:03:05

  Modified:.Tag: FOP_0-20-0_Alt-Design Copyright_2.0_txt
Copyright_2.0_java
  Log:
  Replaced actual year with a {YEARS} marker.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.2   +1 -2  xml-fop/Attic/Copyright_2.0_txt
  
  Index: Copyright_2.0_txt
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_2.0_txt,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- Copyright_2.0_txt 28 Jan 2004 06:58:09 -  1.1.2.1
  +++ Copyright_2.0_txt 29 Jan 2004 05:03:04 -  1.1.2.2
  @@ -1,5 +1,5 @@
   
  -   Copyright 2004 The Apache Software Foundation.
  +   Copyright {YEARS} The Apache Software Foundation.
   
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  @@ -12,4 +12,3 @@
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -
  
  
  
  1.1.2.2   +1 -1  xml-fop/Attic/Copyright_2.0_java
  
  Index: Copyright_2.0_java
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_2.0_java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- Copyright_2.0_java28 Jan 2004 06:58:09 -  1.1.2.1
  +++ Copyright_2.0_java29 Jan 2004 05:03:04 -  1.1.2.2
  @@ -1,5 +1,5 @@
*
  - * Copyright 2004 The Apache Software Foundation.
  + * Copyright {YEARS} The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop Copyright_1.1_txt Copyright_1.1_java

2004-01-28 Thread pbwest
pbwest  2004/01/28 21:02:31

  Modified:.Tag: FOP_0-20-0_Alt-Design Copyright_1.1_txt
Copyright_1.1_java
  Log:
  Added missing text from license.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.2   +11 -0 xml-fop/Attic/Copyright_1.1_txt
  
  Index: Copyright_1.1_txt
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_1.1_txt,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- Copyright_1.1_txt 28 Jan 2004 06:58:09 -  1.1.2.1
  +++ Copyright_1.1_txt 29 Jan 2004 05:02:30 -  1.1.2.2
  @@ -34,3 +34,14 @@
  FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
  +   DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
  +   OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
  +   ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
  +   (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
  +   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  +
  +   This software  consists of voluntary contributions made  by many individuals
  +   on  behalf of the Apache Software  Foundation and was  originally created by
  +   James Tauber <[EMAIL PROTECTED]>. For more  information on the Apache 
  +   Software Foundation, please see .
  + 
  \ No newline at end of file
  
  
  
  1.1.2.2   +10 -0 xml-fop/Attic/Copyright_1.1_java
  
  Index: Copyright_1.1_java
  ===
  RCS file: /home/cvs/xml-fop/Attic/Copyright_1.1_java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- Copyright_1.1_java28 Jan 2004 06:58:09 -  1.1.2.1
  +++ Copyright_1.1_java29 Jan 2004 05:02:30 -  1.1.2.2
  @@ -34,3 +34,13 @@
* FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
* APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
  + * DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + * OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
  + * ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
  + * (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
  + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + * 
  + * This software  consists of voluntary contributions made  by many individuals
  + * on  behalf of the Apache Software  Foundation and was  originally created by
  + * James Tauber <[EMAIL PROTECTED]>. For more  information on the Apache 
  + * Software Foundation, please see .
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop/src/java/org/apache/fop/datastructs Node.java

2004-01-28 Thread pbwest
pbwest  2004/01/28 18:53:37

  Modified:src/java/org/apache/fop/datastructs Tag:
FOP_0-20-0_Alt-Design Node.java
  Log:
  Added:
  getPrecedingSibling
  getFollowingSibling
  precedingLeaf
  followingLeaf
  to support resolution of keeps and space-specifiers.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.5   +153 -12   xml-fop/src/java/org/apache/fop/datastructs/Attic/Node.java
  
  Index: Node.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/datastructs/Attic/Node.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- Node.java 28 Jan 2004 06:19:56 -  1.1.2.4
  +++ Node.java 29 Jan 2004 02:53:37 -  1.1.2.5
  @@ -181,7 +181,7 @@
   }
   
   /**
  - * Insert a subtree at a specified index position in the child list.
  + * Inserts a subtree at a specified index position in the child list.
* @param index position of subtree within children
* @param subtree to insert
* @throws IndexOutOfBoundsException
  @@ -194,7 +194,7 @@
   }
   
   /**
  - * Add a subtree to the child list.
  + * Adds a subtree to the child list.
* @param subtree to insert
* @throws IndexOutOfBoundsException
*/
  @@ -382,7 +382,7 @@
   }
   
   /**
  - * Delete this subtree and return a count of the deleted
  + * Deletes this subtree and returns a count of the deleted
* nodes.  The deletion is effected by cutting the references between
* this and its parent (if any).  All other relationships
* within the subtree are maintained.
  @@ -430,7 +430,7 @@
   }
   
   /**
  - * Get the parent of this Node.
  + * Gets the parent of this Node.
* @return the parent Node.
*/
   public Node getParent() {
  @@ -443,7 +443,7 @@
   }
   
   /**
  - * Set the parent field of this node.
  + * Sets the parent field of this node.
* @param parent the reference to set
*/
   public void setParent(Node parent) {
  @@ -457,7 +457,7 @@
   }
   
   /**
  - * Nullify the parent Node of this node.
  + * Nullifies the parent Node of this node.
*/
   public void unsetParent() {
   if (synchronize) {
  @@ -469,7 +469,7 @@
   }
   
   /**
  - * Get the n'th child of this node.
  + * Gets the n'th child of this node.
* @param n - the int index of the child to return.
* @return the Node reference to the n'th child.
*/
  @@ -485,7 +485,7 @@
   }
   
   /**
  - * Get an Iterator over the children of this node.
  + * Gets an Iterator over the children of this node.
* @return the Iterator.
*/
   public Iterator nodeChildren() {
  @@ -500,7 +500,7 @@
   }
   
   /**
  - * Get the number of children of this node.
  + * Gets the number of children of this node.
* @return the int number of children.
*/
   public int numChildren() {
  @@ -513,7 +513,148 @@
   if (children == null) return 0;
   return children.size();
   }
  -
  +
  +/**
  + * Gets the preceding sibling of this Node,
  + * or null if none.
  + * @return the sibling node
  + */
  +public Node getPrecedingSibling() {
  +if (synchronize) {
  +synchronized (this) {
  +if (this.parent == null) return null;
  +int thisChild = parent.children.indexOf(this);
  +if (thisChild == 0) return null;
  +return parent.getChild(--thisChild);
  +}
  +}
  +if (this.parent == null) return null;
  +int thisChild = parent.children.indexOf(this);
  +if (thisChild == 0) return null;
  +return parent.getChild(--thisChild);
  +}
  +
  +/**
  + * Gets the following sibling of this Node,
  + * or null if none.
  + * @return the sibling node
  + */
  +public Node getFollowingSibling() {
  +if (synchronize) {
  +synchronized (this) {
  +if (this.parent == null) return null;
  +int thisChild = parent.children.indexOf(this);
  +if (++thisChild >= parent.numChildren()) return null;
  +return parent.getChild(thisChild);
  +}
  +}
  +if (this.parent == null) return null;
  +int thisChild = parent.children.indexOf(this);
  +if (++thisChild >= parent.numChildren()) return null;
  +return parent.getChild(thisChild);
  +}
  +
  +/**
  + * Gets the leaf Node immediately preceding this node in the
  + * pre-order tree rooted on the nominalRoot, or, if the
  + * nominal root is not encountered, the actual root.
  + * In a 

¨´·ÐàºÕ¹â´àÁ¹à¹ÁãËÁè 550ºÒ· ¿ÃÕ Unix server 10MB+ 1e-mail

2004-01-28 Thread miss_nok13
©Åͧµé͹ÃѺ»ÕãËÁè 2004  àÍÒ㨤¹ÍÂÒ¡ÁÕàÇ纴ͷ¤ÍÁ ´éÇÂâ»ÃâÁªÑè¹¾ÔàÈÉÊØ´
à¾Õ§·èÒ¹¨´·ÐàºÕ¹â´àÁ¹à¹ÁãËÁèÇѹ¹Õé

**  .com, .net, .org ÃÒ¤Ò 550 ºÒ·/»Õ
**  .co.th, .in.th, .or.th , .ac.th ÃÒ¤Ò 2,000 ºÒ·/2»Õ
**  .biz , .info ÃÒ¤Ò 1,100 ºÒ·/2 »Õ

äÁèÇèÒ·èÒ¹¨Ð¨´·ÐàºÕ¹â´àÁ¹à¹ÁãËÁè㹪×èÍã´ ¡çÁÕÊÔ·¸Ôä´éÃѺ
+ ¿ÃÕ Server Hosting Unix 10MB
+ ¿ÃÕ E-mail account 1 account
+ ¿ÃÕ Counter + Stats on web

ÃÕº¨Í§ª×èÍâ´àÁ¹à¹Á¢Í§¤Ø³Çѹ¹Õé ¡è͹·Õè¨Ð¶Ù¡¤¹Í×蹩¡©ÇÂä»

** ËÁ´à¢µ 31 Á¡ÃÒ¤Á 2547 È¡¹Õé **

ʹã¨ÊÑ觫×é͵ԴµèÍ ¤Ø³Ë¹Ù¹Ò 0-1424-5474 , 0-2928-4928
e-mail : [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 26469] - Text without spaces is not wrapped

2004-01-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26469

Text without spaces is not wrapped

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-01-28 20:19 ---
Actually that's not really a bug.
Check the FAQ for dealing with this kind of problem
 http://xml.apache.org/fop/faq.html#cells-overflow


cvs commit: xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc RtfPage.java

2004-01-28 Thread pherweg
pherweg 2004/01/28 11:00:10

  Modified:src/java/org/apache/fop/render/rtf
PageAttributesConverter.java RTFHandler.java
   src/java/org/apache/fop/render/rtf/rtflib/rtfdoc
RtfPage.java
  Log:
  improved support for margin-top and margin-bottom in fo:region-XXX
  
  Revision  ChangesPath
  1.4   +89 -25
xml-fop/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java
  
  Index: PageAttributesConverter.java
  ===
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PageAttributesConverter.java  29 Dec 2003 23:28:47 -  1.3
  +++ PageAttributesConverter.java  28 Jan 2004 19:00:09 -  1.4
  @@ -56,6 +56,8 @@
   //FOP
   import org.apache.fop.apps.FOPException;
   import org.apache.fop.fo.Constants;
  +import org.apache.fop.fo.pagination.Region;
  +import org.apache.fop.fo.pagination.SimplePageMaster;
   import org.apache.fop.fo.Property;
   import org.apache.fop.fo.PropertyList;
   import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes;
  @@ -72,48 +74,110 @@
   private static Logger log = new ConsoleLogger();
   
   /** convert xsl:fo attributes to RTF text attributes */
  -static RtfAttributes convertPageAttributes(PropertyList props, PropertyList 
defProps) {
  -RtfAttributes attrib = null;
  -
  +static RtfAttributes convertPageAttributes(SimplePageMaster pagemaster) {
  +RtfAttributes attrib = new RtfAttributes();
  +
   try {
  -Property p;
  -
  -if (defProps != null) {
  -attrib = convertPageAttributes(defProps, null);
  -} else {
  -attrib = new RtfAttributes();
  -}
  -
  +FoUnitsConverter converter = FoUnitsConverter.getInstance();
  +
  +float fPageTop = 0;
  +float fPageBottom = 0;
  +PropertyList props = null;
  +Property p = null;
  +Float f = null;
  +
  +Region before = pagemaster.getRegion("before");
  +Region body   = pagemaster.getRegion("body");
  +Region after  = pagemaster.getRegion("after");
  +
  +//page attributes
  +props = pagemaster.propertyList;
  +
   if ((p = props.get(Constants.PR_PAGE_WIDTH)) != null) {
  -Float f = new Float(p.getLength().getValue() / 1000f);
  +f = new Float(p.getLength().getValue() / 1000f);
   attrib.set(RtfPage.PAGE_WIDTH,
  -(int)FoUnitsConverter.getInstance().convertToTwips(f.toString() 
+ "pt"));
  +(int)converter.convertToTwips(f.toString() + "pt"));
   }
  +
   if ((p = props.get(Constants.PR_PAGE_HEIGHT)) != null) {
  -Float f = new Float(p.getLength().getValue() / 1000f);
  +f = new Float(p.getLength().getValue() / 1000f);
   attrib.set(RtfPage.PAGE_HEIGHT,
  -(int)FoUnitsConverter.getInstance().convertToTwips(f.toString() 
+ "pt"));
  +(int)converter.convertToTwips(f.toString() + "pt"));
   }
  + 
   if ((p = props.get(Constants.PR_MARGIN_TOP)) != null) {
  -Float f = new Float(p.getLength().getValue() / 1000f);
  -attrib.set(RtfPage.MARGIN_TOP,
  -(int)FoUnitsConverter.getInstance().convertToTwips(f.toString() 
+ "pt"));
  +fPageTop = p.getLength().getValue() / 1000f;
   }
  +
   if ((p = props.get(Constants.PR_MARGIN_BOTTOM)) != null) {
  -Float f = new Float(p.getLength().getValue() / 1000f);
  -attrib.set(RtfPage.MARGIN_BOTTOM,
  -(int)FoUnitsConverter.getInstance().convertToTwips(f.toString() 
+ "pt"));
  +fPageBottom = p.getLength().getValue() / 1000f;
   }
  +
   if ((p = props.get(Constants.PR_MARGIN_LEFT)) != null) {
  -Float f = new Float(p.getLength().getValue() / 1000f);
  +f = new Float(p.getLength().getValue() / 1000f);
   attrib.set(RtfPage.MARGIN_LEFT,
  -(int)FoUnitsConverter.getInstance().convertToTwips(f.toString() 
+ "pt"));
  +(int)converter.convertToTwips(f.toString() + "pt"));
   }
   if ((p = props.get(Constants.PR_MARGIN_RIGHT)) != null) {
  -Float f = new Float(p.getLength().getValue() / 1000f);
  +f = new Float(p.getLength().getValue() / 1000f);
   attrib.set(RtfPage.MARGIN_RIGHT,
  -(int)

hi

2004-01-28 Thread root
Message sent from <[EMAIL PROTECTED]>
infected by virus and has not been delivered.
Viruses:
infected with Win32.HLLM.MyDoom.32768

Original message was stored in the archive.
To receive original message please contact postmaster:
[EMAIL PROTECTED]

Archive record: archive.msg.YeMfDz
Antivirus service provided by Dr.Web Daemon (www.sald.com)