:: ooo :: vba ::

unpublished interface XDocumentProperty
Base Interfaces
XDocumentProperty
┣ ::com::sun::star::script::XDefaultPropertyXHelperInterface
   ┗ ::com::sun::star::lang::XServiceInfo

::com::sun::star::script::XDefaultProperty
(referenced interface's summary:)
An object supporting this interface indicates to interested parties or clients the name of the default propery for this object.
XHelperInterface
Usage Restrictions
not published
Description
* Specific built-in document property. Use CustomDocumentProperties(index), * where index is the name or index number of the custom document property, * to return a DocumentProperty object that represents a specific custom document property.

Methods' Summary
Delete  
getName Required String. The name of the property.  
setName  
getType The data type of the property. * Can be one of the following MsoDocProperties constants: * msoPropertyTypeBoolean, msoPropertyTypeDate, msoPropertyTypeFloat, * msoPropertyTypeNumber, or msoPropertyTypeString.  
setType  
getLinkToContent If true, then LinkSource has a valid value.  
setLinkToContent  
getValue If LinkToContent is false, then this contains the value of the property * The data type of the value will match the Type property.  
setValue  
getLinkSource If LinkToContent is false, then this contains the value of the property  
setLinkSource  
Methods' Details
Delete
void
Delete()
raises( ::com::sun::star::script::BasicErrorException );

getName
string
getName()
raises( ::com::sun::star::script::BasicErrorException );

Description
Required String. The name of the property.
setName
void
setName( [in] string  Name )
raises( ::com::sun::star::script::BasicErrorException );

getType
byte
getType()
raises( ::com::sun::star::script::BasicErrorException );

Description
The data type of the property. * Can be one of the following MsoDocProperties constants: * msoPropertyTypeBoolean, msoPropertyTypeDate, msoPropertyTypeFloat, * msoPropertyTypeNumber, or msoPropertyTypeString.
setType
void
setType( [in] byte  Type )
raises( ::com::sun::star::script::BasicErrorException );

getLinkToContent
boolean
getLinkToContent()
raises( ::com::sun::star::script::BasicErrorException );

Description
If true, then LinkSource has a valid value.
setLinkToContent
void
setLinkToContent( [in] boolean  LinkToContent )
raises( ::com::sun::star::script::BasicErrorException );

getValue
any
getValue()
raises( ::com::sun::star::script::BasicErrorException );

Description
If LinkToContent is false, then this contains the value of the property * The data type of the value will match the Type property.
setValue
void
setValue( [in] any  Value )
raises( ::com::sun::star::script::BasicErrorException );

getLinkSource
string
getLinkSource()
raises( ::com::sun::star::script::BasicErrorException );

Description
If LinkToContent is false, then this contains the value of the property
setLinkSource
void
setLinkSource( [in] string  LinkSource )
raises( ::com::sun::star::script::BasicErrorException );

Top of Page