org.apache.poi.hslf.usermodel.examples
Class SoundFinder

java.lang.Object
  extended by org.apache.poi.hslf.usermodel.examples.SoundFinder

public class SoundFinder
extends java.lang.Object

For each slide iterate over shapes and found associated sound data.

Author:
Yegor Kozlov

Constructor Summary
SoundFinder()
           
 
Method Summary
protected static int getSoundReference(Shape shape)
          Check if a given shape is associated with a sound.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundFinder

public SoundFinder()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getSoundReference

protected static int getSoundReference(Shape shape)
Check if a given shape is associated with a sound.

Returns:
0-based reference to a sound in the sound collection or -1 if the shape is not associated with a sound


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.