public class StyleSheet
Constructor Summary |
---|
StyleSheet()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
CharCollection | getChars() | |
Contains a collection of Char elements.
|
||
ConnectionABCDCollection | getConnectionABCDs() | |
Contains a collection of ConnectionABCD elements.
|
||
ConnectionCollection | getConnections() | |
Contains a collection of Connection elements.
|
||
Event | getEvent() | |
Contains elements that specify formulas that control shape events.
|
||
Fill | getFill() | |
Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.
|
||
StyleSheet | getFillStyle() | |
void | setFillStyle(StyleSheet value) | |
StyleSheet element from which this style inherits fill formatting. | ||
Foreign | getForeign() | |
Contains elements specifying the width and height of an object from another program used in a Microsoft Visio document. Also includes elements specifying the distance the object's image is offset within its borders.
|
||
ForeignData | getForeignData() | |
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
|
||
Group | getGroup() | |
Contains elements that control how you add shapes to a group, move members of a group, and select groups.
|
||
Help | getHelp() | |
Contains elements specifying the Shape element's Help file topic and copyright information.
|
||
int | getID() | |
void | setID(intvalue) | |
The unique ID of the element within its parent element. | ||
Image | getImage() | |
Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap.
|
||
Layout | getLayout() | |
Contains elements that control shape placement and connector routing settings.
|
||
Line | getLine() | |
Contains elements that control line attributes for a shape, such as pattern, weight, and color. These elements determine whether the line ends are formatted (for example, with an arrowhead), the size of line end formats, radius of the rounding circle applied to the line, and line cap style (round or square).
|
||
StyleSheet | getLineStyle() | |
void | setLineStyle(StyleSheet value) | |
StyleSheet element from which this style inherits line formatting. | ||
Misc | getMisc() | |
Contains elements specifying the Shape element's Help file topic and copyright information.
|
||
java.lang.String | getName() | |
void | setName(java.lang.Stringvalue) | |
The name of the element. | ||
java.lang.String | getNameU() | |
void | setNameU(java.lang.Stringvalue) | |
The universal name of the element. | ||
PageLayout | getPageLayout() | |
Contains Diagram that control the page layout settings for shapes and connectors, such as spacing between all shapes on the page, spacing between all connectors on the page, and routing style for all connectors on the page.
|
||
ParaCollection | getParas() | |
Contains a collection of Para elements.
|
||
Protection | getProtection() | |
Locking helps prevent inadvertent changes to the shape but does not prevent Microsoft Visio from resetting values in other circumstances. It also does not protect against changes made in the ShapeSheet window.
|
||
RulerGrid | getRulerGrid() | |
Contains elements that specify the settings of the page's rulers and grid.
|
||
StyleProp | getStyleProp() | |
Contains elements that control style behavior, such as whether a style includes text, line, and fill attributes.
|
||
TabsCollection | getTabsCollection() | |
Contains a collection of Tab elements.
|
||
TextBlock | getTextBlock() | |
Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape's text block.
|
||
StyleSheet | getTextStyle() | |
void | setTextStyle(StyleSheet value) | |
StyleSheet element from which this style inherits text formatting. |
Method Summary | ||
---|---|---|
java.lang.Object | deepClone() | |
Creates deep copy of this instance.
|
public int getID() / public void setID(int value)
public java.lang.String getName() / public void setName(java.lang.String value)
public java.lang.String getNameU() / public void setNameU(java.lang.String value)
public StyleSheet getLineStyle() / public void setLineStyle(StyleSheet value)
public StyleSheet getFillStyle() / public void setFillStyle(StyleSheet value)
public StyleSheet getTextStyle() / public void setTextStyle(StyleSheet value)
public Line getLine()
public Fill getFill()
public Event getEvent()
public StyleProp getStyleProp()
public TextBlock getTextBlock()
public Protection getProtection()
public Help getHelp()
public Misc getMisc()
public RulerGrid getRulerGrid()
public Image getImage()
public Group getGroup()
public Layout getLayout()
public PageLayout getPageLayout()
public CharCollection getChars()
public ParaCollection getParas()
public TabsCollection getTabsCollection()
public ConnectionCollection getConnections()
public ConnectionABCDCollection getConnectionABCDs()
public Foreign getForeign()
public ForeignData getForeignData()