public class GrpSp extends Object implements OOXMLElement
| Constructor and Description |
|---|
GrpSp(GrpSp g) |
GrpSp(io.starter.formats.OOXML.NvGrpSpPr nvpr,
io.starter.formats.OOXML.GrpSpPr sppr,
ArrayList<OOXMLElement> choice) |
| Modifier and Type | Method and Description |
|---|---|
OOXMLElement |
cloneElement() |
String |
getChartRId()
return the rid of the chart element, if exists
|
String |
getDescr()
get cthe descr attribute of the group shape
|
String |
getEmbed()
return the rid for the embedded object (picture or chart or picture shape) (i.e.
|
int |
getId()
return the cNvPr id for this element
|
String |
getLink()
return the id for the linked picture (i.e.
|
String |
getMacro()
get macro attribute of the group shape
|
String |
getName()
get name attribute of the group shape
|
String |
getOOXML()
return grpSp element OOXML
|
SpPr |
getSppr()
utility to return the shape properties element for this picture
should be depreciated when OOXML is completely distinct from BIFF8
|
boolean |
hasShape()
return if this Group refers to a shape, as opposed a chart or an image
|
static GrpSp |
parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Stack<String> lastTag,
WorkBookHandle bk)
parse grpSp element OOXML
|
void |
setDescr(String descr)
set description attribute of the group shape
sometimes associated with shape name
|
void |
setEmbed(String embed)
set the rid for this object (picture or chart or picture shape) (resides within the file)
|
void |
setId(int id)
set the cNvPr id for this element
|
void |
setLink(String link)
rset the id for the linked picture (i.e.
|
void |
setMacro(String macro)
set macro attribute of the group shape
|
void |
setName(String name)
set name attribute of the group shape
|
void |
setURI(String uri)
set the URI associated with this graphic data
|
public GrpSp(io.starter.formats.OOXML.NvGrpSpPr nvpr,
io.starter.formats.OOXML.GrpSpPr sppr,
ArrayList<OOXMLElement> choice)
public GrpSp(GrpSp g)
public static GrpSp parseOOXML(org.xmlpull.v1.XmlPullParser xpp, Stack<String> lastTag, WorkBookHandle bk)
xpp - lastTag - public String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()public String getName()
public void setName(String name)
name - public String getMacro()
public void setMacro(String macro)
name - public String getDescr()
public void setDescr(String descr)
descr - public String getEmbed()
public void setEmbed(String embed)
embed - public String getLink()
public void setLink(String link)
public String getChartRId()
public void setURI(String uri)
uri - public SpPr getSppr()
public boolean hasShape()
public int getId()
public void setId(int id)
id - public OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()Copyright © 2002–2019 Starter Inc.. All rights reserved.