(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.