Setting Office 2007 - 2010 documents to display color output
To display color output in Office 2007 - 2010 documents, set the xlsxBitDepth
and docxBitDepth
parameters to 24
and the xlsxDPI
and docxDPI
parameters to 200
as shown in the following example:
<init-param>
<param-name>xlsxDPI</param-name>
<param-value>200</param-value>
</init-param>
<init-param>
<param-name>docxBitDepth</param-name>
<param-value>24</param-value>
</init-param>
<init-param>
<param-name>docxDPI</param-name>
<param-value>200</param-value>
</init-param>
<init-param>
<param-name>xlsxBitDepth</param-name>
<param-value>24</param-value>
</init-param>
<init-param>
<param-name>xlsxDPI</param-name>
<param-value>200</param-value>
</init-param>
<init-param>
<param-name>docxBitDepth</param-name>
<param-value>24</param-value>
</init-param>
<init-param>
<param-name>docxDPI</param-name>
<param-value>200</param-value>
</init-param>
Note: If you experience errors processing Office 2007-2010 documents, please ensure that Aspose.Words.
.jar, Aspose.Cells.jar and dom4j-1.6.1.jar are on the CLASSPATH. This issue should not typically appear however in PrizmDoc® for Java versions 5.0 and later.
Have questions, corrections, or concerns about this topic? Please let us know!