blob: 4fec7baa44d065fae4a556d91a772a09901349aa [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Fri Feb 22 10:35:16 CET 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>DefaultStyleHandler (Simple ODF API v0.8-incubating - http://incubator.apache.org/odftoolkit/)</title>
<meta name="date" content="2013-02-22">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultStyleHandler (Simple ODF API v0.8-incubating - http://incubator.apache.org/odftoolkit/)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DefaultStyleHandler.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/odftoolkit/simple/style/Border.html" title="class in org.odftoolkit.simple.style"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/odftoolkit/simple/style/DefaultStyleHandler.html" target="_top">Frames</a></li>
<li><a href="DefaultStyleHandler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.odftoolkit.simple.style</div>
<h2 title="Class DefaultStyleHandler" class="title">Class DefaultStyleHandler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.odftoolkit.simple.style.DefaultStyleHandler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/odftoolkit/simple/table/CellStyleHandler.html" title="class in org.odftoolkit.simple.table">CellStyleHandler</a>, <a href="../../../../org/odftoolkit/simple/draw/ControlStyleHandler.html" title="class in org.odftoolkit.simple.draw">ControlStyleHandler</a>, <a href="../../../../org/odftoolkit/simple/draw/FrameStyleHandler.html" title="class in org.odftoolkit.simple.draw">FrameStyleHandler</a>, <a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html" title="class in org.odftoolkit.simple.text">ParagraphStyleHandler</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">DefaultStyleHandler</span>
extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">This class is the default style handler. It provides methods to get the
readable style element and the writable style element. It also provides
method to get all kinds of style properties elements.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>0.5</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#isUseDefaultStyle">isUseDefaultStyle</a></strong></code>
<div class="block">Whether the default style is used.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mDocument">mDocument</a></strong></code>
<div class="block">The document</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://download.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&lt;org.odftoolkit.odfdom.dom.style.OdfStyleFamily,<a href="http://download.oracle.com/javase/6/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a>&lt;org.odftoolkit.odfdom.dom.style.props.OdfStylePropertiesSet&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mFamilyProperties">mFamilyProperties</a></strong></code>
<div class="block">This HashMap contains the relationship between OdfStyleFamily and
OdfStylePropertiesSet.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mGraphicProperties">mGraphicProperties</a></strong></code>
<div class="block">The readable graphics properties element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.odftoolkit.odfdom.dom.element.OdfStylableElement</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mOdfElement">mOdfElement</a></strong></code>
<div class="block">The odf element</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mParagraphProperties">mParagraphProperties</a></strong></code>
<div class="block">The readable paragraph properties element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.odftoolkit.odfdom.dom.element.OdfStyleBase</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mStyleElement">mStyleElement</a></strong></code>
<div class="block">The style element that will be processed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mTableCellProperties">mTableCellProperties</a></strong></code>
<div class="block">The readable table cell properties element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mTableProperties">mTableProperties</a></strong></code>
<div class="block">The readable table properties element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mTextProperties">mTextProperties</a></strong></code>
<div class="block">The readable text properties element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableGraphicProperties">mWritableGraphicProperties</a></strong></code>
<div class="block">The writable graphics properties element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableParagraphProperties">mWritableParagraphProperties</a></strong></code>
<div class="block">The writable paragraph properties element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.odftoolkit.odfdom.incubator.doc.style.OdfStyle</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableStyleElement">mWritableStyleElement</a></strong></code>
<div class="block">The writable style element that will be processed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableTableCellProperties">mWritableTableCellProperties</a></strong></code>
<div class="block">The writable table cell properties element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableTableProperties">mWritableTableProperties</a></strong></code>
<div class="block">The writable table properties element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableTextProperties">mWritableTextProperties</a></strong></code>
<div class="block">The writable text properties element.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#DefaultStyleHandler(org.odftoolkit.odfdom.dom.element.OdfStylableElement)">DefaultStyleHandler</a></strong>(org.odftoolkit.odfdom.dom.element.OdfStylableElement&nbsp;element)</code>
<div class="block">Constructor of DefaultStyleHandler</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getGraphicPropertiesForRead()">getGraphicPropertiesForRead</a></strong>()</code>
<div class="block">Return the graphic style properties definition for this component, only
for read function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getGraphicPropertiesForWrite()">getGraphicPropertiesForWrite</a></strong>()</code>
<div class="block">Return the text style properties definition for this component, for read
and write function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getParagraphPropertiesForRead()">getParagraphPropertiesForRead</a></strong>()</code>
<div class="block">Return the paragraph style properties definition for this component, only
for read function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getParagraphPropertiesForWrite()">getParagraphPropertiesForWrite</a></strong>()</code>
<div class="block">Return the paragraph style properties definition for this component, for
read and write function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.odftoolkit.odfdom.dom.element.OdfStyleBase</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getReadableStyleElementByName(java.lang.String)">getReadableStyleElementByName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;styleName)</code>
<div class="block">Return a readable style element by style name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.odftoolkit.odfdom.dom.element.OdfStyleBase</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getStyleElementForRead()">getStyleElementForRead</a></strong>()</code>
<div class="block">Return the style element for this component, only for read function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.odftoolkit.odfdom.incubator.doc.style.OdfStyle</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getStyleElementForWrite()">getStyleElementForWrite</a></strong>()</code>
<div class="block">Return the style element for this component, for read and write
functions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTableCellPropertiesForRead()">getTableCellPropertiesForRead</a></strong>()</code>
<div class="block">Return the cell style properties definition for this component, only for
read function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTableCellPropertiesForWrite()">getTableCellPropertiesForWrite</a></strong>()</code>
<div class="block">Return the cell style properties definition for this component, for read
and write function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTablePropertiesForRead()">getTablePropertiesForRead</a></strong>()</code>
<div class="block">Return the table style properties definition for this component, only for
read function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTablePropertiesForWrite()">getTablePropertiesForWrite</a></strong>()</code>
<div class="block">Return the table style properties definition for this component, for read
and write function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTextPropertiesForRead()">getTextPropertiesForRead</a></strong>()</code>
<div class="block">Return the text style properties definition for this component, only for
read function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTextPropertiesForWrite()">getTextPropertiesForWrite</a></strong>()</code>
<div class="block">Return the text style properties definition for this component, for read
and write function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getUsedStyleName()">getUsedStyleName</a></strong>()</code>
<div class="block">Return the used style name of this component.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.odftoolkit.odfdom.incubator.doc.style.OdfStyle</code></td>
<td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getWritableStyleElementByName(java.lang.String, boolean)">getWritableStyleElementByName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;styleName,
boolean&nbsp;isShared)</code>
<div class="block">Return a writable style element by style name.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="mStyleElement">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mStyleElement</h4>
<pre>protected&nbsp;org.odftoolkit.odfdom.dom.element.OdfStyleBase mStyleElement</pre>
<div class="block">The style element that will be processed.</div>
</li>
</ul>
<a name="mWritableStyleElement">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mWritableStyleElement</h4>
<pre>protected&nbsp;org.odftoolkit.odfdom.incubator.doc.style.OdfStyle mWritableStyleElement</pre>
<div class="block">The writable style element that will be processed.</div>
</li>
</ul>
<a name="isUseDefaultStyle">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUseDefaultStyle</h4>
<pre>protected&nbsp;boolean isUseDefaultStyle</pre>
<div class="block">Whether the default style is used.</div>
</li>
</ul>
<a name="mOdfElement">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mOdfElement</h4>
<pre>protected&nbsp;org.odftoolkit.odfdom.dom.element.OdfStylableElement mOdfElement</pre>
<div class="block">The odf element</div>
</li>
</ul>
<a name="mDocument">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mDocument</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</a> mDocument</pre>
<div class="block">The document</div>
</li>
</ul>
<a name="mTextProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mTextProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a> mTextProperties</pre>
<div class="block">The readable text properties element.</div>
</li>
</ul>
<a name="mWritableTextProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mWritableTextProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a> mWritableTextProperties</pre>
<div class="block">The writable text properties element.</div>
</li>
</ul>
<a name="mTableCellProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mTableCellProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a> mTableCellProperties</pre>
<div class="block">The readable table cell properties element.</div>
</li>
</ul>
<a name="mWritableTableCellProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mWritableTableCellProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a> mWritableTableCellProperties</pre>
<div class="block">The writable table cell properties element.</div>
</li>
</ul>
<a name="mParagraphProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mParagraphProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a> mParagraphProperties</pre>
<div class="block">The readable paragraph properties element.</div>
</li>
</ul>
<a name="mWritableParagraphProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mWritableParagraphProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a> mWritableParagraphProperties</pre>
<div class="block">The writable paragraph properties element.</div>
</li>
</ul>
<a name="mGraphicProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mGraphicProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a> mGraphicProperties</pre>
<div class="block">The readable graphics properties element.</div>
</li>
</ul>
<a name="mWritableGraphicProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mWritableGraphicProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a> mWritableGraphicProperties</pre>
<div class="block">The writable graphics properties element.</div>
</li>
</ul>
<a name="mTableProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mTableProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a> mTableProperties</pre>
<div class="block">The readable table properties element.</div>
</li>
</ul>
<a name="mWritableTableProperties">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mWritableTableProperties</h4>
<pre>protected&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a> mWritableTableProperties</pre>
<div class="block">The writable table properties element.</div>
</li>
</ul>
<a name="mFamilyProperties">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mFamilyProperties</h4>
<pre>protected static&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&lt;org.odftoolkit.odfdom.dom.style.OdfStyleFamily,<a href="http://download.oracle.com/javase/6/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</a>&lt;org.odftoolkit.odfdom.dom.style.props.OdfStylePropertiesSet&gt;&gt; mFamilyProperties</pre>
<div class="block">This HashMap contains the relationship between OdfStyleFamily and
OdfStylePropertiesSet.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultStyleHandler(org.odftoolkit.odfdom.dom.element.OdfStylableElement)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultStyleHandler</h4>
<pre>public&nbsp;DefaultStyleHandler(org.odftoolkit.odfdom.dom.element.OdfStylableElement&nbsp;element)</pre>
<div class="block">Constructor of DefaultStyleHandler</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - - the instance of structure component in an ODF document</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getTextPropertiesForRead()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTextPropertiesForRead</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a>&nbsp;getTextPropertiesForRead()</pre>
<div class="block">Return the text style properties definition for this component, only for
read function.
<p>
Null will be returned if there is no style definition.
<p>
Null will be returned if there is no explicit text style properties
definition for this component.
<p>
Note if you try to write style properties to the returned object, errors
will be met with.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the text style properties definition for this component, only for
read function</dd></dl>
</li>
</ul>
<a name="getTextPropertiesForWrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTextPropertiesForWrite</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/TextProperties.html" title="class in org.odftoolkit.simple.style">TextProperties</a>&nbsp;getTextPropertiesForWrite()</pre>
<div class="block">Return the text style properties definition for this component, for read
and write function.
<p>
An empty style definition will be created if there is no style
definition.
<p>
An empty text style properties definition will be created if there is no
explicit text style properties definition.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the text style properties definition for this component, for read
and write function</dd></dl>
</li>
</ul>
<a name="getTableCellPropertiesForRead()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableCellPropertiesForRead</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a>&nbsp;getTableCellPropertiesForRead()</pre>
<div class="block">Return the cell style properties definition for this component, only for
read function.
<p>
Null will be returned if there is no style definition.
<p>
Null will be returned if there is no explicit cell style properties
definition for this component.
<p>
Note if you try to write style properties to the returned object, errors
will be met with.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the cell style properties definition for this component, only for
read function</dd></dl>
</li>
</ul>
<a name="getTableCellPropertiesForWrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableCellPropertiesForWrite</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableCellProperties.html" title="class in org.odftoolkit.simple.style">TableCellProperties</a>&nbsp;getTableCellPropertiesForWrite()</pre>
<div class="block">Return the cell style properties definition for this component, for read
and write function.
<p>
An empty style definition will be created if there is no style
definition.
<p>
An empty cell style properties definition will be created if there is no
explicit cell style properties definition.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the cell style properties definition for this component, for read
and write function</dd></dl>
</li>
</ul>
<a name="getParagraphPropertiesForRead()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParagraphPropertiesForRead</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a>&nbsp;getParagraphPropertiesForRead()</pre>
<div class="block">Return the paragraph style properties definition for this component, only
for read function.
<p>
Null will be returned if there is no style definition.
<p>
Null will be returned if there is no explicit paragraph style properties
definition for this component.
<p>
Note if you try to write style properties to the returned object, errors
will be met with.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the paragraph style properties definition for this component,
only for read function</dd></dl>
</li>
</ul>
<a name="getParagraphPropertiesForWrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParagraphPropertiesForWrite</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/ParagraphProperties.html" title="class in org.odftoolkit.simple.style">ParagraphProperties</a>&nbsp;getParagraphPropertiesForWrite()</pre>
<div class="block">Return the paragraph style properties definition for this component, for
read and write function.
<p>
An empty style definition will be created if there is no style
definition.
<p>
An empty paragraph style properties definition will be created if there
is no explicit paragraph style properties definition.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the paragraph style properties definition for this component, for
read and write function</dd></dl>
</li>
</ul>
<a name="getGraphicPropertiesForRead()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGraphicPropertiesForRead</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a>&nbsp;getGraphicPropertiesForRead()</pre>
<div class="block">Return the graphic style properties definition for this component, only
for read function.
<p>
Null will be returned if there is no style definition.
<p>
Null will be returned if there is no explicit graphic style properties
definition for this component.
<p>
Note if you try to write style properties to the returned object, errors
will be met with.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the graphic style properties definition for this component, only
for read function</dd></dl>
</li>
</ul>
<a name="getGraphicPropertiesForWrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGraphicPropertiesForWrite</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/GraphicProperties.html" title="class in org.odftoolkit.simple.style">GraphicProperties</a>&nbsp;getGraphicPropertiesForWrite()</pre>
<div class="block">Return the text style properties definition for this component, for read
and write function.
<p>
An empty style definition will be created if there is no style
definition.
<p>
An empty text style properties definition will be created if there is no
explicit text style properties definition.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the text style properties definition for this component, for read
and write function</dd></dl>
</li>
</ul>
<a name="getTablePropertiesForRead()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTablePropertiesForRead</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a>&nbsp;getTablePropertiesForRead()</pre>
<div class="block">Return the table style properties definition for this component, only for
read function.
<p>
Null will be returned if there is no style definition.
Note if you try to write style properties to the returned object, errors
will be met with.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the table style properties definition for this component, only
for read function</dd></dl>
</li>
</ul>
<a name="getTablePropertiesForWrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTablePropertiesForWrite</h4>
<pre>public&nbsp;<a href="../../../../org/odftoolkit/simple/style/TableProperties.html" title="class in org.odftoolkit.simple.style">TableProperties</a>&nbsp;getTablePropertiesForWrite()</pre>
<div class="block">Return the table style properties definition for this component, for read
and write function.
<p>
An empty style definition will be created if there is no style
An empty table style properties definition will be created if there is no
explicit table style properties definition.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the table style properties definition for this component, for
read and write function</dd></dl>
</li>
</ul>
<a name="getUsedStyleName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsedStyleName</h4>
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUsedStyleName()</pre>
<div class="block">Return the used style name of this component.
<p>
This method can be override by sub classes.
<p>
Please note the return of this method might not be same with the
getStyleName() of component. If the style name is shared by multiple
elements, getStyleElementForWrite() will return a copied style element,
which is not same with the return of this method.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>- the used style name of this component</dd></dl>
</li>
</ul>
<a name="getReadableStyleElementByName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadableStyleElementByName</h4>
<pre>protected&nbsp;org.odftoolkit.odfdom.dom.element.OdfStyleBase&nbsp;getReadableStyleElementByName(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;styleName)</pre>
<div class="block">Return a readable style element by style name.
<p>
If the style name is null, the default style will be returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>styleName</code> - - the style name</dd>
<dt><span class="strong">Returns:</span></dt><dd>a readable style element</dd></dl>
</li>
</ul>
<a name="getWritableStyleElementByName(java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWritableStyleElementByName</h4>
<pre>protected&nbsp;org.odftoolkit.odfdom.incubator.doc.style.OdfStyle&nbsp;getWritableStyleElementByName(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;styleName,
boolean&nbsp;isShared)</pre>
<div class="block">Return a writable style element by style name.
<p>
If the style is shared, a copied style element would be returned.
<p>
If the style name is null, the default style will be copied.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>styleName</code> - - the style name</dd>
<dt><span class="strong">Returns:</span></dt><dd>a writable style element</dd></dl>
</li>
</ul>
<a name="getStyleElementForRead()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStyleElementForRead</h4>
<pre>public&nbsp;org.odftoolkit.odfdom.dom.element.OdfStyleBase&nbsp;getStyleElementForRead()</pre>
<div class="block">Return the style element for this component, only for read function. This
method will invode <code>getusedStyleName</code> to get the style name,
and then find the readable style element by name.
<p>
Null will be returned if there is no style definition.
<p>
Note if you try to write style properties to the returned object, errors
will be met with.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the style element</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getUsedStyleName()"><code>getUsedStyleName()</code></a></dd></dl>
</li>
</ul>
<a name="getStyleElementForWrite()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getStyleElementForWrite</h4>
<pre>public&nbsp;org.odftoolkit.odfdom.incubator.doc.style.OdfStyle&nbsp;getStyleElementForWrite()</pre>
<div class="block">Return the style element for this component, for read and write
functions. This method will invode <code>getusedStyleName</code> to get
the style name, and then find the writable style element by name.
<p>
An empty style definition will be created if there is no style
definition.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the style element</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getUsedStyleName()"><code>getUsedStyleName()</code></a></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DefaultStyleHandler.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/odftoolkit/simple/style/Border.html" title="class in org.odftoolkit.simple.style"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/odftoolkit/simple/style/DefaultStyleHandler.html" target="_top">Frames</a></li>
<li><a href="DefaultStyleHandler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2010-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>