| Interface | Description |
|---|---|
| SpenPageDoc.HistoryListener |
This listener interface provides callback methods for receiving history events.
The interface receives notifications when a new history event is committed by SpenPageDoc.commitHistory(HistoryUpdateInfo) |
| SpenPageDoc.ObjectIndexMovedListener |
This listener interface provides callback methods for receiving object index change events.
Use the following method to register the listener: |
| SpenPageDoc.ObjectListener |
This listener interface is called when the state of an object is changed.
|
| SpenPageDoc.ObjectSelectedListener |
This listener interface provides callback methods for receiving object selection events.
Use the following method to register the listener: |
| Class | Description |
|---|---|
| SpenNoteDoc |
NoteDoc class
This class provides the functionality for managing the data of an SPD file and provides methods for loading and
saving the file, adding and removing PageDocs from NoteDocs, and attaching external files.
|
| SpenNoteDoc.AuthorInfo |
Author Information class.
|
| SpenNoteFile |
SpenNoteFile class
This class provides methods for managing SPD files.
|
| SpenNoteFileSignature |
SpenNoteFileSignature class
This class provides methods to lock or unlock an SPD files with signature.
|
| SpenObjectBase |
Base class of all primitive objects.
ObjectBase can not be used by itself. |
| SpenObjectContainer |
Class for Contained objects.
|
| SpenObjectImage |
SpenObjectImage Class.
|
| SpenObjectLine |
Line object class
A SpenObjectLine represents one of straight line, elbow line and curve line. The SpenObjectLine has the 2 magnet connection points on a begin point and an end point. The SpenObjectLine can connect to a magnet connection point of SpenObjectShape, SpenObjectTextBox or SpenObjectImage object. A magnet connection point of SPenObjectLine can connected to a single magnet connection point of SPenObjectShape, SpenObjectTextBox or SpenObjectImage object. The SpenObjectLine has from 0 to 3 control points for changing the path of the line. The number of control point of SPenObjectLine is changed according to the path of SpenObjectLine. And the path of ObjectLine is changed according to position and rect of connected objects. The SpenObjectLine has a rotation angle. |
| SpenObjectLine.Properties |
Properties Class.
This is a utility class for making a candidate path of SpenObjectLine. The path of SpenObjectLine depends on its connector position and connected shape. |
| SpenObjectShape |
Shape object class.
|
| SpenObjectShapeBase |
Base class of the shape category.
ObjectShapeBase can not be used by itself. Application can set/get the some effect and connection information. |
| SpenObjectShapeBase.ConnectedInfo |
A class used to inform details of current connection.
|
| SpenObjectStroke |
SpenObjectStroke class.
|
| SpenObjectTextBox |
This class represents a text box and provides methods for managing text boxes.
Some APIs and variables are moved or integrated to super class SpenObjectShape since 4.0.0.And internal classes for text span and paragraph are separated to com.samsung.android.sdk.pen.document.textspan package since 4.0.0. |
| SpenObjectTextBox.AlignParagraphInfo | Deprecated
As of 4.0.0, replaced by
SpenAlignmentParagraph. |
| SpenObjectTextBox.BackgroundColorSpanInfo | Deprecated
As of 4.0.0, Not supported anymore.
|
| SpenObjectTextBox.BoldStyleSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenBoldSpan. |
| SpenObjectTextBox.FontNameSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenFontNameSpan. |
| SpenObjectTextBox.FontSizeSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenFontSizeSpan. |
| SpenObjectTextBox.ForegroundColorSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenForegroundColorSpan. |
| SpenObjectTextBox.HyperTextStyleSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenHyperTextSpan. |
| SpenObjectTextBox.ItalicStyleSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenItalicSpan. |
| SpenObjectTextBox.LineSpacingParagraphInfo | Deprecated
As of 4.0.0, replaced by
SpenLineSpacingParagraph. |
| SpenObjectTextBox.TextDirectionSpanInfo | Deprecated
As of 4.0.0, Note supported anymore.
|
| SpenObjectTextBox.TextParagraphInfo | Deprecated
As of 4.0.0, replaced by
SpenTextParagraphBase. |
| SpenObjectTextBox.TextSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenTextSpanBase. |
| SpenObjectTextBox.UnderlineStyleSpanInfo | Deprecated
As of 4.0.0, replaced by
SpenUnderlineSpan. |
| SpenPageDoc |
Page document Class
This class contains all the data in a page. |
| SpenPageDoc.HistoryUpdateInfo |
This class contains the update history information.
|
| SpenPath |
Path class in Pen SDK.
|
| Exception | Description |
|---|---|
| SpenAlreadyClosedException |
This exception occurs when use already closed instances.
|
| SpenInvalidPasswordException |
This exception occurs when the wrong password is entered
|
| SpenUnsupportedTypeException |
This exception is thrown when a document of an unsupported Pen package format is used.
This exception occurs when the file or stream does not match the NoteDoc file format. |
| SpenUnsupportedVersionException |
This exception is thrown when a document of an unsupported version is used.
|