このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XDocumentRecovery
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 文書 ::

unpublished interface XDocumentRecovery
Usage 制限s
not published
Description
is the interface to be 器具/実施するd by 文書s who wish to 参加する in the 文書 緊急-save / 回復 過程.

Methods' 要約
wasModifiedSinceLastSave 決定するs whether the 文書 has been 修正するd since the last call to storeToRecoveryFile.  
storeToRecoveryFile does an 緊急 save of the 文書  
recoverFromFile 回復するs the 文書 after a previous 緊急 or 開会/開廷/会期 save.  
Methods' 詳細(に述べる)s
wasModifiedSinceLastSave
boolean
wasModifiedSinceLastSave();

Description
決定するs whether the 文書 has been 修正するd since the last call to storeToRecoveryFile.

If storeToRecoveryFile has not been called before, this method returns whether the 文書 has been 修正するd since it has been 負担d それぞれ created.

When saving a 開会/開廷/会期, either in 事例/患者 of a 緊急 (when OpenOffice.org 衝突,墜落d), or during a periodic 開会/開廷/会期 save as configured by the 使用者, storeToRecoveryFile is called for every 文書 where wasModifiedSinceLastSave returns true.

It's 許すd to 器具/実施する this method sloppy, by returning true in 事例/患者s where it is not sure whether the 文書 現実に has been 修正するd. So, the most simple 実施 could 簡単に 委任する/代表 this call to ::com::sun::星/主役にする::util::XModifiable::isModified. (井戸/弁護士席, 現実に that's the second simple 実施, the most simple one would, still egitimately, always return true.)

However, in such a 事例/患者, the 文書 might be saved more often than needed. In particular during the periodic 開会/開廷/会期 save, this might become a problem when saving is expensive, for a 選び出す/独身 文書 or the sum of all open 文書s.

storeToRecoveryFile
無効の
storeToRecoveryFile( [in] string  TargetLocation,
[in] sequence< ::com::sun::星/主役にする::beans::PropertyValue >  MediaDescriptor )
raises( ::com::sun::星/主役にする::io::IOException,
::com::sun::星/主役にする::lang::WrappedTargetException );

Description
does an 緊急 save of the 文書

A default 実施 of this method could 簡単に 委任する/代表 this call to ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XStorable::storeToURL.

Parameter TargetLocation
明示するs the URL of the 場所 to which the 文書 should be 緊急-saved.
Parameter MediaDescriptor
含む/封じ込めるs 付加 arguments for the save 過程, for instance an StatusIndicator.
See also
MediaDescriptor
recoverFromFile
無効の
recoverFromFile( [in] string  SourceLocation,
[in] string  SalvagedFile,
[in] sequence< ::com::sun::星/主役にする::beans::PropertyValue >  MediaDescriptor )
raises( ::com::sun::星/主役にする::io::IOException,
::com::sun::星/主役にする::lang::WrappedTargetException );

Description
回復するs the 文書 after a previous 緊急 or 開会/開廷/会期 save.

The 文書 itself has 以前 been created, but not 負担d (経由で ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XLoadable::負担) or initialized (経由で ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XLoadable::initNew).

Upon successful return, the 文書 must be fully initialized. In particular, the 報知係 is not 責任がある calling ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XModel::attachResource. Instead, the 実施 is responsible to do so, if 要求するd.

A default 実施 of this method could 簡単に 委任する/代表 this call to ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる:::XLodable::負担, followed by ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XModel::attachResource.

Parameter SourceLocation
明示するs the URL of the 場所 to which the 文書 was 以前 緊急-saved.
Parameter SalvagedFile
明示するs the 初めの URL of the とじ込み/提出する which had been 緊急-saved. If this is empty, then the とじ込み/提出する should be 回復するd from its 初めの 場所.
Parameter MediaDescriptor
含む/封じ込めるs 付加 arguments for the 負担 過程, for instance an StatusIndicator.
See also
MediaDescriptor
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.