module com { module sun { module star { module drawing {
/** A cache of preview bitmaps for the slides of one Impress or Draw documentinonesize.Theremaybemorethanonecacheforone document.Theseareinternallyconnectedandformissingpreviewsone cachemaytakeitfromanothercacheandscaleittothedesiredsize. Whenapreviewisnotpresentthenitiscreatedasynchronously.On creationallregisteredlistenersarenotified.
SlidesarereferencedviatheirindexinanXIndexAccesscontainerin ordertoallowmultiplereferencestoasingleslide(custom presentations).
*/
interface XSlidePreviewCache
{ /** Set the set of slides for which the cache will provide the previews.AllslidesinthegivenXIndexAccessarerequiredtocome fromthegivenmodel. @paramxSlides Thesetofslidesforwhichthecalledcachewillprovidethe previews.Thiscontainerdefinestheindicesthatareusedto lookupslides. @paramxDocument ThemodelthatcontainstheslidesreferencebythexSlidesargument.
*/ void setDocumentSlides (
[in] ::com::sun::star::container::XIndexAccess xSlides,
[in] ::com::sun::star::uno::XInterface xDocument);
/** Define which slides are currently visible on the screen and which arenot.Thisinformationisusedforgivepreviewcreationfor visibleslidesahigherprioritythanforthoseslidesthatarenot visible.
*/ void setVisibleRange ([in] long nFirstVisibleSlideIndex, [in] long nLastVisibleSlideIndex);
/** Define the size of the previews that are managed by the called cache.
*/ void setPreviewSize ([in] ::com::sun::star::geometry::IntegerSize2D aSize);
/** Return a preview for the given slide index. Thereturnedbitmapmaybetherequestedpreview,apreviewofthe preview,i.e.ascaledupordownversion,oranemptyreference whenthepreviewisnotyetpresent.
/** Register a listener that is called when a preview has been created asynchronously.
*/ void addPreviewCreationNotifyListener ([in] XSlidePreviewCacheListener xListener);
/** Remove a previously registered listener for preview creations.
*/ void removePreviewCreationNotifyListener ([in] XSlidePreviewCacheListener xListener);
/** Stop the asynchronous creation of previews temporarily. Callresume()torestartit.
*/ void pause ();
/** Resume the asynchronous creation of slide previews.
*/ void resume ();
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.