| <!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:17 CET 2013 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>ParagraphStyleHandler (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="ParagraphStyleHandler (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/ParagraphStyleHandler.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/text/ParagraphContainer.html" title="interface in org.odftoolkit.simple.text"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/odftoolkit/simple/text/ProtectionKeyDigestProvider.html" title="interface in org.odftoolkit.simple.text"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/odftoolkit/simple/text/ParagraphStyleHandler.html" target="_top">Frames</a></li> |
| <li><a href="ParagraphStyleHandler.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: </li> |
| <li>Nested | </li> |
| <li><a href="#fields_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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.text</div> |
| <h2 title="Class ParagraphStyleHandler" class="title">Class ParagraphStyleHandler</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><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html" title="class in org.odftoolkit.simple.style">org.odftoolkit.simple.style.DefaultStyleHandler</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.odftoolkit.simple.text.ParagraphStyleHandler</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">ParagraphStyleHandler</span> |
| extends <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html" title="class in org.odftoolkit.simple.style">DefaultStyleHandler</a></pre> |
| <div class="block">This class provides functions to handle the style of a paragraph. |
| |
| <p> |
| This class provides functions to handle the font settings, text alignment |
| settings and so on.</div> |
| <dl><dt><span class="strong">Since:</span></dt> |
| <dd>0.6.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> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.odftoolkit.simple.style.<a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html" title="class in org.odftoolkit.simple.style">DefaultStyleHandler</a></h3> |
| <code><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#isUseDefaultStyle">isUseDefaultStyle</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mDocument">mDocument</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mFamilyProperties">mFamilyProperties</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mGraphicProperties">mGraphicProperties</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mOdfElement">mOdfElement</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mStyleElement">mStyleElement</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mTableCellProperties">mTableCellProperties</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mTableProperties">mTableProperties</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableGraphicProperties">mWritableGraphicProperties</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableStyleElement">mWritableStyleElement</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableTableCellProperties">mWritableTableCellProperties</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#mWritableTableProperties">mWritableTableProperties</a></code></li> |
| </ul> |
| </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"> </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="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/text/ParagraphStyleHandler.html#getCountry(org.odftoolkit.simple.Document.ScriptType)">getCountry</a></strong>(<a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</code> |
| <div class="block">Return the country information for a specific script type |
| |
| The country information in its parent style and default style will be |
| taken into considered.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#getFont(org.odftoolkit.simple.Document.ScriptType)">getFont</a></strong>(<a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</code> |
| <div class="block">Return the font definition for a specific script type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#getHorizontalAlignment()">getHorizontalAlignment</a></strong>()</code> |
| <div class="block">Return the horizontal alignment.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><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/text/ParagraphStyleHandler.html#getLanguage(org.odftoolkit.simple.Document.ScriptType)">getLanguage</a></strong>(<a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</code> |
| <div class="block">Return the language information for a specific script type |
| |
| The language definition in its parent style and default style will be |
| taken into considered.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setCountry(java.lang.String, org.odftoolkit.simple.Document.ScriptType)">setCountry</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> country, |
| <a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</code> |
| <div class="block">Set the country information for a specific script type |
| |
| The consistency between country and script type is not verified.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setFont(org.odftoolkit.simple.style.Font)">setFont</a></strong>(<a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</a> font)</code> |
| <div class="block">Set the font definition.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setFont(org.odftoolkit.simple.style.Font, java.util.Locale)">setFont</a></strong>(<a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</a> font, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> language)</code> |
| <div class="block">Set the font definition.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setHorizontalAlignment(org.odftoolkit.simple.style.StyleTypeDefinitions.HorizontalAlignmentType)">setHorizontalAlignment</a></strong>(<a href="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</a> alignType)</code> |
| <div class="block">Set the horizontal alignment.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setLanguage(java.lang.String, org.odftoolkit.simple.Document.ScriptType)">setLanguage</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> language, |
| <a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</code> |
| <div class="block">Set the language information for a specific script type |
| |
| If the parameter <code>language</code> is null, the language information |
| for this script type will be removed.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.odftoolkit.simple.style.<a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html" title="class in org.odftoolkit.simple.style">DefaultStyleHandler</a></h3> |
| <code><a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getGraphicPropertiesForRead()">getGraphicPropertiesForRead</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getGraphicPropertiesForWrite()">getGraphicPropertiesForWrite</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getParagraphPropertiesForRead()">getParagraphPropertiesForRead</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getParagraphPropertiesForWrite()">getParagraphPropertiesForWrite</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getReadableStyleElementByName(java.lang.String)">getReadableStyleElementByName</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getStyleElementForRead()">getStyleElementForRead</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getStyleElementForWrite()">getStyleElementForWrite</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTableCellPropertiesForRead()">getTableCellPropertiesForRead</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTableCellPropertiesForWrite()">getTableCellPropertiesForWrite</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTablePropertiesForRead()">getTablePropertiesForRead</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTablePropertiesForWrite()">getTablePropertiesForWrite</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTextPropertiesForRead()">getTextPropertiesForRead</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getTextPropertiesForWrite()">getTextPropertiesForWrite</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getUsedStyleName()">getUsedStyleName</a>, <a href="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html#getWritableStyleElementByName(java.lang.String, boolean)">getWritableStyleElementByName</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class 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"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getCountry(org.odftoolkit.simple.Document.ScriptType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCountry</h4> |
| <pre>public <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> getCountry(<a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</pre> |
| <div class="block">Return the country information for a specific script type |
| <p> |
| The country information in its parent style and default style will be |
| taken into considered. |
| <p> |
| Null will be returned if there is no country information for this script |
| type.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - script type</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the country information for a specific script type</dd></dl> |
| </li> |
| </ul> |
| <a name="getFont(org.odftoolkit.simple.Document.ScriptType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFont</h4> |
| <pre>public <a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</a> getFont(<a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</pre> |
| <div class="block">Return the font definition for a specific script type. |
| <p> |
| The font definition in its parent style and default style will be taken |
| into considered. |
| <p> |
| A default font definition will be returned if there is no font definition |
| for this script type at all.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - script type</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the font definition for a specific script type</dd></dl> |
| </li> |
| </ul> |
| <a name="getLanguage(org.odftoolkit.simple.Document.ScriptType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLanguage</h4> |
| <pre>public <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> getLanguage(<a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</pre> |
| <div class="block">Return the language information for a specific script type |
| <p> |
| The language definition in its parent style and default style will be |
| taken into considered. |
| <p> |
| Null will be returned if there is no language information for this script |
| type at all.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - - script type</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the language information for a specific script type</dd></dl> |
| </li> |
| </ul> |
| <a name="setCountry(java.lang.String, org.odftoolkit.simple.Document.ScriptType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCountry</h4> |
| <pre>public void setCountry(<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> country, |
| <a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</pre> |
| <div class="block">Set the country information for a specific script type |
| <p> |
| The consistency between country and script type is not verified. |
| <p> |
| If the parameter <code>country</code> is null, the country information |
| for this script type will be removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>country</code> - - the country information</dd><dd><code>type</code> - - script type</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/odftoolkit/simple/style/TextProperties.html#setCountry(java.lang.String, org.odftoolkit.simple.Document.ScriptType)"><code>TextProperties.setCountry(String, Document.ScriptType)</code></a>, |
| <a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple"><code>Document.ScriptType</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="setFont(org.odftoolkit.simple.style.Font)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFont</h4> |
| <pre>public void setFont(<a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</a> font)</pre> |
| <div class="block">Set the font definition. The locale information in font definition will |
| be used to justify the script type. |
| <p> |
| If the parameter <code>font</code> is null, nothing will be happened.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>font</code> - font definition</dd></dl> |
| </li> |
| </ul> |
| <a name="setFont(org.odftoolkit.simple.style.Font, java.util.Locale)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFont</h4> |
| <pre>public void setFont(<a href="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</a> font, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> language)</pre> |
| <div class="block">Set the font definition. The locale information in font definition will |
| be used to justify the script type. |
| <p> |
| If the parameter <code>font</code> is null, nothing will be happened.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>font</code> - font definition</dd></dl> |
| </li> |
| </ul> |
| <a name="setLanguage(java.lang.String, org.odftoolkit.simple.Document.ScriptType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLanguage</h4> |
| <pre>public void setLanguage(<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> language, |
| <a href="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</a> type)</pre> |
| <div class="block">Set the language information for a specific script type |
| <p> |
| If the parameter <code>language</code> is null, the language information |
| for this script type will be removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>language</code> - - the language information</dd><dd><code>type</code> - - script type</dd></dl> |
| </li> |
| </ul> |
| <a name="setHorizontalAlignment(org.odftoolkit.simple.style.StyleTypeDefinitions.HorizontalAlignmentType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHorizontalAlignment</h4> |
| <pre>public void setHorizontalAlignment(<a href="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</a> alignType)</pre> |
| <div class="block">Set the horizontal alignment. |
| <p> |
| If the parameter <code>alignType</code> is null, the horizontal alignment |
| setting will be removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>alignType</code> - the horizontal alignment</dd></dl> |
| </li> |
| </ul> |
| <a name="getHorizontalAlignment()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getHorizontalAlignment</h4> |
| <pre>public <a href="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</a> getHorizontalAlignment()</pre> |
| <div class="block">Return the horizontal alignment. |
| <p> |
| The horizontal alignment in its parent style and default style will be |
| taken into considered. |
| <p> |
| HorizontalAlignmentType.DEFAULT will be returned if there is no |
| horizontal alignment setting.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the horizontal alignment; null if there is no horizontal |
| alignment setting.</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/ParagraphStyleHandler.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/text/ParagraphContainer.html" title="interface in org.odftoolkit.simple.text"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/odftoolkit/simple/text/ProtectionKeyDigestProvider.html" title="interface in org.odftoolkit.simple.text"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/odftoolkit/simple/text/ParagraphStyleHandler.html" target="_top">Frames</a></li> |
| <li><a href="ParagraphStyleHandler.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: </li> |
| <li>Nested | </li> |
| <li><a href="#fields_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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 © 2010-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |