diff options
author | Kai Ahrens <ka@openoffice.org> | 2002-08-23 06:09:20 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2002-08-23 06:09:20 +0000 |
commit | 6bf0c545dc98ad6afc84613cc74e3e695230051b (patch) | |
tree | b7253ab7ece14e45b4a3e82bd7f0652d5eba5596 /offapi | |
parent | 0b5e0e992c4b7cea2f91900a0ee83f362c707353 (diff) |
#102510#: changed XRenderable interface
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/view/RenderDescriptor.idl | 15 | ||||
-rw-r--r-- | offapi/com/sun/star/view/XRenderable.idl | 35 |
2 files changed, 33 insertions, 17 deletions
diff --git a/offapi/com/sun/star/view/RenderDescriptor.idl b/offapi/com/sun/star/view/RenderDescriptor.idl index 22bcace223fc..8f27b84933c8 100644 --- a/offapi/com/sun/star/view/RenderDescriptor.idl +++ b/offapi/com/sun/star/view/RenderDescriptor.idl @@ -2,9 +2,9 @@ * * $RCSfile: RenderDescriptor.idl,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: ka $ $Date: 2002-08-22 12:08:41 $ + * last change: $Author: ka $ $Date: 2002-08-23 07:09:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,16 +77,10 @@ service RenderDescriptor { //------------------------------------------------------------------------- - /** specifies the page size for all pages to be rendered. The unit of this page + /** specifies the page size for the current renderer. The unit of this page size is 1/100th mm. */ [property] com::sun::star::awt::Size PageSize; - - //------------------------------------------------------------------------- - - /** specifies if this page has currently a selected state. - */ - [property] boolean Selected; }; //============================================================================= @@ -96,6 +90,9 @@ service RenderDescriptor /*============================================================================= $Log: not supported by cvs2svn $ + Revision 1.3 2002/08/22 12:08:41 ka + #102510#: changed XRenderable interface + Revision 1.2 2002/08/19 15:02:17 ka #101571#: added PageSelectionRange diff --git a/offapi/com/sun/star/view/XRenderable.idl b/offapi/com/sun/star/view/XRenderable.idl index b55550fde53f..b3b9f7db9f71 100644 --- a/offapi/com/sun/star/view/XRenderable.idl +++ b/offapi/com/sun/star/view/XRenderable.idl @@ -2,9 +2,9 @@ * * $RCSfile: XRenderable.idl,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: ka $ $Date: 2002-08-22 12:08:41 $ + * last change: $Author: ka $ $Date: 2002-08-23 07:09:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -86,30 +86,46 @@ interface XRenderable : com::sun::star::uno::XInterface //------------------------------------------------------------------------- /** @returns - the count of renderers (e.g. paper count of a document). + the count of renderers (based on paper count of a document, for example). - @see RenderDescriptor + <p> If a selection is given, the count has to be calculated + based on this selection. The other methods of this interface + will rely on this value if called. + + <p> If the selection contains a valid XModel interface, + it is assumed that the whole document should be rendered. + If the selection is empty, nothing should be rendered. */ - long getRendererCount(); + long getRendererCount( [in] any aSelection ); //------------------------------------------------------------------------- /** @returns a descriptor of the specific renderer. - <p>The parameters of the specific renderer can be used to prepare rendering. + <p> returns the specific renderer properties based on the given selection. + + <p> If the selection contains a valid XModel interface, + it is assumed that the whole document should be rendered. + If the selection is empty, nothing should be rendered. @see RenderDescriptor */ - sequence<com::sun::star::beans::PropertyValue> getRenderer( [in] long nRenderer ); + sequence<com::sun::star::beans::PropertyValue> getRenderer( [in] long nRenderer, [in] any aSelection ); //------------------------------------------------------------------------- /** renders the object. + <p> renders the object with the specific renderer based on the given selection. + + <p> If the selection contains a valid XModel interface, + it is assumed that the whole document should be rendered. + If the selection is empty, nothing should be rendered. + @see RenderOptions */ - void render( [in] long nRenderer, [in] sequence<com::sun::star::beans::PropertyValue> xOptions ) + void render( [in] long nRenderer, [in] any aSelection, [in] sequence<com::sun::star::beans::PropertyValue> xOptions ) raises( com::sun::star::lang::IllegalArgumentException ); }; @@ -121,6 +137,9 @@ interface XRenderable : com::sun::star::uno::XInterface /*============================================================================= $Log: not supported by cvs2svn $ + Revision 1.2 2002/08/22 12:08:41 ka + #102510#: changed XRenderable interface + Revision 1.1 2002/08/13 11:16:02 ka #101570#: added XRenderable |