Class Sound
java.lang.Object
com.independentsoft.office.drawing.Sound
Represents an embedded WAV audio file (
a:snd) played when the
owning hyperlink is activated.-
Constructor Summary
ConstructorsConstructorDescriptionSound()Instantiates a new sound.Sound(InternalXMLStreamReader reader)Instantiates a new sound. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the built in.getName()Gets the name.Gets the relationship id of the embedded audio part (r:embed).voidsetBuiltIn(String builtIn)Sets the built in.voidSets the name.voidsetRelationshipId(String relationshipId)Sets the relationship id of the embedded audio part (r:embed).toString()
-
Constructor Details
-
Sound
public Sound()Instantiates a new sound. -
Sound
Instantiates a new sound.- Parameters:
reader- the reader- Throws:
XMLStreamException- the XML stream exception
-
-
Method Details
-
clone
-
toString
-
getRelationshipId
Gets the relationship id of the embedded audio part (r:embed).- Returns:
- the relationship id
-
setRelationshipId
Sets the relationship id of the embedded audio part (r:embed).- Parameters:
relationshipId- the new relationship id
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getBuiltIn
Gets the built in.- Returns:
- the built in
-
setBuiltIn
Sets the built in.- Parameters:
builtIn- the new built in
-