Hi,

When I am opening one pdf document, the OO application ask me this:
 - Character set
 - Default fonts
 - Language
 - Paragraph break
The pdf document is opened after I give this properties.

Now I want to opening pdf use ODK, but I don't know the names of this
properties in source code, and how to write it right.

116  Sequence < ::com::sun::star::beans::PropertyValue > loadProps (2);
117  loadProps[0].Name = OUString::createFromAscii( "Hidden" );
118  loadProps[0].Value <<= sal_Bool(true);
119  loadProps[1].Name = OUString::createFromAscii( "ReadOnly" );
120  loadProps[1].Value <<= sal_Bool(true);
...  loadProps[1].Name ???
...  loadProps[1].Value ???
121  Reference< XComponent > xComponent = 
g_xComponentLoader->loadComponentFromURL(
122  sAbsoluteDocUrl, OUString( RTL_CONSTASCII_USTRINGPARAM("_blank") ), 0, 
loadProps);

I would be glad if someone wrote some code example(java is ok) for me. thanks!

--
Vern
2008-08-23

Attachment: signature.asc
Description: Digital signature

Reply via email to