Modified: poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.WmfFontQuality.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.WmfFontQuality.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.WmfFontQuality.html (original) +++ poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.WmfFontQuality.html Mon Jul 24 09:18:21 2017 @@ -38,7 +38,7 @@ </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfOutPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> @@ -357,7 +357,7 @@ not permitted.)</div> </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfOutPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList">
Modified: poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.html (original) +++ poi/site/publish/apidocs/org/apache/poi/hwmf/record/HwmfFont.html Mon Jul 24 09:18:21 2017 @@ -39,7 +39,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.WmfStretchDib.html" title="class in org.apache.poi.hwmf.record"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/poi/hwmf/record/HwmfFont.html" target="_top">Frames</a></li> @@ -96,10 +96,15 @@ <div class="description"> <ul class="blockList"> <li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></dd> +</dl> <hr> <br> <pre>public class <span class="strong">HwmfFont</span> -extends java.lang.Object</pre> +extends java.lang.Object +implements <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></pre> <div class="block">The Font object specifies the attributes of a logical font</div> </li> </ul> @@ -121,35 +126,19 @@ extends java.lang.Object</pre> </tr> <tr class="altColor"> <td class="colFirst"><code>static class </code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfCharset</a></strong></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static class </code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfClipPrecision</a></strong></code> <div class="block">ClipPrecision Flags specify clipping precision, which defines how to clip characters that are partially outside a clipping region.</div> </td> </tr> -<tr class="altColor"> -<td class="colFirst"><code>static class </code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontFamilyClass.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontFamilyClass</a></strong></code> -<div class="block">A property of a font that describes its general appearance.</div> -</td> -</tr> <tr class="rowColor"> <td class="colFirst"><code>static class </code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontPitch</a></strong></code> -<div class="block">A property of a font that describes the pitch, of the characters.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static class </code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontQuality.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontQuality</a></strong></code> <div class="block">The output quality defines how carefully to attempt to match the logical font attributes to those of an actual physical font.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfOutPrecision.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfOutPrecision</a></strong></code> <div class="block">The output precision defines how closely the output must match the requested font's height, @@ -189,8 +178,8 @@ extends java.lang.Object</pre> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> -<td class="colFirst"><code><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfCharset</a></code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getCharSet()">getCharSet</a></strong>()</code> </td> +<td class="colFirst"><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontCharset.html" title="enum in org.apache.poi.common.usermodel.fonts">FontCharset</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getCharset()">getCharset</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfClipPrecision</a></code></td> @@ -201,17 +190,19 @@ extends java.lang.Object</pre> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getEscapement()">getEscapement</a></strong>()</code> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getFacename()">getFacename</a></strong>()</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontFamilyClass.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontFamilyClass</a></code></td> +<td class="colFirst"><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontFamily.html" title="enum in org.apache.poi.common.usermodel.fonts">FontFamily</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getFamily()">getFamily</a></strong>()</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getHeight()">getHeight</a></strong>()</code> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.Integer</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getIndex()">getIndex</a></strong>()</code> +<div class="block">Get the index within the collection of Font objects</div> +</td> +</tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getOrientation()">getOrientation</a></strong>()</code> </td> @@ -221,7 +212,7 @@ extends java.lang.Object</pre> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getOutPrecision()">getOutPrecision</a></strong>()</code> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontPitch</a></code></td> +<td class="colFirst"><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontPitch.html" title="enum in org.apache.poi.common.usermodel.fonts">FontPitch</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getPitch()">getPitch</a></strong>()</code> </td> </tr> <tr class="rowColor"> @@ -233,29 +224,63 @@ extends java.lang.Object</pre> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getQuality()">getQuality</a></strong>()</code> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getTypeface()">getTypeface</a></strong>()</code> </td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getWeight()">getWeight</a></strong>()</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getWidth()">getWidth</a></strong>()</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#init(org.apache.poi.util.LittleEndianInputStream)">init</a></strong>(<a href="../../../../../org/apache/poi/util/LittleEndianInputStream.html" title="class in org.apache.poi.util">LittleEndianInputStream</a> leis)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#isItalic()">isItalic</a></strong>()</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#isStrikeOut()">isStrikeOut</a></strong>()</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#isUnderline()">isUnderline</a></strong>()</code> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#setCharset(org.apache.poi.common.usermodel.fonts.FontCharset)">setCharset</a></strong>(<a href="../../../../../org/apache/poi/common/usermodel/fonts/FontCharset.html" title="enum in org.apache.poi.common.usermodel.fonts">FontCharset</a> charset)</code> +<div class="block">Sets the charset</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#setFamily(org.apache.poi.common.usermodel.fonts.FontFamily)">setFamily</a></strong>(<a href="../../../../../org/apache/poi/common/usermodel/fonts/FontFamily.html" title="enum in org.apache.poi.common.usermodel.fonts">FontFamily</a> family)</code> +<div class="block">Sets the font family class</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#setIndex(int)">setIndex</a></strong>(int index)</code> +<div class="block">Sets the index within the collection of Font objects</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#setPitch(org.apache.poi.common.usermodel.fonts.FontPitch)">setPitch</a></strong>(<a href="../../../../../org/apache/poi/common/usermodel/fonts/FontPitch.html" title="enum in org.apache.poi.common.usermodel.fonts">FontPitch</a> pitch)</code> +<div class="block">Set the font pitch</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#setTypeface(java.lang.String)">setTypeface</a></strong>(java.lang.String typeface)</code> +<div class="block">Sets the font name</div> +</td> +</tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> @@ -379,15 +404,6 @@ extends java.lang.Object</pre> <pre>public boolean isStrikeOut()</pre> </li> </ul> -<a name="getCharSet()"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getCharSet</h4> -<pre>public <a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfCharset</a> getCharSet()</pre> -</li> -</ul> <a name="getOutPrecision()"> <!-- --> </a> @@ -430,7 +446,26 @@ extends java.lang.Object</pre> <ul class="blockList"> <li class="blockList"> <h4>getFamily</h4> -<pre>public <a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontFamilyClass.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontFamilyClass</a> getFamily()</pre> +<pre>public <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontFamily.html" title="enum in org.apache.poi.common.usermodel.fonts">FontFamily</a> getFamily()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#getFamily()">getFamily</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the family class</dd></dl> +</li> +</ul> +<a name="setFamily(org.apache.poi.common.usermodel.fonts.FontFamily)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFamily</h4> +<pre>public void setFamily(<a href="../../../../../org/apache/poi/common/usermodel/fonts/FontFamily.html" title="enum in org.apache.poi.common.usermodel.fonts">FontFamily</a> family)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setFamily(org.apache.poi.common.usermodel.fonts.FontFamily)">FontInfo</a></code></strong></div> +<div class="block">Sets the font family class</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setFamily(org.apache.poi.common.usermodel.fonts.FontFamily)">setFamily</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>family</code> - the font family class</dd></dl> </li> </ul> <a name="getPitch()"> @@ -439,16 +474,114 @@ extends java.lang.Object</pre> <ul class="blockList"> <li class="blockList"> <h4>getPitch</h4> -<pre>public <a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontPitch</a> getPitch()</pre> +<pre>public <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontPitch.html" title="enum in org.apache.poi.common.usermodel.fonts">FontPitch</a> getPitch()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#getPitch()">getPitch</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the font pitch or <code>null</code> if unsupported</dd></dl> +</li> +</ul> +<a name="setPitch(org.apache.poi.common.usermodel.fonts.FontPitch)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPitch</h4> +<pre>public void setPitch(<a href="../../../../../org/apache/poi/common/usermodel/fonts/FontPitch.html" title="enum in org.apache.poi.common.usermodel.fonts">FontPitch</a> pitch)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setPitch(org.apache.poi.common.usermodel.fonts.FontPitch)">FontInfo</a></code></strong></div> +<div class="block">Set the font pitch</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setPitch(org.apache.poi.common.usermodel.fonts.FontPitch)">setPitch</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>pitch</code> - the font pitch</dd></dl> +</li> +</ul> +<a name="getIndex()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getIndex</h4> +<pre>public java.lang.Integer getIndex()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#getIndex()">FontInfo</a></code></strong></div> +<div class="block">Get the index within the collection of Font objects</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#getIndex()">getIndex</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>unique index number of the underlying record this Font represents + (probably you don't care unless you're comparing which one is which)</dd></dl> +</li> +</ul> +<a name="setIndex(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setIndex</h4> +<pre>public void setIndex(int index)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setIndex(int)">FontInfo</a></code></strong></div> +<div class="block">Sets the index within the collection of Font objects</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setIndex(int)">setIndex</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index within the collection of Font objects</dd></dl> +</li> +</ul> +<a name="getTypeface()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTypeface</h4> +<pre>public java.lang.String getTypeface()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#getTypeface()">getTypeface</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the full name of the font, i.e. font family + type face</dd></dl> +</li> +</ul> +<a name="setTypeface(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTypeface</h4> +<pre>public void setTypeface(java.lang.String typeface)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setTypeface(java.lang.String)">FontInfo</a></code></strong></div> +<div class="block">Sets the font name</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setTypeface(java.lang.String)">setTypeface</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>typeface</code> - the full name of the font, when <code>null</code> removes the font definition - + removal is implementation specific</dd></dl> +</li> +</ul> +<a name="getCharset()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCharset</h4> +<pre>public <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontCharset.html" title="enum in org.apache.poi.common.usermodel.fonts">FontCharset</a> getCharset()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#getCharset()">getCharset</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the font charset</dd></dl> </li> </ul> -<a name="getFacename()"> +<a name="setCharset(org.apache.poi.common.usermodel.fonts.FontCharset)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> -<h4>getFacename</h4> -<pre>public java.lang.String getFacename()</pre> +<h4>setCharset</h4> +<pre>public void setCharset(<a href="../../../../../org/apache/poi/common/usermodel/fonts/FontCharset.html" title="enum in org.apache.poi.common.usermodel.fonts">FontCharset</a> charset)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setCharset(org.apache.poi.common.usermodel.fonts.FontCharset)">FontInfo</a></code></strong></div> +<div class="block">Sets the charset</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html#setCharset(org.apache.poi.common.usermodel.fonts.FontCharset)">setCharset</a></code> in interface <code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>charset</code> - the charset</dd></dl> </li> </ul> </li> @@ -478,7 +611,7 @@ extends java.lang.Object</pre> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.WmfStretchDib.html" title="class in org.apache.poi.hwmf.record"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/poi/hwmf/record/HwmfFont.html" target="_top">Frames</a></li> Modified: poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-frame.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-frame.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-frame.html (original) +++ poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-frame.html Mon Jul 24 09:18:21 2017 @@ -111,10 +111,7 @@ <li><a href="HwmfEscape.EscapeFunction.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfEscape.EscapeFunction</a></li> <li><a href="HwmfFill.ColorUsage.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFill.ColorUsage</a></li> <li><a href="HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode</a></li> -<li><a href="HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFont.WmfCharset</a></li> <li><a href="HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFont.WmfClipPrecision</a></li> -<li><a href="HwmfFont.WmfFontFamilyClass.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFont.WmfFontFamilyClass</a></li> -<li><a href="HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFont.WmfFontPitch</a></li> <li><a href="HwmfFont.WmfFontQuality.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFont.WmfFontQuality</a></li> <li><a href="HwmfFont.WmfOutPrecision.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfFont.WmfOutPrecision</a></li> <li><a href="HwmfHatchStyle.html" title="enum in org.apache.poi.hwmf.record" target="classFrame">HwmfHatchStyle</a></li> Modified: poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-summary.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-summary.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-summary.html (original) +++ poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-summary.html Mon Jul 24 09:18:21 2017 @@ -675,90 +675,74 @@ </td> </tr> <tr class="rowColor"> -<td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfCharset</a></td> -<td class="colLast"> </td> -</tr> -<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfClipPrecision</a></td> <td class="colLast"> <div class="block">ClipPrecision Flags specify clipping precision, which defines how to clip characters that are partially outside a clipping region.</div> </td> </tr> -<tr class="rowColor"> -<td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontFamilyClass.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontFamilyClass</a></td> -<td class="colLast"> -<div class="block">A property of a font that describes its general appearance.</div> -</td> -</tr> <tr class="altColor"> -<td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontPitch</a></td> -<td class="colLast"> -<div class="block">A property of a font that describes the pitch, of the characters.</div> -</td> -</tr> -<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontQuality.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfFontQuality</a></td> <td class="colLast"> <div class="block">The output quality defines how carefully to attempt to match the logical font attributes to those of an actual physical font.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfOutPrecision.html" title="enum in org.apache.poi.hwmf.record">HwmfFont.WmfOutPrecision</a></td> <td class="colLast"> <div class="block">The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfHatchStyle.html" title="enum in org.apache.poi.hwmf.record">HwmfHatchStyle</a></td> <td class="colLast"> <div class="block">The HatchStyle Enumeration specifies the hatch pattern.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfMapMode.html" title="enum in org.apache.poi.hwmf.record">HwmfMapMode</a></td> <td class="colLast"> <div class="block">A 16-bit unsigned integer that defines the mapping mode.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfMisc.WmfSetBkMode.HwmfBkMode.html" title="enum in org.apache.poi.hwmf.record">HwmfMisc.WmfSetBkMode.HwmfBkMode</a></td> <td class="colLast"> <div class="block">A 16-bit unsigned integer that defines background mix mode.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfPenStyle.HwmfLineCap.html" title="enum in org.apache.poi.hwmf.record">HwmfPenStyle.HwmfLineCap</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfPenStyle.HwmfLineDash.html" title="enum in org.apache.poi.hwmf.record">HwmfPenStyle.HwmfLineDash</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfPenStyle.HwmfLineJoin.html" title="enum in org.apache.poi.hwmf.record">HwmfPenStyle.HwmfLineJoin</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfRecordType.html" title="enum in org.apache.poi.hwmf.record">HwmfRecordType</a></td> <td class="colLast"> <div class="block">Available record types for WMF</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfTernaryRasterOp.html" title="enum in org.apache.poi.hwmf.record">HwmfTernaryRasterOp</a></td> <td class="colLast"> <div class="block">Each ternary raster operation code represents a Boolean operation in which the values of the pixels in the source, the selected brush, and the destination are combined.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfText.HwmfTextAlignment.html" title="enum in org.apache.poi.hwmf.record">HwmfText.HwmfTextAlignment</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/poi/hwmf/record/HwmfText.HwmfTextVerticalAlignment.html" title="enum in org.apache.poi.hwmf.record">HwmfText.HwmfTextVerticalAlignment</a></td> <td class="colLast"> </td> </tr> Modified: poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-tree.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-tree.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-tree.html (original) +++ poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-tree.html Mon Jul 24 09:18:21 2017 @@ -115,7 +115,7 @@ <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.WmfSetPolyfillMode.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfFill.WmfSetPolyfillMode</span></a> (implements org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfRecord.html" title="interface in org.apache.poi.hwmf.record">HwmfRecord</a>)</li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.WmfStretchBlt.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfFill.WmfStretchBlt</span></a> (implements org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfRecord.html" title="interface in org.apache.poi.hwmf.record">HwmfRecord</a>)</li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.WmfStretchDib.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfFill.WmfStretchDib</span></a> (implements org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.HwmfImageRecord.html" title="interface in org.apache.poi.hwmf.record">HwmfFill.HwmfImageRecord</a>, org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfObjectTableEntry.html" title="interface in org.apache.poi.hwmf.record">HwmfObjectTableEntry</a>, org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfRecord.html" title="interface in org.apache.poi.hwmf.record">HwmfRecord</a>)</li> -<li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfFont</span></a></li> +<li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfFont</span></a> (implements org.apache.poi.common.usermodel.fonts.<a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a>)</li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfHeader.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfHeader</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfMisc.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfMisc</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfMisc.WmfCreateBrushIndirect.html" title="class in org.apache.poi.hwmf.record"><span class="strong">HwmfMisc.WmfCreateBrushIndirect</span></a> (implements org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfObjectTableEntry.html" title="interface in org.apache.poi.hwmf.record">HwmfObjectTableEntry</a>, org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfRecord.html" title="interface in org.apache.poi.hwmf.record">HwmfRecord</a>)</li> @@ -192,10 +192,7 @@ <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfEscape.EscapeFunction.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfEscape.EscapeFunction</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.ColorUsage.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFill.ColorUsage</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode</span></a></li> -<li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfCharset.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFont.WmfCharset</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfClipPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFont.WmfClipPrecision</span></a></li> -<li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontFamilyClass.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFont.WmfFontFamilyClass</span></a></li> -<li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontPitch.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFont.WmfFontPitch</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfFontQuality.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFont.WmfFontQuality</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.WmfOutPrecision.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfFont.WmfOutPrecision</span></a></li> <li type="circle">org.apache.poi.hwmf.record.<a href="../../../../../org/apache/poi/hwmf/record/HwmfHatchStyle.html" title="enum in org.apache.poi.hwmf.record"><span class="strong">HwmfHatchStyle</span></a></li> Modified: poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-use.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-use.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-use.html (original) +++ poi/site/publish/apidocs/org/apache/poi/hwmf/record/package-use.html Mon Jul 24 09:18:21 2017 @@ -227,99 +227,86 @@ </td> </tr> <tr class="altColor"> -<td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfFont.WmfCharset.html#org.apache.poi.hwmf.record">HwmfFont.WmfCharset</a> </td> -</tr> -<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfFont.WmfClipPrecision.html#org.apache.poi.hwmf.record">HwmfFont.WmfClipPrecision</a> <div class="block">ClipPrecision Flags specify clipping precision, which defines how to clip characters that are partially outside a clipping region.</div> </td> </tr> -<tr class="altColor"> -<td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfFont.WmfFontFamilyClass.html#org.apache.poi.hwmf.record">HwmfFont.WmfFontFamilyClass</a> -<div class="block">A property of a font that describes its general appearance.</div> -</td> -</tr> <tr class="rowColor"> -<td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfFont.WmfFontPitch.html#org.apache.poi.hwmf.record">HwmfFont.WmfFontPitch</a> -<div class="block">A property of a font that describes the pitch, of the characters.</div> -</td> -</tr> -<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfFont.WmfFontQuality.html#org.apache.poi.hwmf.record">HwmfFont.WmfFontQuality</a> <div class="block">The output quality defines how carefully to attempt to match the logical font attributes to those of an actual physical font.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfFont.WmfOutPrecision.html#org.apache.poi.hwmf.record">HwmfFont.WmfOutPrecision</a> <div class="block">The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfHatchStyle.html#org.apache.poi.hwmf.record">HwmfHatchStyle</a> <div class="block">The HatchStyle Enumeration specifies the hatch pattern.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfMapMode.html#org.apache.poi.hwmf.record">HwmfMapMode</a> <div class="block">A 16-bit unsigned integer that defines the mapping mode.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfMisc.WmfSetBkMode.HwmfBkMode.html#org.apache.poi.hwmf.record">HwmfMisc.WmfSetBkMode.HwmfBkMode</a> <div class="block">A 16-bit unsigned integer that defines background mix mode.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfObjectTableEntry.html#org.apache.poi.hwmf.record">HwmfObjectTableEntry</a> <div class="block">Marker interface for Records, which should be added to the WMF object table for further selection</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfPalette.PaletteEntry.html#org.apache.poi.hwmf.record">HwmfPalette.PaletteEntry</a> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfPalette.WmfPaletteParent.html#org.apache.poi.hwmf.record">HwmfPalette.WmfPaletteParent</a> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfPenStyle.html#org.apache.poi.hwmf.record">HwmfPenStyle</a> <div class="block">The 16-bit PenStyle Enumeration is used to specify different types of pens that can be used in graphics operations.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfPenStyle.HwmfLineCap.html#org.apache.poi.hwmf.record">HwmfPenStyle.HwmfLineCap</a> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfPenStyle.HwmfLineDash.html#org.apache.poi.hwmf.record">HwmfPenStyle.HwmfLineDash</a> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfPenStyle.HwmfLineJoin.html#org.apache.poi.hwmf.record">HwmfPenStyle.HwmfLineJoin</a> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfPlaceableHeader.html#org.apache.poi.hwmf.record">HwmfPlaceableHeader</a> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfRecord.html#org.apache.poi.hwmf.record">HwmfRecord</a> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfRecordType.html#org.apache.poi.hwmf.record">HwmfRecordType</a> <div class="block">Available record types for WMF</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfTernaryRasterOp.html#org.apache.poi.hwmf.record">HwmfTernaryRasterOp</a> <div class="block">Each ternary raster operation code represents a Boolean operation in which the values of the pixels in the source, the selected brush, and the destination are combined.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfText.HwmfTextAlignment.html#org.apache.poi.hwmf.record">HwmfText.HwmfTextAlignment</a> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colOne"><a href="../../../../../org/apache/poi/hwmf/record/class-use/HwmfText.HwmfTextVerticalAlignment.html#org.apache.poi.hwmf.record">HwmfText.HwmfTextVerticalAlignment</a> </td> </tr> </tbody> Modified: poi/site/publish/apidocs/org/apache/poi/poifs/crypt/CryptoFunctions.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/crypt/CryptoFunctions.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/poifs/crypt/CryptoFunctions.html (original) +++ poi/site/publish/apidocs/org/apache/poi/poifs/crypt/CryptoFunctions.html Mon Jul 24 09:18:21 2017 @@ -225,7 +225,7 @@ extends java.lang.Object</pre> <a href="../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgorithm, byte[] salt, int spinCount)</code> -<div class="block"><cite>2.3.4.7 ECMA-376 Document Encryption Key Generation (Standard Encryption)<br/> +<div class="block"><cite>2.3.4.7 ECMA-376 Document Encryption Key Generation (Standard Encryption)<br> 2.3.4.11 Encryption Key Generation (Agile Encryption)</cite></div> </td> </tr> @@ -305,7 +305,7 @@ extends java.lang.Object</pre> <a href="../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgorithm, byte[] salt, int spinCount)</pre> -<div class="block"><p><cite>2.3.4.7 ECMA-376 Document Encryption Key Generation (Standard Encryption)<br/> +<div class="block"><p><cite>2.3.4.7 ECMA-376 Document Encryption Key Generation (Standard Encryption)<br> 2.3.4.11 Encryption Key Generation (Agile Encryption)</cite></p> <p>The encryption key for ECMA-376 document encryption [ECMA-376] using agile @@ -371,9 +371,9 @@ extends java.lang.Object</pre> generated by using the following method, where H() is a hash function that MUST be the same as specified in section 2.3.4.11 and a plus sign (+) represents concatenation:</p> <ul> - <li>If a blockKey is provided, let IV be a hash of the KeySalt and the following value:<br/> + <li>If a blockKey is provided, let IV be a hash of the KeySalt and the following value:<br> <code>blockKey: IV = H(KeySalt + blockKey)</code></li> - <li>If a blockKey is not provided, let IV be equal to the following value:<br/> + <li>If a blockKey is not provided, let IV be equal to the following value:<br> <code>KeySalt:IV = KeySalt</code></li> <li>If the number of bytes in the value of IV is less than the the value of the blockSize attribute corresponding to the cipherAlgorithm attribute, pad the array of bytes by appending 0x36 until Modified: poi/site/publish/apidocs/org/apache/poi/poifs/crypt/class-use/HashAlgorithm.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/crypt/class-use/HashAlgorithm.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/poifs/crypt/class-use/HashAlgorithm.html (original) +++ poi/site/publish/apidocs/org/apache/poi/poifs/crypt/class-use/HashAlgorithm.html Mon Jul 24 09:18:21 2017 @@ -225,7 +225,7 @@ the order they are declared.</div> <a href="../../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgorithm, byte[] salt, int spinCount)</code> -<div class="block"><cite>2.3.4.7 ECMA-376 Document Encryption Key Generation (Standard Encryption)<br/> +<div class="block"><cite>2.3.4.7 ECMA-376 Document Encryption Key Generation (Standard Encryption)<br> 2.3.4.11 Encryption Key Generation (Agile Encryption)</cite></div> </td> </tr> @@ -658,8 +658,8 @@ the order they are declared.</div> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">XWPFDocument.</span><code><strong><a href="../../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html#enforceCommentsProtection(java.lang.String,%20org.apache.poi.poifs.crypt.HashAlgorithm)">enforceCommentsProtection</a></strong>(java.lang.String password, <a href="../../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgo)</code> -<div class="block">Enforce the Comments protection.<br/> - <br/> +<div class="block">Enforce the Comments protection.<br> + <br> sample snippet from settings.xml</div> </td> </tr> @@ -667,8 +667,8 @@ the order they are declared.</div> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">XWPFDocument.</span><code><strong><a href="../../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html#enforceFillingFormsProtection(java.lang.String,%20org.apache.poi.poifs.crypt.HashAlgorithm)">enforceFillingFormsProtection</a></strong>(java.lang.String password, <a href="../../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgo)</code> -<div class="block">Enforce the Filling Forms protection.<br/> - <br/> +<div class="block">Enforce the Filling Forms protection.<br> + <br> sample snippet from settings.xml</div> </td> </tr> @@ -676,8 +676,8 @@ the order they are declared.</div> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">XWPFDocument.</span><code><strong><a href="../../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html#enforceReadonlyProtection(java.lang.String,%20org.apache.poi.poifs.crypt.HashAlgorithm)">enforceReadonlyProtection</a></strong>(java.lang.String password, <a href="../../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgo)</code> -<div class="block">Enforces the readOnly protection with a password.<br/> - <br/> +<div class="block">Enforces the readOnly protection with a password.<br> + <br> sample snippet from settings.xml</div> </td> </tr> @@ -685,8 +685,8 @@ the order they are declared.</div> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">XWPFDocument.</span><code><strong><a href="../../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html#enforceTrackedChangesProtection(java.lang.String,%20org.apache.poi.poifs.crypt.HashAlgorithm)">enforceTrackedChangesProtection</a></strong>(java.lang.String password, <a href="../../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgo)</code> -<div class="block">Enforce the Tracked Changes protection.<br/> - <br/> +<div class="block">Enforce the Tracked Changes protection.<br> + <br> sample snippet from settings.xml</div> </td> </tr> @@ -695,8 +695,8 @@ the order they are declared.</div> <td class="colLast"><span class="strong">XWPFSettings.</span><code><strong><a href="../../../../../../org/apache/poi/xwpf/usermodel/XWPFSettings.html#setEnforcementEditValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDocProtect.Enum,%20java.lang.String,%20org.apache.poi.poifs.crypt.HashAlgorithm)">setEnforcementEditValue</a></strong>(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDocProtect.Enum editValue, java.lang.String password, <a href="../../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a> hashAlgo)</code> -<div class="block">Enforces the protection with the option specified by passed editValue and password.<br/> - <br/> +<div class="block">Enforces the protection with the option specified by passed editValue and password.<br> + <br> sample snippet from settings.xml</div> </td> </tr> Modified: poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html (original) +++ poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html Mon Jul 24 09:18:21 2017 @@ -519,7 +519,7 @@ implements <a href="../../../../../org/a <pre>public NPOIFSFileSystem(java.io.InputStream stream) throws java.io.IOException</pre> <div class="block">Create a POIFSFileSystem from an <tt>InputStream</tt>. Normally the stream is read until - EOF. The stream is always closed.<p/> + EOF. The stream is always closed.<p> Some streams are usable after reaching EOF (typically those that return <code>true</code> for <tt>markSupported()</tt>). In the unlikely case that the caller has such a stream Modified: poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/OPOIFSFileSystem.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/OPOIFSFileSystem.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/OPOIFSFileSystem.html (original) +++ poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/OPOIFSFileSystem.html Mon Jul 24 09:18:21 2017 @@ -300,7 +300,7 @@ implements <a href="../../../../../org/a <pre>public OPOIFSFileSystem(java.io.InputStream stream) throws java.io.IOException</pre> <div class="block">Create a OPOIFSFileSystem from an <tt>InputStream</tt>. Normally the stream is read until - EOF. The stream is always closed.<p/> + EOF. The stream is always closed.<p> Some streams are usable after reaching EOF (typically those that return <code>true</code> for <tt>markSupported()</tt>). In the unlikely case that the caller has such a stream Modified: poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/POIFSFileSystem.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/POIFSFileSystem.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/POIFSFileSystem.html (original) +++ poi/site/publish/apidocs/org/apache/poi/poifs/filesystem/POIFSFileSystem.html Mon Jul 24 09:18:21 2017 @@ -276,7 +276,7 @@ implements <a href="../../../../../org/a <pre>public POIFSFileSystem(java.io.InputStream stream) throws java.io.IOException</pre> <div class="block">Create a POIFSFileSystem from an <tt>InputStream</tt>. Normally the stream is read until - EOF. The stream is always closed.<p/> + EOF. The stream is always closed.<p> Some streams are usable after reaching EOF (typically those that return <code>true</code> for <tt>markSupported()</tt>). In the unlikely case that the caller has such a stream Modified: poi/site/publish/apidocs/org/apache/poi/poifs/storage/DataInputBlock.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/storage/DataInputBlock.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/poifs/storage/DataInputBlock.html (original) +++ poi/site/publish/apidocs/org/apache/poi/poifs/storage/DataInputBlock.html Mon Jul 24 09:18:21 2017 @@ -102,13 +102,13 @@ extends java.lang.Object</pre> <div class="block">Wraps a <tt>byte</tt> array and provides simple data input access. Internally, this class maintains a buffer read index, so that for the most part, primitive - data can be read in a data-input-stream-like manner.<p/> + data can be read in a data-input-stream-like manner.<p> Note - the calling class should call the <a href="../../../../../org/apache/poi/poifs/storage/DataInputBlock.html#available()"><code>available()</code></a> method to detect end-of-buffer and move to the next data block when the current is exhausted. For optimisation reasons, no error handling is performed in this class. Thus, mistakes in calling code ran may raise ugly exceptions here, like <code>ArrayIndexOutOfBoundsException</code>, - etc .<p/> + etc .<p> The multi-byte primitive input methods (<a href="../../../../../org/apache/poi/poifs/storage/DataInputBlock.html#readUShortLE()"><code>readUShortLE()</code></a>, <a href="../../../../../org/apache/poi/poifs/storage/DataInputBlock.html#readIntLE()"><code>readIntLE()</code></a> and <a href="../../../../../org/apache/poi/poifs/storage/DataInputBlock.html#readLongLE()"><code>readLongLE()</code></a>) have corresponding 'spanning read' methods which (when required) perform Modified: poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFactory.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFactory.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFactory.html (original) +++ poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFactory.html Mon Jul 24 09:18:21 2017 @@ -225,21 +225,27 @@ extends java.lang.Object</pre> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html#getDrawable(org.apache.poi.sl.usermodel.TextShape)">getDrawable</a></strong>(<a href="../../../../../org/apache/poi/sl/usermodel/TextShape.html" title="interface in org.apache.poi.sl.usermodel">TextShape</a><?,?> shape)</code> </td> </tr> <tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html" title="interface in org.apache.poi.sl.draw">DrawFontManager</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html#getFontManager(java.awt.Graphics2D)">getFontManager</a></strong>(java.awt.Graphics2D graphics)</code> +<div class="block">Return a FontManager, either registered beforehand or a default implementation</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html" title="class in org.apache.poi.sl.draw">DrawFactory</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html#getInstance(java.awt.Graphics2D)">getInstance</a></strong>(java.awt.Graphics2D graphics)</code> <div class="block">Returns the DrawFactory, preferably via a graphics instance.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/poi/sl/draw/DrawPaint.html" title="class in org.apache.poi.sl.draw">DrawPaint</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html#getPaint(org.apache.poi.sl.usermodel.PlaceableShape)">getPaint</a></strong>(<a href="../../../../../org/apache/poi/sl/usermodel/PlaceableShape.html" title="interface in org.apache.poi.sl.usermodel">PlaceableShape</a><?,?> shape)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/poi/sl/draw/DrawTextFragment.html" title="class in org.apache.poi.sl.draw">DrawTextFragment</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html#getTextFragment(java.awt.font.TextLayout,%20java.text.AttributedString)">getTextFragment</a></strong>(java.awt.font.TextLayout layout, java.text.AttributedString str)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html#setDefaultFactory(org.apache.poi.sl.draw.DrawFactory)">setDefaultFactory</a></strong>(<a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html" title="class in org.apache.poi.sl.draw">DrawFactory</a> factory)</code> <div class="block">Set a custom draw factory for the current thread.</div> @@ -490,7 +496,7 @@ extends java.lang.Object</pre> <a name="fixFonts(java.awt.Graphics2D)"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>fixFonts</h4> <pre>public void fixFonts(java.awt.Graphics2D graphics)</pre> @@ -499,6 +505,18 @@ extends java.lang.Object</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>graphics</code> - the graphics context which will contain the font mapping</dd></dl> </li> </ul> +<a name="getFontManager(java.awt.Graphics2D)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getFontManager</h4> +<pre>public <a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html" title="interface in org.apache.poi.sl.draw">DrawFontManager</a> getFontManager(java.awt.Graphics2D graphics)</pre> +<div class="block">Return a FontManager, either registered beforehand or a default implementation</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>graphics</code> - the graphics context holding potentially a font manager</dd> +<dt><span class="strong">Returns:</span></dt><dd>the font manager</dd></dl> +</li> +</ul> </li> </ul> </li> Modified: poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFontManager.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFontManager.html?rev=1802770&r1=1802769&r2=1802770&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFontManager.html (original) +++ poi/site/publish/apidocs/org/apache/poi/sl/draw/DrawFontManager.html Mon Jul 24 09:18:21 2017 @@ -39,7 +39,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html" title="class in org.apache.poi.sl.draw"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/poi/sl/draw/DrawFreeformShape.html" title="class in org.apache.poi.sl.draw"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/poi/sl/draw/DrawFontManagerDefault.html" title="class in org.apache.poi.sl.draw"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/poi/sl/draw/DrawFontManager.html" target="_top">Frames</a></li> @@ -88,6 +88,10 @@ <div class="description"> <ul class="blockList"> <li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../../org/apache/poi/sl/draw/DrawFontManagerDefault.html" title="class in org.apache.poi.sl.draw">DrawFontManagerDefault</a></dd> +</dl> <hr> <br> <pre>public interface <span class="strong">DrawFontManager</span></pre> @@ -113,18 +117,36 @@ <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> -<td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html#getFallbackFont(java.lang.String,%20int)">getFallbackFont</a></strong>(java.lang.String typeface, - int pitchFamily)</code> +<td class="colFirst"><code>java.awt.Font</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html#createAWTFont(java.awt.Graphics2D,%20org.apache.poi.common.usermodel.fonts.FontInfo,%20double,%20boolean,%20boolean)">createAWTFont</a></strong>(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo, + double size, + boolean bold, + boolean italic)</code> +<div class="block">Create an AWT font object with the given attributes</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html#getFallbackFont(java.awt.Graphics2D,%20org.apache.poi.common.usermodel.fonts.FontInfo)">getFallbackFont</a></strong>(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo)</code> <div class="block">In case the original font doesn't contain a glyph, use the returned fallback font as an alternative</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html#getMappedFont(java.awt.Graphics2D,%20org.apache.poi.common.usermodel.fonts.FontInfo)">getMappedFont</a></strong>(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo)</code> +<div class="block">select a font to be used to paint text</div> +</td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html#getRendererableFont(java.lang.String,%20int)">getRendererableFont</a></strong>(java.lang.String typeface, - int pitchFamily)</code> -<div class="block">select a font to be used to paint text</div> +<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/sl/draw/DrawFontManager.html#mapFontCharset(java.awt.Graphics2D,%20org.apache.poi.common.usermodel.fonts.FontInfo,%20java.lang.String)">mapFontCharset</a></strong>(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo, + java.lang.String text)</code> +<div class="block">Map text charset depending on font family.</div> </td> </tr> </table> @@ -142,40 +164,66 @@ <!-- --> </a> <h3>Method Detail</h3> -<a name="getRendererableFont(java.lang.String, int)"> +<a name="getMappedFont(java.awt.Graphics2D, org.apache.poi.common.usermodel.fonts.FontInfo)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>getRendererableFont</h4> -<pre>java.lang.String getRendererableFont(java.lang.String typeface, - int pitchFamily)</pre> +<h4>getMappedFont</h4> +<pre><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> getMappedFont(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo)</pre> <div class="block">select a font to be used to paint text</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>typeface</code> - the font family as defined in the .pptx file. - This can be unknown or missing in the graphic environment.</dd><dd><code>pitchFamily</code> - a pitch-and-family, - see <a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getFamily()"><code>HwmfFont.getFamily()</code></a> and - <a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getPitch()"><code>HwmfFont.getPitch()</code></a> - for how to calculate those (ancient) values</dd> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>graphics</code> - the graphics context to request additional rendering hints</dd><dd><code>fontInfo</code> - the font info object corresponding to the text run font</dd> <dt><span class="strong">Returns:</span></dt><dd>the font to be used to paint text</dd></dl> </li> </ul> -<a name="getFallbackFont(java.lang.String, int)"> +<a name="getFallbackFont(java.awt.Graphics2D, org.apache.poi.common.usermodel.fonts.FontInfo)"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>getFallbackFont</h4> -<pre>java.lang.String getFallbackFont(java.lang.String typeface, - int pitchFamily)</pre> +<pre><a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> getFallbackFont(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo)</pre> <div class="block">In case the original font doesn't contain a glyph, use the returned fallback font as an alternative</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>typeface</code> - the font family as defined in the .pptx file.</dd><dd><code>pitchFamily</code> - a pitch-and-family, - see <a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getFamily()"><code>HwmfFont.getFamily()</code></a> and - <a href="../../../../../org/apache/poi/hwmf/record/HwmfFont.html#getPitch()"><code>HwmfFont.getPitch()</code></a> - for how to calculate those (ancient) values</dd> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>graphics</code> - the graphics context to request additional rendering hints</dd><dd><code>fontInfo</code> - the font info object corresponding to the text run font</dd> <dt><span class="strong">Returns:</span></dt><dd>the font to be used as a fallback for the original typeface</dd></dl> </li> </ul> +<a name="mapFontCharset(java.awt.Graphics2D, org.apache.poi.common.usermodel.fonts.FontInfo, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapFontCharset</h4> +<pre>java.lang.String mapFontCharset(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo, + java.lang.String text)</pre> +<div class="block">Map text charset depending on font family.<p> + + Currently this only maps for wingdings font (into unicode private use area)</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>graphics</code> - the graphics context to request additional rendering hints</dd><dd><code>fontInfo</code> - the font info object corresponding to the text run font</dd><dd><code>text</code> - the raw text</dd> +<dt><span class="strong">Returns:</span></dt><dd>String with mapped codepoints</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://stackoverflow.com/questions/8692095">Drawing exotic fonts in a java applet</a>, +<a href="../../../../../org/apache/poi/util/StringUtil.html#mapMsCodepointString(java.lang.String)"><code>StringUtil.mapMsCodepointString(String)</code></a></dd></dl> +</li> +</ul> +<a name="createAWTFont(java.awt.Graphics2D, org.apache.poi.common.usermodel.fonts.FontInfo, double, boolean, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>createAWTFont</h4> +<pre>java.awt.Font createAWTFont(java.awt.Graphics2D graphics, + <a href="../../../../../org/apache/poi/common/usermodel/fonts/FontInfo.html" title="interface in org.apache.poi.common.usermodel.fonts">FontInfo</a> fontInfo, + double size, + boolean bold, + boolean italic)</pre> +<div class="block">Create an AWT font object with the given attributes</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>graphics</code> - the graphics context to request additional rendering hints</dd><dd><code>fontInfo</code> - the font info object corresponding to the text run font</dd><dd><code>size</code> - the font size in points</dd><dd><code>bold</code> - <code>true</code> if the font is bold</dd><dd><code>italic</code> - <code>true</code> if the font is italic</dd> +<dt><span class="strong">Returns:</span></dt><dd>the AWT font object</dd></dl> +</li> +</ul> </li> </ul> </li> @@ -203,7 +251,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/poi/sl/draw/DrawFactory.html" title="class in org.apache.poi.sl.draw"><span class="strong">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/poi/sl/draw/DrawFreeformShape.html" title="class in org.apache.poi.sl.draw"><span class="strong">Next Class</span></a></li> +<li><a href="../../../../../org/apache/poi/sl/draw/DrawFontManagerDefault.html" title="class in org.apache.poi.sl.draw"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/poi/sl/draw/DrawFontManager.html" target="_top">Frames</a></li> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
