public class Sp extends Object implements OOXMLElement
| Constructor and Description |
|---|
Sp(io.starter.formats.OOXML.NvSpPr nvsp,
SpPr sppr,
Style sty,
TxBody txb,
HashMap<String,String> attrs) |
Sp(Sp shp) |
| Modifier and Type | Method and Description |
|---|---|
OOXMLElement |
cloneElement() |
String |
getDescr()
get cNvPr descr attribute
|
String |
getEmbed()
return the id for the embedded picture (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
|
String |
getName()
return the name of this shape, if any
|
String |
getOOXML() |
static OOXMLElement |
parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Stack<String> lastTag,
WorkBookHandle bk)
return the OOXML specific for this object
|
void |
setDescr(String descr)
set cNvPr description attribute
sometimes associated with shape name
|
void |
setEmbed(String embed)
set the embed attribute for this blip (the id for the embedded picture)
|
void |
setId(int id)
set the cNvPr id for this element
|
void |
setLink(String link)
set the link attribute for this blip (the id for the linked picture)
|
void |
setMacro(String macro)
set Macro attribute
|
void |
setName(String name)
set the name of this shape, if any
|
public Sp(io.starter.formats.OOXML.NvSpPr nvsp,
SpPr sppr,
Style sty,
TxBody txb,
HashMap<String,String> attrs)
public Sp(Sp shp)
public static OOXMLElement parseOOXML(org.xmlpull.v1.XmlPullParser xpp, Stack<String> lastTag, WorkBookHandle bk)
xpp - lastTag - public String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()public OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()public String getMacro()
public void setMacro(String macro)
macro - public String getEmbed()
public String getLink()
public void setEmbed(String embed)
embed - public void setLink(String link)
embed - public String getName()
public void setName(String name)
public String getDescr()
public void setDescr(String descr)
descr - public void setId(int id)
id - public int getId()
Copyright © 2002–2019 Starter Inc.. All rights reserved.