Logo Search packages:      
Sourcecode: jexcelapi version File versions  Download package

jxl::biff::XFRecord::XFRecord ( FontRecord  fnt,
DisplayFormat  form 
) [inline]

A constructor used when creating a writable record

Parameters:
fnt the font
form the format

Definition at line 423 of file XFRecord.java.

References align, jxl::format::Colour::AUTOMATIC, backgroundColour, biffType, jxl::format::VerticalAlignment::BOTTOM, bottomBorder, bottomBorderColour, copied, jxl::format::Colour::DEFAULT_BACKGROUND, font, format, formatInfoInitialized, jxl::format::Alignment::GENERAL, hidden, jxl::format::Orientation::HORIZONTAL, indentation, initialized, leftBorder, leftBorderColour, locked, jxl::format::Pattern::NONE, jxl::format::BorderLineStyle::NONE, orientation, parentFormat, pattern, read, rightBorder, rightBorderColour, shrinkToFit, topBorder, topBorderColour, USE_FONT, usedAttributes, valign, wrap, and xfFormatType.

  {
    super(Type.XF);

    initialized        = false;
    locked             = true;
    hidden             = false;
    align              = Alignment.GENERAL;
    valign             = VerticalAlignment.BOTTOM;
    orientation        = Orientation.HORIZONTAL;
    wrap               = false;
    leftBorder         = BorderLineStyle.NONE;
    rightBorder        = BorderLineStyle.NONE;
    topBorder          = BorderLineStyle.NONE;
    bottomBorder       = BorderLineStyle.NONE;
    leftBorderColour   = Colour.AUTOMATIC;
    rightBorderColour  = Colour.AUTOMATIC;
    topBorderColour    = Colour.AUTOMATIC;
    bottomBorderColour = Colour.AUTOMATIC;
    pattern            = Pattern.NONE;
    backgroundColour   = Colour.DEFAULT_BACKGROUND;
    indentation        = 0;
    shrinkToFit        = false;
    usedAttributes     = (byte) (USE_FONT | USE_FORMAT | 
                         USE_BACKGROUND | USE_ALIGNMENT | USE_BORDER);

    // This will be set by the initialize method and the subclass respectively
    parentFormat = 0;
    xfFormatType = null;

    font     = fnt;
    format   = form;
    biffType = biff8;
    read     = false;
    copied   = false;
    formatInfoInitialized = true;

    Assert.verify(font != null);
    Assert.verify(format != null);
  }


Generated by  Doxygen 1.6.0   Back to index