API Reference

Class

OdpSlide

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Modifiers sealed

An XML-backed ODP slide.

Inheritance

  • Object
  • OdpSlide

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Methods

public OdpAnimation AddAnimation(OdpShape target, String attributeName, String from, String to, TimeSpan duration) #
Returns: OdpAnimation

Adds a bounded basic animation effect for a shape attribute.

Parameters

target OfficeIMO.OpenDocument.OdpShape requiredposition: 0
attributeName System.String requiredposition: 1
from System.String requiredposition: 2
to System.String requiredposition: 3
duration System.TimeSpan requiredposition: 4
public OdpEllipse AddEllipse(OdfRect bounds, String name = null) #
Returns: OdpEllipse

Adds an ellipse.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect requiredposition: 0
name System.String = null optionalposition: 1
public OdpAnimation AddFadeInAnimation(OdpShape target, TimeSpan duration) #
Returns: OdpAnimation

Adds an opacity fade-in effect.

Parameters

target OfficeIMO.OpenDocument.OdpShape requiredposition: 0
duration System.TimeSpan requiredposition: 1
public OdpGroup AddGroup(String name = null) #
Returns: OdpGroup

Adds a group.

Parameters

name System.String = null optionalposition: 0
public OdpImage AddImage(Byte[] data, String fileName, OdfRect bounds, String name = null) #
Returns: OdpImage

Adds an image frame.

Parameters

data System.Byte[] requiredposition: 0
fileName System.String requiredposition: 1
bounds OfficeIMO.OpenDocument.OdfRect requiredposition: 2
name System.String = null optionalposition: 3
public OdpLine AddLine(OdfLength x1, OdfLength y1, OdfLength x2, OdfLength y2, String name = null) #
Returns: OdpLine

Adds a line.

Parameters

x1 OfficeIMO.OpenDocument.OdfLength requiredposition: 0
y1 OfficeIMO.OpenDocument.OdfLength requiredposition: 1
x2 OfficeIMO.OpenDocument.OdfLength requiredposition: 2
y2 OfficeIMO.OpenDocument.OdfLength requiredposition: 3
name System.String = null optionalposition: 4
public OdpRectangle AddRectangle(OdfRect bounds, String name = null) #
Returns: OdpRectangle

Adds a rectangle.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect requiredposition: 0
name System.String = null optionalposition: 1
public OdpTable AddTable(OdfRect bounds, Int32 rows, Int32 columns, String name = null) #
Returns: OdpTable

Adds a presentation table frame.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect requiredposition: 0
rows System.Int32 requiredposition: 1
columns System.Int32 requiredposition: 2
name System.String = null optionalposition: 3
public OdpTextBox AddTextBox(OdfRect bounds, String text = null, String name = null) #
Returns: OdpTextBox

Adds a text box.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect requiredposition: 0
text System.String = null optionalposition: 1
name System.String = null optionalposition: 2
public OdpNotes GetOrCreateSpeakerNotes() #
Returns: OdpNotes

Gets or creates the speaker-notes container.

Properties

public String Name { get; set; } #

Slide name.

public Boolean Hidden { get; set; } #

Whether the slide is hidden from the normal show.

public String MasterPageName { get; set; } #

Referenced master page name.

public String LayoutName { get; set; } #

Referenced presentation layout name.

public IReadOnlyList<OdpShape> Shapes { get; } #

Slide shapes in XML order.

public IReadOnlyList<OdpAnimation> Animations { get; } #

Basic typed animation effects in timing-tree order.

public OdpNotes SpeakerNotes { get; } #

Speaker notes, or null when none are present.

public Nullable<OdfColor> BackgroundColor { get; set; } #

Slide background fill color.

public String TransitionType { get; set; } #

Raw ODF transition type on the slide's drawing-page style.

public String TransitionStyle { get; set; } #

Raw ODF transition style on the slide's drawing-page style.