org.opencrx.kernel.utils.rtf
Class RtfUtil

java.lang.Object
  extended by org.opencrx.kernel.utils.rtf.RtfUtil

public class RtfUtil
extends Object


Constructor Summary
RtfUtil()
           
 
Method Summary
static String convertDateToRTFString(Date datum)
           
static int getIntegerFromText(String buf, int startpos)
           
static double getMillimeterFromTwip(int twips)
           
static int getPositionOfTagEnd(StringBuffer text, int begin)
           
static int getPositionOfTagEnd(String text, int begin)
           
static String getRTFString(String text)
           
static int getTwipFromMillimeter(double mm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtfUtil

public RtfUtil()
Method Detail

convertDateToRTFString

public static String convertDateToRTFString(Date datum)

getRTFString

public static String getRTFString(String text)

getTwipFromMillimeter

public static int getTwipFromMillimeter(double mm)

getMillimeterFromTwip

public static double getMillimeterFromTwip(int twips)

getIntegerFromText

public static int getIntegerFromText(String buf,
                                     int startpos)

getPositionOfTagEnd

public static int getPositionOfTagEnd(StringBuffer text,
                                      int begin)

getPositionOfTagEnd

public static int getPositionOfTagEnd(String text,
                                      int begin)


This software is published under the BSD license. Copyright © 2003-2013, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.