Has anyone had any success using the "New" pdf
properties programmatically? 

I can't find much documenation, so I tried to use
XStore and pass in the properies, but they seem to be
ignored.

I am using 2.0.3+ (build OOD680_m1)

Here is basically what I am doing:

XStorable xStore = ( XStorable )
UnoRuntime.queryInterface( XStorable.class, document
);
xStore.storeToURL( normaliseFileURL(
file.getAbsolutePath() ), properties );

####### Properties ########
pdfProperty[ 0 ] = new PropertyValue();
pdfProperty[ 0 ].Name = "FilterName"; 
pdfProperty[ 0 ].Value = "writer_pdf_Export"; 

pdfProperty[ 1 ] = new PropertyValue();
pdfProperty[ 1 ].Name = "Overwrite"; 
pdfProperty[ 1 ].Value = new Boolean( overwrite );

pdfProperty[ 2 ] = new PropertyValue();
pdfProperty[ 2 ].Name = "FirstPageOnLeft"; 
pdfProperty[ 2 ].Value = Boolean.TRUE;

pdfProperty[ 3 ] = new PropertyValue();
pdfProperty[ 3 ].Name = "UseTaggedPDF"; 
pdfProperty[ 3 ].Value = new Integer(3);

any help would be grand.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to