public final class FtPioGrbitSubRecord extends SubRecord
SubRecord.SubRecordTypes
Modifier and Type | Field and Description |
---|---|
static int |
AUTO_LOAD_BIT
A bit that specifies whether the OLE server for the object is called
to load the object's data automatically when the parent workbook is opened.
|
static int |
AUTO_PICT_BIT
A bit that specifies whether the picture's aspect ratio is preserved when rendered in
different views (Normal view, Page Break Preview view, Page Layout view and printing).
|
static int |
CAMERA_BIT
A bit that specifies whether this is a camera picture.
|
static int |
CTL_BIT
A bit that specifies whether this object is an ActiveX control.
|
static int |
DDE_BIT
A bit that specifies whether the pictFmla field of the Obj record that contains
this FtPioGrbit specifies a DDE reference.
|
static int |
DEFAULT_SIZE_BIT
A bit that specifies whether this picture's size has been explicitly set.
|
static int |
ICON_BIT
A bit that specifies whether the picture is displayed as an icon.
|
static short |
length |
static int |
PRINT_CALC_BIT
A bit that specifies whether this object is expected to be updated on print to
reflect the values in the cell associated with the object.
|
static int |
PRSTM_BIT
A bit that specifies whether the object data are stored in an
embedding storage (= 0) or in the controls stream (ctls) (= 1).
|
static short |
sid |
Constructor and Description |
---|
FtPioGrbitSubRecord()
Construct a new
FtPioGrbitSubRecord and
fill its data with the default values |
FtPioGrbitSubRecord(FtPioGrbitSubRecord other) |
FtPioGrbitSubRecord(LittleEndianInput in,
int size) |
Modifier and Type | Method and Description |
---|---|
FtPioGrbitSubRecord |
copy() |
protected int |
getDataSize() |
boolean |
getFlagByBit(int bitmask) |
short |
getFlags() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
SubRecord.SubRecordTypes |
getGenericRecordType() |
short |
getSid() |
void |
serialize(LittleEndianOutput out)
Serialize the record data into the supplied array of bytes
|
void |
setFlagByBit(int bitmask,
boolean enabled)
Use one of the bitmasks MANUAL_ADVANCE_BIT ...
|
void |
setFlags(short flags) |
createSubRecord, isTerminating, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public static final short length
public static final int AUTO_PICT_BIT
public static final int DDE_BIT
public static final int PRINT_CALC_BIT
public static final int ICON_BIT
public static final int CTL_BIT
public static final int PRSTM_BIT
public static final int CAMERA_BIT
public static final int DEFAULT_SIZE_BIT
public static final int AUTO_LOAD_BIT
public FtPioGrbitSubRecord()
FtPioGrbitSubRecord
and
fill its data with the default valuespublic FtPioGrbitSubRecord(FtPioGrbitSubRecord other)
public FtPioGrbitSubRecord(LittleEndianInput in, int size)
public void setFlagByBit(int bitmask, boolean enabled)
bitmask
- the bitmask to applyenabled
- if true, the bitmask will be or-ed, otherwise the bits set in the mask will be removed from the flagspublic boolean getFlagByBit(int bitmask)
public void serialize(LittleEndianOutput out)
protected int getDataSize()
getDataSize
in class SubRecord
public short getSid()
public FtPioGrbitSubRecord copy()
copy
in interface Duplicatable
copy
in class SubRecord
public short getFlags()
public void setFlags(short flags)
public SubRecord.SubRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class SubRecord
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.