Package org.apache.poi.hssf.record

Examples of org.apache.poi.hssf.record.TextRecord


    return r;
  }

  private TextRecord createAllTextRecord()
  {
    TextRecord r = new TextRecord();
    r.setHorizontalAlignment( TextRecord.HORIZONTAL_ALIGNMENT_CENTER );
    r.setVerticalAlignment( TextRecord.VERTICAL_ALIGNMENT_CENTER );
    r.setDisplayMode( TextRecord.DISPLAY_MODE_TRANSPARENT );
    r.setRgbColor( 0 );
    r.setX( -37 );
    r.setY( -60 );
    r.setWidth( 0 );
    r.setHeight( 0 );
    r.setAutoColor( true );
    r.setShowKey( false );
    r.setShowValue( true );
    r.setVertical( false );
    r.setAutoGeneratedText( true );
    r.setGenerated( true );
    r.setAutoLabelDeleted( false );
    r.setAutoBackground( true );
    r.setRotation( (short) 0 );
    r.setShowCategoryLabelAsPercentage( false );
    r.setShowValueAsPercentage( false );
    r.setShowBubbleSizes( false );
    r.setShowLabel( false );
    r.setIndexOfColorValue( (short) 77 );
    r.setDataLabelPlacement( (short) 0 );
    r.setTextRotation( (short) 0 );
    return r;
  }
View Full Code Here


    return r;
  }

  private TextRecord createUnknownTextRecord()
  {
    TextRecord r = new TextRecord();
    r.setHorizontalAlignment( TextRecord.HORIZONTAL_ALIGNMENT_CENTER );
    r.setVerticalAlignment( TextRecord.VERTICAL_ALIGNMENT_CENTER );
    r.setDisplayMode( TextRecord.DISPLAY_MODE_TRANSPARENT );
    r.setRgbColor( 0 );
    r.setX( -37 );
    r.setY( -60 );
    r.setWidth( 0 );
    r.setHeight( 0 );
    r.setAutoColor( true );
    r.setShowKey( false );
    r.setShowValue( false );
    r.setVertical( false );
    r.setAutoGeneratedText( true );
    r.setGenerated( true );
    r.setAutoLabelDeleted( false );
    r.setAutoBackground( true );
    r.setRotation( (short) 0 );
    r.setShowCategoryLabelAsPercentage( false );
    r.setShowValueAsPercentage( false );
    r.setShowBubbleSizes( false );
    r.setShowLabel( false );
    r.setIndexOfColorValue( (short) 77 );
    r.setDataLabelPlacement( (short) 11088 );
    r.setTextRotation( (short) 0 );
    return r;
  }
View Full Code Here

TOP

Related Classes of org.apache.poi.hssf.record.TextRecord

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.