|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.allcolor.yahp.cl.converter.oo.COOoConverter
public class COOoConverter
Convert an html doc to pdf with OOo
| Field Summary | |
|---|---|
private COOoConnection |
connection
connection handle to ooo |
private static org.apache.log4j.Logger |
log
used for logging |
private static com.sun.star.beans.PropertyValue[] |
NO_VAL_PROP
OOo empty property |
private static com.sun.star.beans.PropertyValue[] |
OUTPUT_PROP
OOo properties to set |
| Constructor Summary | |
|---|---|
COOoConverter(COOoConnection connection)
Creates a new COOoConverter object. |
|
| Method Summary | |
|---|---|
void |
convert(java.net.URI input,
java.net.URI output)
Convert the input html doc into output pdf doc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final org.apache.log4j.Logger log
private static final com.sun.star.beans.PropertyValue[] OUTPUT_PROP
private static final com.sun.star.beans.PropertyValue[] NO_VAL_PROP
private COOoConnection connection
| Constructor Detail |
|---|
public COOoConverter(COOoConnection connection)
connection - connection handle to ooo| Method Detail |
|---|
public void convert(java.net.URI input,
java.net.URI output)
throws java.io.IOException
input - the input documentoutput - the output document
java.io.IOException - if the output document is not writable (or
the filter name is wrong)
java.lang.RuntimeException - if the input document is not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||