public class Pic extends Object implements OOXMLElement
| Constructor and Description |
|---|
Pic() |
Pic(HashMap<String,String> attrs,
io.starter.formats.OOXML.NvPicPr nv,
io.starter.formats.OOXML.BlipFill bf,
SpPr sp,
Style s) |
Pic(Pic p) |
| 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() |
SpPr |
getSppr()
utility to return the shape properties element for this picture
should be depreciated when OOXML is completely distinct from BIFF8
|
static OOXMLElement |
parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Stack<String> lastTag,
WorkBookHandle bk) |
void |
setDescr(String descr)
set cNvPr desc attribute
|
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 |
setLine(int w,
String clr)
add a line to this image
|
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
|
void |
setSppr(SpPr sp)
utility to return the shape properties element for this picture
should be depreciated when OOXML is completely distinct from BIFF8
|
public Pic()
public Pic(HashMap<String,String> attrs, io.starter.formats.OOXML.NvPicPr nv, io.starter.formats.OOXML.BlipFill bf, SpPr sp, Style s)
public Pic(Pic p)
public static OOXMLElement parseOOXML(org.xmlpull.v1.XmlPullParser xpp, Stack<String> lastTag, WorkBookHandle bk)
public String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()public OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()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)
name - public void setId(int id)
id - public int getId()
public String getMacro()
public void setMacro(String macro)
macro - public void setLine(int w,
String clr)
w - int line width inclr - String color html stringpublic SpPr getSppr()
public void setSppr(SpPr sp)
Copyright © 2002–2019 Starter Inc.. All rights reserved.