Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: embed ::

constants group EntryInitModes
Description
This constant set contains possible modes to initialize object persistance.
See also
XEmbedPersist

Constants
DEFAULT_INIT In case object persistance is created based on existing entry, the object should be initialized from this entry. Otherwise the object should be initialized as a new one.  
TRUNCATE_INIT The object should be initialized as a new empty one.  
NO_INIT The object should be initialized as a new one only in case it still was not initialized. If the object initialized already do not reinitialize it.  
MEDIA_DESCRIPTOR_INIT The object should be initialized using additional arguments from provided ::com::sun::star::document::MediaDescriptor.  
URL_LINK_INIT The object should be initialized as a link using URL provided in additional arguments.  
Constants' Details
DEFAULT_INIT
const long DEFAULT_INIT = 0;
Description
In case object persistance is created based on existing entry, the object should be initialized from this entry. Otherwise the object should be initialized as a new one.
TRUNCATE_INIT
const long TRUNCATE_INIT = 1;
Description
The object should be initialized as a new empty one.
NO_INIT
const long NO_INIT = 2;
Description
The object should be initialized as a new one only in case it still was not initialized. If the object initialized already do not reinitialize it.
MEDIA_DESCRIPTOR_INIT
const long MEDIA_DESCRIPTOR_INIT = 3;
Description
The object should be initialized using additional arguments from provided ::com::sun::star::document::MediaDescriptor.
URL_LINK_INIT
const long URL_LINK_INIT = 4;
Description
The object should be initialized as a link using URL provided in additional arguments.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.