blob: 1bc3455a52bcd158397ba1b59319a587b8089609 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Tue Mar 28 22:15:31 CEST 2017 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ParagraphStyleHandler (Simple ODF v0.8.2-incubating - http://odftoolkit)
</TITLE>
<META NAME="date" CONTENT="2017-03-28">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ParagraphStyleHandler (Simple ODF v0.8.2-incubating - http://odftoolkit)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ParagraphStyleHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/odftoolkit/simple/text/ParagraphContainer.html" title="interface in org.odftoolkit.simple.text"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/odftoolkit/simple/text/ProtectionKeyDigestProvider.html" title="interface in org.odftoolkit.simple.text"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/odftoolkit/simple/text/ParagraphStyleHandler.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ParagraphStyleHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.odftoolkit.simple.text</FONT>
<BR>
Class ParagraphStyleHandler</H2>
<PRE>
<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>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html" title="class in org.odftoolkit.simple.style">org.odftoolkit.simple.style.DefaultStyleHandler</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.odftoolkit.simple.text.ParagraphStyleHandler</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>ParagraphStyleHandler</B><DT>extends <A HREF="../../../../org/odftoolkit/simple/style/DefaultStyleHandler.html" title="class in org.odftoolkit.simple.style">DefaultStyleHandler</A></DL>
</PRE>
<P>
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.
<P>
<P>
<DL>
<DT><B>Since:</B></DT>
<DD>0.6.5</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>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></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><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></TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&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></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#getCountry(org.odftoolkit.simple.Document.ScriptType)">getCountry</A></B>(<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the country information for a specific script type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#getFont(org.odftoolkit.simple.Document.ScriptType)">getFont</A></B>(<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the font definition for a specific script type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#getHorizontalAlignment()">getHorizontalAlignment</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the horizontal alignment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&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></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#getLanguage(org.odftoolkit.simple.Document.ScriptType)">getLanguage</A></B>(<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the language information for a specific script type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setCountry(java.lang.String, org.odftoolkit.simple.Document.ScriptType)">setCountry</A></B>(<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;country,
<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the country information for a specific script type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setFont(org.odftoolkit.simple.style.Font)">setFont</A></B>(<A HREF="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</A>&nbsp;font)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the font definition.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setFont(org.odftoolkit.simple.style.Font, java.util.Locale)">setFont</A></B>(<A HREF="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</A>&nbsp;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>&nbsp;language)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the font definition.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setHorizontalAlignment(org.odftoolkit.simple.style.StyleTypeDefinitions.HorizontalAlignmentType)">setHorizontalAlignment</A></B>(<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</A>&nbsp;alignType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the horizontal alignment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/text/ParagraphStyleHandler.html#setLanguage(java.lang.String, org.odftoolkit.simple.Document.ScriptType)">setLanguage</A></B>(<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;language,
<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the language information for a specific script type</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>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></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><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></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>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></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><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></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getCountry(org.odftoolkit.simple.Document.ScriptType)"><!-- --></A><H3>
getCountry</H3>
<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> <B>getCountry</B>(<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - - script type
<DT><B>Returns:</B><DD>the country information for a specific script type</DL>
</DD>
</DL>
<HR>
<A NAME="getFont(org.odftoolkit.simple.Document.ScriptType)"><!-- --></A><H3>
getFont</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</A> <B>getFont</B>(<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - - script type
<DT><B>Returns:</B><DD>the font definition for a specific script type</DL>
</DD>
</DL>
<HR>
<A NAME="getLanguage(org.odftoolkit.simple.Document.ScriptType)"><!-- --></A><H3>
getLanguage</H3>
<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> <B>getLanguage</B>(<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - - script type
<DT><B>Returns:</B><DD>the language information for a specific script type</DL>
</DD>
</DL>
<HR>
<A NAME="setCountry(java.lang.String, org.odftoolkit.simple.Document.ScriptType)"><!-- --></A><H3>
setCountry</H3>
<PRE>
public void <B>setCountry</B>(<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;country,
<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>country</CODE> - - the country information<DD><CODE>type</CODE> - - script type<DT><B>See Also:</B><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></DL>
</DD>
</DL>
<HR>
<A NAME="setFont(org.odftoolkit.simple.style.Font)"><!-- --></A><H3>
setFont</H3>
<PRE>
public void <B>setFont</B>(<A HREF="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</A>&nbsp;font)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>font</CODE> - font definition</DL>
</DD>
</DL>
<HR>
<A NAME="setFont(org.odftoolkit.simple.style.Font, java.util.Locale)"><!-- --></A><H3>
setFont</H3>
<PRE>
public void <B>setFont</B>(<A HREF="../../../../org/odftoolkit/simple/style/Font.html" title="class in org.odftoolkit.simple.style">Font</A>&nbsp;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>&nbsp;language)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>font</CODE> - font definition</DL>
</DD>
</DL>
<HR>
<A NAME="setLanguage(java.lang.String, org.odftoolkit.simple.Document.ScriptType)"><!-- --></A><H3>
setLanguage</H3>
<PRE>
public void <B>setLanguage</B>(<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;language,
<A HREF="../../../../org/odftoolkit/simple/Document.ScriptType.html" title="enum in org.odftoolkit.simple">Document.ScriptType</A>&nbsp;type)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>language</CODE> - - the language information<DD><CODE>type</CODE> - - script type</DL>
</DD>
</DL>
<HR>
<A NAME="setHorizontalAlignment(org.odftoolkit.simple.style.StyleTypeDefinitions.HorizontalAlignmentType)"><!-- --></A><H3>
setHorizontalAlignment</H3>
<PRE>
public void <B>setHorizontalAlignment</B>(<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</A>&nbsp;alignType)</PRE>
<DL>
<DD>Set the horizontal alignment.
<p>
If the parameter <code>alignType</code> is null, the horizontal alignment
setting will be removed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alignType</CODE> - the horizontal alignment</DL>
</DD>
</DL>
<HR>
<A NAME="getHorizontalAlignment()"><!-- --></A><H3>
getHorizontalAlignment</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.HorizontalAlignmentType.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.HorizontalAlignmentType</A> <B>getHorizontalAlignment</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the horizontal alignment; null if there is no horizontal
alignment setting.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ParagraphStyleHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/odftoolkit/simple/text/ParagraphContainer.html" title="interface in org.odftoolkit.simple.text"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/odftoolkit/simple/text/ProtectionKeyDigestProvider.html" title="interface in org.odftoolkit.simple.text"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/odftoolkit/simple/text/ParagraphStyleHandler.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ParagraphStyleHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.odftoolkit.simple.style.DefaultStyleHandler">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2010-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>