:: com :: sun :: star :: embed ::
|
interface XVisualObject |
|
- Description
- represents common visualization functionality for embedded objects.
|
Methods' Details |
setVisualAreaSize
- Description
- sets the size of object's visual area.
The size must be provided in logical units according to map mode the
object communicates in.
If an object is inplace- or ui-active the method must not initiate
repainting itself.
- Parameter nAspect
- the aspect specifying the form of object representation.
Can take values from Aspects constant set.
- Parameter aSize
- the new size of the visual area
- Throws
- ::com::sun::star::lang::IllegalArgumentException
one of arguments is illegal
- Throws
- ::com::sun::star::embed::WrongStateException
the object is in wrong state
- Throws
- ::com::sun::star::uno::Exception
the object failed to resize
|
|
getVisualAreaSize
- Description
- gets the size of object's visual area.
The size must be provided in logical units according to map mode the
object communicates in.
- Parameter nAspect
- the aspect specifying the form of object representation.
Can take values from Aspects constant set.
- Returns
- the size of visual area
- Throws
- ::com::sun::star::lang::IllegalArgumentException
one of arguments is illegal
- Throws
- ::com::sun::star::embed::WrongStateException
the object is in wrong state
|
|
getPreferredVisualRepresentation
- Description
- retrieves visual representation of the object in preferable format.
If the object persistence entry contains cached visual representation
then it can be retrieved by using this method even in loaded state.
- Parameter nAspect
- the aspect the representation is requested for.
Can take values from Aspects constant set.
- Returns
- the visual representation of the object in the default format and
the format
- Throws
- ::com::sun::star::lang::IllegalArgumentException
one of arguments is illegal
- Throws
- ::com::sun::star::embed::WrongStateException
the object is in wrong state
- Throws
- ::com::sun::star::uno::Exception
in case of problems
|
|
getMapUnit
long |
getMapUnit( |
[in] hyper |
nAspect ) |
raises( |
::com::sun::star::uno::Exception ); |
- Description
- retrieves map mode the object communicates in.
- Parameter nAspect
- the aspect the map mode is requested for.
Can take values from Aspects constant set.
- Returns
- the map mode the object communicates in, it can take values from
EmbedMapUnits constant
- Throws
- ::com::sun::star::embed::WrongStateException
the object is in wrong state
- Throws
- ::com::sun::star::uno::Exception
in case of problems
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.