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

jxl::biff::XFRecord::XFRecord ( XFRecord  fmt  )  [inline, protected]

Copy constructor. Used for copying writable formats, typically when duplicating formats to handle merged cells

Parameters:
fmt XFRecord

Definition at line 470 of file XFRecord.java.

References align, backgroundColour, biffType, bottomBorder, bottomBorderColour, copied, font, fontIndex, format, formatIndex, formatInfoInitialized, hidden, indentation, initialized, leftBorder, leftBorderColour, locked, orientation, parentFormat, pattern, read, rightBorder, rightBorderColour, shrinkToFit, topBorder, topBorderColour, valign, wrap, and xfFormatType.

  {
    super(Type.XF);

    initialized  = false;
    locked       = fmt.locked;
    hidden       = fmt.hidden;
    align        = fmt.align;
    valign       = fmt.valign;
    orientation  = fmt.orientation;
    wrap         = fmt.wrap;
    leftBorder   = fmt.leftBorder;
    rightBorder  = fmt.rightBorder;
    topBorder    = fmt.topBorder;
    bottomBorder = fmt.bottomBorder;
    leftBorderColour   = fmt.leftBorderColour;
    rightBorderColour  = fmt.rightBorderColour;
    topBorderColour    = fmt.topBorderColour;
    bottomBorderColour = fmt.bottomBorderColour;
    pattern            = fmt.pattern;
    xfFormatType       = fmt.xfFormatType;
    indentation        = fmt.indentation;
    shrinkToFit        = fmt.shrinkToFit;
    parentFormat       = fmt.parentFormat;
    backgroundColour   = fmt.backgroundColour;

    // Shallow copy is sufficient for these purposes
    font = fmt.font;
    format = fmt.format;

    fontIndex   = fmt.fontIndex;
    formatIndex = fmt.formatIndex;

    formatInfoInitialized = fmt.formatInfoInitialized;

    biffType = biff8;
    read = false;
    copied = true;
  }


Generated by  Doxygen 1.6.0   Back to index