Java 类com.lowagie.text.SplitCharacter 实例源码

项目:DroidText    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = DefaultSplitCharacter.DEFAULT;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteArchive    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }
项目:MesquiteCore    文件:PdfChunk.java   
/**
* Constructs a <CODE>PdfChunk</CODE>-object.
*
* @param string the content of the <CODE>PdfChunk</CODE>-object
* @param other Chunk with the same style you want for the new Chunk
*/

   PdfChunk(String string, PdfChunk other) {
       thisChunk[0] = this;
       value = string;
       this.font = other.font;
       this.attributes = other.attributes;
       this.noStroke = other.noStroke;
       this.baseFont = other.baseFont;
       Object obj[] = (Object[])attributes.get(Chunk.IMAGE);
       if (obj == null)
           image = null;
       else {
           image = (Image)obj[0];
           offsetX = ((Float)obj[1]).floatValue();
           offsetY = ((Float)obj[2]).floatValue();
           changeLeading = ((Boolean)obj[3]).booleanValue();
       }
       encoding = font.getFont().getEncoding();
       splitCharacter = (SplitCharacter)noStroke.get(Chunk.SPLITCHARACTER);
       if (splitCharacter == null)
           splitCharacter = this;
   }