Aspose::Cells::Drawing::IOleObject Class Referenceabstract

Represents an OleObject in a worksheet. More...

Inherits Aspose::Cells::Drawing::IShape.

Public Member Functions

virtual void SetEmbeddedObject (bool linkToFile, intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> objectData, intrusive_ptr< Aspose::Cells::Systems::String > sourceFileName, bool displayAsIcon, intrusive_ptr< Aspose::Cells::Systems::String > label)=0
 Sets embedded object data. More...
 
virtual void SetEmbeddedObject (bool linkToFile, intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> objectData, intrusive_ptr< Aspose::Cells::Systems::String > sourceFileName, bool displayAsIcon, intrusive_ptr< Aspose::Cells::Systems::String > label, bool updateIcon)=0
 Sets embedded object data. More...
 
virtual bool IsAutoSize ()=0
 True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated. More...
 
virtual void SetAutoSize (bool value)=0
 True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated. More...
 
virtual bool IsLink ()=0
 Returns true if the OleObject links to the file. More...
 
virtual void SetLink (bool value)=0
 Returns true if the OleObject links to the file. More...
 
virtual bool GetDisplayAsIcon ()=0
 True if the specified object is displayed as an icon and the image will not be auto changed. More...
 
virtual void SetDisplayAsIcon (bool value)=0
 True if the specified object is displayed as an icon and the image will not be auto changed. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetImageData ()=0
 Represents image of ole object as byte array. More...
 
virtual void SetImageData (intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> value)=0
 Represents image of ole object as byte array. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetObjectData ()=0
 Represents embedded ole object data as byte array. More...
 
virtual void SetObjectData (intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> value)=0
 Represents embedded ole object data as byte array. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetFullObjectBin ()=0
 Gets the full embedded ole object binary data in the template file. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetImageSourceFullName ()=0
 Gets the path and name of the source file for the linked image. More...
 
virtual void SetImageSourceFullName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the path and name of the source file for the linked image. More...
 
virtual void SetNativeSourceFullName (intrusive_ptr< Aspose::Cells::Systems::String > sourceFullName)=0
 Sets the ole native source full file name with path. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetProgID ()=0
 Gets the ProgID of the OLE object. More...
 
virtual void SetProgID (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the ProgID of the OLE object. More...
 
virtual Aspose::Cells::FileFormatType GetFileFormatType ()=0
 Gets the file type of the embedded ole object data More...
 
virtual void SetFileFormatType (Aspose::Cells::FileFormatType value)=0
 Sets the file type of the embedded ole object data More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetObjectSourceFullName ()=0
 Returns the source full name of the source file for the linked OLE object. More...
 
virtual void SetObjectSourceFullName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Returns the source full name of the source file for the linked OLE object. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetLabel ()=0
 Gets the display label of the linked ole object. More...
 
virtual void SetLabel (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the display label of the linked ole object. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetSourceFullName ()=0
 Returns the source full name of the source file for the linked OLE object. More...
 
virtual void SetSourceFullName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Returns the source full name of the source file for the linked OLE object. More...
 
virtual bool GetAutoUpdate ()=0
 Specifies whether the link to the OleObject is automatically updated or not. More...
 
virtual void SetAutoUpdate (bool value)=0
 Specifies whether the link to the OleObject is automatically updated or not. More...
 
virtual bool GetAutoLoad ()=0
 Specifies whether the host application for the embedded object shall be called to load the object data automatically when the parent workbook is opened. More...
 
virtual void SetAutoLoad (bool value)=0
 Specifies whether the host application for the embedded object shall be called to load the object data automatically when the parent workbook is opened. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetClassIdentifier ()=0
 Gets and sets the class identifier of the embedded object. It means which application opens the embedded file. More...
 
virtual void SetClassIdentifier (intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> value)=0
 Gets and sets the class identifier of the embedded object. It means which application opens the embedded file. More...
 
virtual Aspose::Cells::Drawing::ImageType GetImageType ()=0
 Gets the image format of the ole object. More...
 
- Public Member Functions inherited from Aspose::Cells::Drawing::IShape
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetMacroName ()=0
 Gets the name of macro. More...
 
virtual void SetMacroName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the name of macro. More...
 
virtual bool IsEquation ()=0
 Indicates whether the shape only contains an equation. More...
 
virtual bool IsSmartArt ()=0
 Indicates whether the shape is smart art. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IGroupShapeGetIGroupShapeResult ()=0
 Converting smart art to grouped shapes. More...
 
virtual void ToFrontOrBack (Aspose::Cells::Systems::Int32 orders)=0
 Brings the shape to the front or sends the shape to back. More...
 
virtual Aspose::Cells::Systems::Int32 GetZOrderPosition ()=0
 Returns the position of a shape in the z-order. More...
 
virtual void SetZOrderPosition (Aspose::Cells::Systems::Int32 value)=0
 Returns the position of a shape in the z-order. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetName ()=0
 Gets the name of the shape. More...
 
virtual void SetName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the name of the shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetAlternativeText ()=0
 Returns or sets the descriptive (alternative) text string of the IShape object. More...
 
virtual void SetAlternativeText (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Returns or sets the descriptive (alternative) text string of the IShape object. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetTitle ()=0
 Specifies the title (caption) of the current shape object. More...
 
virtual void SetTitle (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Specifies the title (caption) of the current shape object. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoLineFormatGetIMsoLineFormat ()=0
 Returns a MsoLineFormat object that contains line formatting properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoFillFormatGetIMsoFillFormat ()=0
 Returns a MsoFillFormat object that contains fill formatting properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::ILineFormatGetILineFormat ()=0
 Gets line style More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IFillFormatGetIFillFormat ()=0
 Returns a FillFormat object that contains fill formatting properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IShadowEffectGetIShadowEffect ()=0
 Represents a
See also
IShadowEffect

object that specifies shadow effect for the chart element or shape. More...

 
virtual Aspose::Cells::Systems::Double GetSoftEdges ()=0
 Gets the radius of blur to apply to the edges, in unit of points. More...
 
virtual void SetSoftEdges (Aspose::Cells::Systems::Double value)=0
 Sets the radius of blur to apply to the edges, in unit of points. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoTextFrameGetIMsoTextFrame ()=0
 Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoFormatPictureGetIMsoFormatPicture ()=0
 Gets the options of the picture format. More...
 
virtual bool IsHidden ()=0
 Indicates whether the object is visible. More...
 
virtual void SetHidden (bool value)=0
 Indicates whether the object is visible. More...
 
virtual bool IsLockAspectRatio ()=0
 True means that don't allow changes in aspect ratio. More...
 
virtual void SetLockAspectRatio (bool value)=0
 True means that don't allow changes in aspect ratio. More...
 
virtual bool GetLockedProperty (Aspose::Cells::Drawing::ShapeLockType type)=0
 Gets the value of locked property. More...
 
virtual void SetLockedProperty (Aspose::Cells::Drawing::ShapeLockType type, bool value)=0
 Set the locked property. More...
 
virtual Aspose::Cells::Systems::Double GetRotationAngle ()=0
 Gets the rotation of the shape. More...
 
virtual void SetRotationAngle (Aspose::Cells::Systems::Double value)=0
 Sets the rotation of the shape. More...
 
virtual intrusive_ptr< Aspose::Cells::IHyperlinkAddIHyperlink (intrusive_ptr< Aspose::Cells::Systems::String > address)=0
 Adds a hyperlink to the shape. More...
 
virtual void RemoveHyperlink ()=0
 Remove the hyperlink of the shape. More...
 
virtual intrusive_ptr< Aspose::Cells::IHyperlinkGetIHyperlink ()=0
 Gets the hyperlink of the shape. More...
 
virtual void MoveToRange (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, Aspose::Cells::Systems::Int32 lowerRightRow, Aspose::Cells::Systems::Int32 lowerRightColumn)=0
 Moves the shape to a specified range. More...
 
virtual void AlignTopRightCorner (Aspose::Cells::Systems::Int32 topRow, Aspose::Cells::Systems::Int32 rightColumn)=0
 Moves the picture to the top-right corner. More...
 
virtual Aspose::Cells::Systems::Int32 GetId ()=0
 Gets the identifier of this shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetSpid ()=0
 Specifies an optional string that an application can use to Identify the particular shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetSpt ()=0
 Specifies an optional number that an application can use to associate the particular shape with a defined shape type.
More...
 
virtual intrusive_ptr< Aspose::Cells::IWorksheetGetIWorksheet ()=0
 Gets the IWorksheet object which contains this shape. More...
 
virtual bool IsGroup ()=0
 Indicates whether the shape is a group. More...
 
virtual bool IsInGroup ()=0
 Indicates whether the shape is grouped. More...
 
virtual bool IsWordArt ()=0
 Indicates whether this shape is a word art. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::ITextEffectFormatGetITextEffectFormat ()=0
 Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape. Applies to Shape objects that represent WordArt. More...
 
virtual bool IsLocked ()=0
 True if the object is locked, False if the object can be modified when the sheet is protected. More...
 
virtual void SetLocked (bool value)=0
 True if the object is locked, False if the object can be modified when the sheet is protected. More...
 
virtual bool IsPrintable ()=0
 True if the object is printable More...
 
virtual void SetPrintable (bool value)=0
 True if the object is printable More...
 
virtual Aspose::Cells::Drawing::MsoDrawingType GetMsoDrawingType ()=0
 Gets mso drawing type. More...
 
virtual Aspose::Cells::Drawing::AutoShapeType GetAutoShapeType ()=0
 Gets the auto shape type. More...
 
virtual void SetAutoShapeType (Aspose::Cells::Drawing::AutoShapeType value)=0
 Gets the auto shape type. More...
 
virtual Aspose::Cells::Drawing::ShapeAnchorType GetAnchorType ()=0
 Gets the shape anchor placeholder. More...
 
virtual void SetAnchorType (Aspose::Cells::Drawing::ShapeAnchorType value)=0
 Sets the shape anchor placeholder. More...
 
virtual Aspose::Cells::Drawing::PlacementType GetPlacement ()=0
 Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. More...
 
virtual void SetPlacement (Aspose::Cells::Drawing::PlacementType value)=0
 Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperLeftRow ()=0
 Represents upper left corner row index. More...
 
virtual void SetUpperLeftRow (Aspose::Cells::Systems::Int32 value)=0
 Represents upper left corner row index. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperDeltaY ()=0
 Gets the shape's vertical offset from its upper left corner row. More...
 
virtual void SetUpperDeltaY (Aspose::Cells::Systems::Int32 value)=0
 Sets the shape's vertical offset from its upper left corner row. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperLeftColumn ()=0
 Represents upper left corner column index. More...
 
virtual void SetUpperLeftColumn (Aspose::Cells::Systems::Int32 value)=0
 Represents upper left corner column index. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperDeltaX ()=0
 Gets the shape's horizontal offset from its upper left corner column. More...
 
virtual void SetUpperDeltaX (Aspose::Cells::Systems::Int32 value)=0
 Sets the shape's horizontal offset from its upper left corner column. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerRightRow ()=0
 Represents lower right corner row index. More...
 
virtual void SetLowerRightRow (Aspose::Cells::Systems::Int32 value)=0
 Represents lower right corner row index. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerDeltaY ()=0
 Gets the shape's vertical offset from its lower right corner row. More...
 
virtual void SetLowerDeltaY (Aspose::Cells::Systems::Int32 value)=0
 Sets the shape's vertical offset from its lower right corner row. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerRightColumn ()=0
 Represents lower right corner column index. More...
 
virtual void SetLowerRightColumn (Aspose::Cells::Systems::Int32 value)=0
 Represents lower right corner column index. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerDeltaX ()=0
 Gets the shape's horizontal offset from its lower right corner column. More...
 
virtual void SetLowerDeltaX (Aspose::Cells::Systems::Int32 value)=0
 Gets the shape's horizontal offset from its lower right corner column. More...
 
virtual Aspose::Cells::Systems::Int32 GetRight ()=0
 Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels. More...
 
virtual void SetRight (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetBottom ()=0
 Represents the width of the shape's vertical offset from its lower bottom corner row, in unit of pixels. More...
 
virtual void SetBottom (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of the shape's vertical offset from its lower bottom corner row, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetWidth ()=0
 Represents the width of shape, in unit of pixels. More...
 
virtual void SetWidth (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of shape, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Double GetWidthInch ()=0
 Represents the width of the shape, in unit of inch. More...
 
virtual void SetWidthInch (Aspose::Cells::Systems::Double value)=0
 Represents the width of the shape, in unit of inch. More...
 
virtual Aspose::Cells::Systems::Double GetWidthPt ()=0
 Represents the width of the shape, in unit of point. More...
 
virtual void SetWidthPt (Aspose::Cells::Systems::Double value)=0
 Represents the width of the shape, in unit of point. More...
 
virtual Aspose::Cells::Systems::Double GetWidthCM ()=0
 Represents the width of the shape, in unit of centimeters. More...
 
virtual void SetWidthCM (Aspose::Cells::Systems::Double value)=0
 Represents the width of the shape, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Int32 GetHeight ()=0
 Represents the height of shape, in unit of pixel. More...
 
virtual void SetHeight (Aspose::Cells::Systems::Int32 value)=0
 Represents the height of shape, in unit of pixel. More...
 
virtual Aspose::Cells::Systems::Double GetHeightInch ()=0
 Represents the height of the shape, in unit of inches. More...
 
virtual void SetHeightInch (Aspose::Cells::Systems::Double value)=0
 Represents the height of the shape, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Double GetHeightPt ()=0
 Represents the height of the shape, in unit of points. More...
 
virtual void SetHeightPt (Aspose::Cells::Systems::Double value)=0
 Represents the height of the shape, in unit of points. More...
 
virtual Aspose::Cells::Systems::Double GetHeightCM ()=0
 Represents the height of the shape, in unit of inches. More...
 
virtual void SetHeightCM (Aspose::Cells::Systems::Double value)=0
 Represents the height of the shape, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Int32 GetLeft ()=0
 Represents the horizontal offset of shape from its left column, in unit of pixels. More...
 
virtual void SetLeft (Aspose::Cells::Systems::Int32 value)=0
 Represents the horizontal offset of shape from its left column, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Double GetLeftInch ()=0
 Represents the horizontal offset of shape from its left column, in unit of inches. More...
 
virtual void SetLeftInch (Aspose::Cells::Systems::Double value)=0
 Represents the horizontal offset of shape from its left column, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Double GetLeftCM ()=0
 Represents the horizontal offset of shape from its left column, in unit of centimeters. More...
 
virtual void SetLeftCM (Aspose::Cells::Systems::Double value)=0
 Represents the horizontal offset of shape from its left column, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Int32 GetTop ()=0
 Represents the vertical offset of shape from its top row, in unit of pixels. More...
 
virtual void SetTop (Aspose::Cells::Systems::Int32 value)=0
 Represents the vertical offset of shape from its top row, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Double GetTopInch ()=0
 Represents the vertical offset of shape from its top row, in unit of inches. More...
 
virtual void SetTopInch (Aspose::Cells::Systems::Double value)=0
 Represents the vertical offset of shape from its top row, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Double GetTopCM ()=0
 Represents the vertical offset of shape from its top row, in unit of centimeters. More...
 
virtual void SetTopCM (Aspose::Cells::Systems::Double value)=0
 Represents the vertical offset of shape from its top row, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Int32 GetTopToCorner ()=0
 Gets and sets the vertical offset of shape from worksheet top boder,in unit of pixel More...
 
virtual void SetTopToCorner (Aspose::Cells::Systems::Int32 value)=0
 Gets and sets the vertical offset of shape from worksheet top boder,in unit of pixel More...
 
virtual Aspose::Cells::Systems::Int32 GetLeftToCorner ()=0
 Gets the horizonal offset of shape from worksheet left border. More...
 
virtual void SetLeftToCorner (Aspose::Cells::Systems::Int32 value)=0
 Sets the horizonal offset of shape from worksheet left border. More...
 
virtual Aspose::Cells::Systems::Int32 GetX ()=0
 Gets the horizontal offset of shape from worksheet left border,in unit of pixels. More...
 
virtual void SetX (Aspose::Cells::Systems::Int32 value)=0
 Sets the horizontal offset of shape from worksheet left border,in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetY ()=0
 Gets the vertical offset of shape from worksheet top border,in unit of pixels. More...
 
virtual void SetY (Aspose::Cells::Systems::Int32 value)=0
 Sets the vertical offset of shape from worksheet top border,in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetWidthScale ()=0
 Gets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100; More...
 
virtual void SetWidthScale (Aspose::Cells::Systems::Int32 value)=0
 Sets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100; More...
 
virtual Aspose::Cells::Systems::Int32 GetHeightScale ()=0
 Gets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100; More...
 
virtual void SetHeightScale (Aspose::Cells::Systems::Int32 value)=0
 Sets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100; More...
 
virtual Aspose::Cells::Systems::Int32 GetTopInShape ()=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape. More...
 
virtual void SetTopInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetLeftInShape ()=0
 Represents the horizontal offset of shape from the left border of the parent shape, in unit of 1/4000 of width of the parent shape. More...
 
virtual void SetLeftInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the horizontal offset of shape from the left border of the parent shape, in unit of 1/4000 of width of the parent shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetWidthInShape ()=0
 Represents the width of the shape, in unit of 1/4000 of the parent shape. More...
 
virtual void SetWidthInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of the shape, in unit of 1/4000 of the parent shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetHeightInShape ()=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape.. More...
 
virtual void SetHeightInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape.. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IGroupShapeGetIGroupShape ()=0
 Gets the group shape which contains this shape. More...
 
virtual Aspose::Cells::Drawing::AutoShapeType GetType ()=0
 Gets the auto shape type. More...
 
virtual bool HasLine ()=0
 Gets and sets the line border of the shape is visible. More...
 
virtual void SetHasLine (bool value)=0
 Gets and sets the line border of the shape is visible. More...
 
virtual bool IsFilled ()=0
 Indicates whether the fill format is visible. More...
 
virtual void SetFilled (bool value)=0
 Indicates whether the fill format is visible. More...
 
virtual bool IsFlippedHorizontally ()=0
 Gets whether shape is horizontally flipped . More...
 
virtual void SetFlippedHorizontally (bool value)=0
 Sets whether shape is horizontally flipped . More...
 
virtual bool IsFlippedVertically ()=0
 Gets whether shape is vertically flipped . More...
 
virtual void SetFlippedVertically (bool value)=0
 Sets whether shape is vertically flipped . More...
 
virtual Aspose::Cells::Systems::Int32 GetActualLowerRightRow ()=0
 Get the actual bottom row. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array2D< Aspose::Cells::Systems::Single > > GetConnectionPoints ()=0
 Get the connection points More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream, intrusive_ptr< Aspose::Cells::Systems::Drawing::Imaging::ImageFormat > imageFormat)=0
 Creates the shape image and saves it to a stream in the specified format. More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::String > imageFile, intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Saves the shape to a file. More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream, intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Saves the shape to a stream. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Bitmap > ToImage (intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Returns the bitmap object of the shape . More...
 
virtual bool GetRelativeToOriginalPictureSize ()=0
 Indicates whether shape is relative to original picture size. More...
 
virtual void SetRelativeToOriginalPictureSize (bool value)=0
 Indicates whether shape is relative to original picture size. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetLinkedCell ()=0
 Gets the worksheet range linked to the control's value. More...
 
virtual void SetLinkedCell (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the worksheet range linked to the control's value. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetInputRange ()=0
 Gets the worksheet range used to fill the specified combo box. More...
 
virtual void SetInputRange (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the worksheet range used to fill the specified combo box. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetLinkedCell (bool isR1C1, bool isLocal)=0
 Gets the range linked to the control's value. More...
 
virtual void SetLinkedCell (intrusive_ptr< Aspose::Cells::Systems::String > formula, bool isR1C1, bool isLocal)=0
 Sets the range linked to the control's value. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetInputRange (bool isR1C1, bool isLocal)=0
 Gets the range used to fill the control. More...
 
virtual void SetInputRange (intrusive_ptr< Aspose::Cells::Systems::String > formula, bool isR1C1, bool isLocal)=0
 Sets the range used to fill the control. More...
 
virtual void UpdateSelectedValue ()=0
 
virtual Aspose::Cells::Drawing::AutoShapeType GetTextShapeType ()=0
 Gets the preset text shape type. More...
 
virtual void SetTextShapeType (Aspose::Cells::Drawing::AutoShapeType value)=0
 Sets the preset text shape type. More...
 
virtual intrusive_ptr< Aspose::Cells::IFontGetIFont ()=0
 Represents the font of shape. More...
 
virtual void SetIFont (intrusive_ptr< Aspose::Cells::IFont > value)=0
 Represents the font of shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Int32 > > CalculateTextSize ()=0
 Recalculate the text area More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetText ()=0
 Represents the string in this TextBox object. More...
 
virtual void SetText (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Represents the string in this TextBox object. More...
 
virtual bool IsRichText ()=0
 Whether or not the text is rich text. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetHtmlText ()=0
 Gets the html string which contains data and some formats in this textbox. More...
 
virtual void SetHtmlText (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the html string which contains data and some formats in this textbox. More...
 
virtual void FormatCharactersByIFont (Aspose::Cells::Systems::Int32 startIndex, Aspose::Cells::Systems::Int32 length, intrusive_ptr< Aspose::Cells::IFont > font, intrusive_ptr< Aspose::Cells::IStyleFlag > flag)=0
 Format some chararcters with the font setting. More...
 
virtual void FormatCharactersByIFont (Aspose::Cells::Systems::Int32 startIndex, Aspose::Cells::Systems::Int32 length, intrusive_ptr< Aspose::Cells::IFont > font)=0
 Format some chararcters with the font setting. More...
 
virtual intrusive_ptr< Aspose::Cells::IFontSettingGetCharacters (Aspose::Cells::Systems::Int32 startIndex, Aspose::Cells::Systems::Int32 length)=0
 Returns a Characters object that represents a range of characters within the text. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Collections::ArrayList > GetCharacters ()=0
 Returns all Characters objects that represents a range of characters within the text . More...
 
virtual Aspose::Cells::Drawing::TextOverflowType GetTextVerticalOverflow ()=0
 Gets the text vertical overflow type of the shape which contains text. More...
 
virtual void SetTextVerticalOverflow (Aspose::Cells::Drawing::TextOverflowType value)=0
 Sets the text vertical overflow type of the shape which contains text. More...
 
virtual Aspose::Cells::Drawing::TextOverflowType GetTextHorizontalOverflow ()=0
 Gets the text horizontal overflow type of the shape which contains text. More...
 
virtual void SetTextHorizontalOverflow (Aspose::Cells::Drawing::TextOverflowType value)=0
 Sets the text horizontal overflow type of the shape which contains text. More...
 
virtual bool IsTextWrapped ()=0
 Gets the text wrapped type of the shape which contains text. More...
 
virtual void SetTextWrapped (bool value)=0
 Sets the text wrapped type of the shape which contains text. More...
 
virtual Aspose::Cells::TextOrientationType GetTextOrientationType ()=0
 Gets the text orientation type of the shape. More...
 
virtual void SetTextOrientationType (Aspose::Cells::TextOrientationType value)=0
 Sets the text orientation type of the shape. More...
 
virtual Aspose::Cells::TextAlignmentType GetTextHorizontalAlignment ()=0
 Gets the text horizontal alignment type of the shape. More...
 
virtual void SetTextHorizontalAlignment (Aspose::Cells::TextAlignmentType value)=0
 Sets the text horizontal alignment type of the shape. More...
 
virtual Aspose::Cells::TextAlignmentType GetTextVerticalAlignment ()=0
 Gets the text vertical alignment type of the shape. More...
 
virtual void SetTextVerticalAlignment (Aspose::Cells::TextAlignmentType value)=0
 Sets the text vertical alignment type of the shape. More...
 
virtual Aspose::Cells::TextDirectionType GetTextDirection ()=0
 Gets the direction of the text flow for this object. More...
 
virtual void SetTextDirection (Aspose::Cells::TextDirectionType value)=0
 Sets the direction of the text flow for this object. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetControlData ()=0
 Gets the data of control. More...
 
virtual void RemoveActiveXControl ()=0
 Remove activeX control. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IShapePathCollectionGetIShapePaths ()=0
 Gets the paths of a custom geometric shape. More...
 
virtual bool IsSameSetting (intrusive_ptr< Aspose::Cells::Systems::Object > obj)=0
 Returns whether the shape is same. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Guid > GetCreateId ()=0
 Gets and sets create id for this shape. More...
 
virtual void SetCreateId (intrusive_ptr< Aspose::Cells::Systems::Guid > value)=0
 Gets and sets create id for this shape. More...
 

Detailed Description

Represents an OleObject in a worksheet.

Member Function Documentation

◆ GetAutoLoad()

virtual bool Aspose::Cells::Drawing::IOleObject::GetAutoLoad ( )
pure virtual

Specifies whether the host application for the embedded object shall be called to load the object data automatically when the parent workbook is opened.

◆ GetAutoUpdate()

virtual bool Aspose::Cells::Drawing::IOleObject::GetAutoUpdate ( )
pure virtual

Specifies whether the link to the OleObject is automatically updated or not.

◆ GetClassIdentifier()

virtual intrusive_ptr<Aspose::Cells::Systems::Array1D<Aspose::Cells::Systems::Byte> > Aspose::Cells::Drawing::IOleObject::GetClassIdentifier ( )
pure virtual

Gets and sets the class identifier of the embedded object. It means which application opens the embedded file.

◆ GetDisplayAsIcon()

virtual bool Aspose::Cells::Drawing::IOleObject::GetDisplayAsIcon ( )
pure virtual

True if the specified object is displayed as an icon and the image will not be auto changed.

◆ GetFileFormatType()

virtual Aspose::Cells::FileFormatType Aspose::Cells::Drawing::IOleObject::GetFileFormatType ( )
pure virtual

Gets the file type of the embedded ole object data

◆ GetFullObjectBin()

virtual intrusive_ptr<Aspose::Cells::Systems::Array1D<Aspose::Cells::Systems::Byte> > Aspose::Cells::Drawing::IOleObject::GetFullObjectBin ( )
pure virtual

Gets the full embedded ole object binary data in the template file.

◆ GetImageData()

virtual intrusive_ptr<Aspose::Cells::Systems::Array1D<Aspose::Cells::Systems::Byte> > Aspose::Cells::Drawing::IOleObject::GetImageData ( )
pure virtual

Represents image of ole object as byte array.

◆ GetImageSourceFullName()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Drawing::IOleObject::GetImageSourceFullName ( )
pure virtual

Gets the path and name of the source file for the linked image.

The default value is an empty string. If SourceFullName is not an empty string, the image is linked. If SourceFullName is not an empty string, but Data is null, then the image is linked and not stored in the file.

◆ GetImageType()

virtual Aspose::Cells::Drawing::ImageType Aspose::Cells::Drawing::IOleObject::GetImageType ( )
pure virtual

Gets the image format of the ole object.

◆ GetLabel()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Drawing::IOleObject::GetLabel ( )
pure virtual

Gets the display label of the linked ole object.

◆ GetObjectData()

virtual intrusive_ptr<Aspose::Cells::Systems::Array1D<Aspose::Cells::Systems::Byte> > Aspose::Cells::Drawing::IOleObject::GetObjectData ( )
pure virtual

Represents embedded ole object data as byte array.

◆ GetObjectSourceFullName()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Drawing::IOleObject::GetObjectSourceFullName ( )
pure virtual

Returns the source full name of the source file for the linked OLE object.

Only supports setting the source full name when the file type is OleFileType.Unknown. Such as wav file ,avi file..etc..

◆ GetProgID()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Drawing::IOleObject::GetProgID ( )
pure virtual

Gets the ProgID of the OLE object.

◆ GetSourceFullName()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Drawing::IOleObject::GetSourceFullName ( )
pure virtual

Returns the source full name of the source file for the linked OLE object.

NOTE: This member is now obsolete. Instead,

◆ IsAutoSize()

virtual bool Aspose::Cells::Drawing::IOleObject::IsAutoSize ( )
pure virtual

True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated.

◆ IsLink()

virtual bool Aspose::Cells::Drawing::IOleObject::IsLink ( )
pure virtual

Returns true if the OleObject links to the file.

◆ SetAutoLoad()

virtual void Aspose::Cells::Drawing::IOleObject::SetAutoLoad ( bool  value)
pure virtual

Specifies whether the host application for the embedded object shall be called to load the object data automatically when the parent workbook is opened.

◆ SetAutoSize()

virtual void Aspose::Cells::Drawing::IOleObject::SetAutoSize ( bool  value)
pure virtual

True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated.

◆ SetAutoUpdate()

virtual void Aspose::Cells::Drawing::IOleObject::SetAutoUpdate ( bool  value)
pure virtual

Specifies whether the link to the OleObject is automatically updated or not.

◆ SetClassIdentifier()

virtual void Aspose::Cells::Drawing::IOleObject::SetClassIdentifier ( intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >>  value)
pure virtual

Gets and sets the class identifier of the embedded object. It means which application opens the embedded file.

◆ SetDisplayAsIcon()

virtual void Aspose::Cells::Drawing::IOleObject::SetDisplayAsIcon ( bool  value)
pure virtual

True if the specified object is displayed as an icon and the image will not be auto changed.

◆ SetEmbeddedObject() [1/2]

virtual void Aspose::Cells::Drawing::IOleObject::SetEmbeddedObject ( bool  linkToFile,
intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >>  objectData,
intrusive_ptr< Aspose::Cells::Systems::String >  sourceFileName,
bool  displayAsIcon,
intrusive_ptr< Aspose::Cells::Systems::String >  label 
)
pure virtual

Sets embedded object data.

Parameters
linkToFileIndicates whether the object links to the file. If true, the parameter objectData is ignored.
objectDataThe embedded object data.
sourceFileNameThe file name.
displayAsIconIndicates whether diplaying object as an icon. If true, the orginal image data will be covered by icon.
labelThe icon label. Only works when displayAsIcon as true.

◆ SetEmbeddedObject() [2/2]

virtual void Aspose::Cells::Drawing::IOleObject::SetEmbeddedObject ( bool  linkToFile,
intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >>  objectData,
intrusive_ptr< Aspose::Cells::Systems::String >  sourceFileName,
bool  displayAsIcon,
intrusive_ptr< Aspose::Cells::Systems::String >  label,
bool  updateIcon 
)
pure virtual

Sets embedded object data.

Parameters
linkToFileIndicates whether the object links to the file. If true, the parameter objectData is ignored.
objectDataThe embedded object data.
sourceFileNameThe file name.
displayAsIconIndicates whether diplaying object as an icon. If true, the orginal image data will be covered by icon.
labelThe icon label. Only works when displayAsIcon as true.
updateIconIndicates whether automatically updating icon.

As Aspose can update embedd all file icons, so it's better that you can add correct icon with updateIcon as false.

◆ SetFileFormatType()

virtual void Aspose::Cells::Drawing::IOleObject::SetFileFormatType ( Aspose::Cells::FileFormatType  value)
pure virtual

Sets the file type of the embedded ole object data

◆ SetImageData()

virtual void Aspose::Cells::Drawing::IOleObject::SetImageData ( intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >>  value)
pure virtual

Represents image of ole object as byte array.

◆ SetImageSourceFullName()

virtual void Aspose::Cells::Drawing::IOleObject::SetImageSourceFullName ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Sets the path and name of the source file for the linked image.

The default value is an empty string. If SourceFullName is not an empty string, the image is linked. If SourceFullName is not an empty string, but Data is null, then the image is linked and not stored in the file.

◆ SetLabel()

virtual void Aspose::Cells::Drawing::IOleObject::SetLabel ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Sets the display label of the linked ole object.

◆ SetLink()

virtual void Aspose::Cells::Drawing::IOleObject::SetLink ( bool  value)
pure virtual

Returns true if the OleObject links to the file.

◆ SetNativeSourceFullName()

virtual void Aspose::Cells::Drawing::IOleObject::SetNativeSourceFullName ( intrusive_ptr< Aspose::Cells::Systems::String >  sourceFullName)
pure virtual

Sets the ole native source full file name with path.

Parameters
sourceFullNamethe ole native source full file name

◆ SetObjectData()

virtual void Aspose::Cells::Drawing::IOleObject::SetObjectData ( intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >>  value)
pure virtual

Represents embedded ole object data as byte array.

◆ SetObjectSourceFullName()

virtual void Aspose::Cells::Drawing::IOleObject::SetObjectSourceFullName ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Returns the source full name of the source file for the linked OLE object.

Only supports setting the source full name when the file type is OleFileType.Unknown. Such as wav file ,avi file..etc..

◆ SetProgID()

virtual void Aspose::Cells::Drawing::IOleObject::SetProgID ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Sets the ProgID of the OLE object.

◆ SetSourceFullName()

virtual void Aspose::Cells::Drawing::IOleObject::SetSourceFullName ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Returns the source full name of the source file for the linked OLE object.