org.odftoolkit.odfdom.dom.style
public interface OdfStylePropertySet
Modifier and Type | Method and Description |
---|---|
Map<OdfStyleProperty,String> |
getProperties(Set<OdfStyleProperty> properties)
gets more than one property at once
|
String |
getProperty(OdfStyleProperty property)
returns the given property from this styleable element or style.
|
Set<OdfStyleProperty> |
getStrictProperties() |
boolean |
hasProperty(OdfStyleProperty property)
checks if this styleable element or style has this property directly set.
|
void |
removeProperty(OdfStyleProperty property)
removes the given property from this set
|
void |
setProperties(Map<OdfStyleProperty,String> properties)
set more than one property at once.
|
void |
setProperty(OdfStyleProperty property,
String value)
sets a single style property for this element.
|
boolean hasProperty(OdfStyleProperty property)
property
- is the property to check.String getProperty(OdfStyleProperty property)
property
- is the property which value will be returned.void removeProperty(OdfStyleProperty property)
property
- is the property to be removedvoid setProperty(OdfStyleProperty property, String value)
property
- is the property that you want to set.value
- is the value the property is set to.void setProperties(Map<OdfStyleProperty,String> properties)
properties
- is a map of properties with values that should be set.Map<OdfStyleProperty,String> getProperties(Set<OdfStyleProperty> properties)
properties
- is a set of all properties that should be returned.Set<OdfStyleProperty> getStrictProperties()
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.