public class MsofbtOPT extends Object
| Constructor and Description |
|---|
MsofbtOPT(int fbt,
int inst,
int version) |
| Modifier and Type | Method and Description |
|---|---|
String |
debugOutput()
Debug Output -- For Internal Use Only
|
void |
EscherRecord()
no param constructor for Serializable
|
int |
getBorderLineWidth() |
protected byte[] |
getData()
generate the recordData from the stored props hashmap if anything has changed
|
int |
getFbt() |
Color |
getFillColor() |
int |
getFillType() |
int |
getImageIndex() |
String |
getImageName() |
int |
getInst() |
int |
getLength() |
String |
getShapeName() |
boolean |
hasBorder() |
boolean |
hasTextId()
returns true if this OPT subrecord contains an msofbtlTxid entry-
necessary to calculate container lengths correctly - see MSODrawing.updateRecord
|
void |
setData(byte[] b) |
void |
setFbt(int value) |
void |
setImageIndex(int value) |
void |
setImageName(String name)
set the image name for this shape
msooptpibName
|
void |
setInst(int value) |
void |
setLength(int value) |
void |
setProperty(int propId,
boolean isBid,
boolean isComplex,
int dtx,
byte[] complexBytes) |
void |
setShapeName(String name)
set the shape name atom in this OPT record
|
byte[] |
toByteArray() |
public void setImageIndex(int value)
public boolean hasTextId()
public void setImageName(String name)
name - public void setShapeName(String name)
name - protected byte[] getData()
public void setData(byte[] b)
public void setProperty(int propId,
boolean isBid,
boolean isComplex,
int dtx,
byte[] complexBytes)
propId - msofbtopt property ide see MsoconstantsisBid - value is a BLIP id - only valid if isComplex is falseisComplex - if false, dtx is used; if true, complexBytes are used and dtx=lengthdtx - if not iscomplex, the value of property id; if iscomplex, length of complex data following the property tablecomplexBytes - if iscomplex, holds value of complex property e.g. shape namepublic boolean hasBorder()
public int getBorderLineWidth()
public int getImageIndex()
public String getImageName()
public String getShapeName()
public String debugOutput()
public Color getFillColor()
public int getFillType()
public void EscherRecord()
public int getFbt()
public int getInst()
public int getLength()
public void setFbt(int value)
public void setInst(int value)
public void setLength(int value)
public byte[] toByteArray()
Copyright © 2002–2019 Starter Inc.. All rights reserved.