|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.SWFTagTypesImpl
pt.tumba.parser.swf.SWF2HTML
public class SWF2HTML
Description of the Class
Nested Class Summary | |
---|---|
class |
SWF2HTML.TextDumper
Description of the Class |
Field Summary | |
---|---|
protected java.util.Map |
fontCodes
Description of the Field |
protected java.io.PrintWriter |
output
Description of the Field |
private int |
sizeCount
|
Fields inherited from class pt.tumba.parser.swf.SWFTagTypesImpl |
---|
tags |
Constructor Summary | |
---|---|
SWF2HTML()
Constructor for the SWF2HTML object |
Method Summary | |
---|---|
java.lang.String |
convertSWFToHTML(byte[] b2)
Description of the Method |
java.lang.String |
convertSWFToHTML(java.io.File in)
Description of the Method |
java.lang.String |
convertSWFToHTML(java.io.InputStream in)
Arguments are: 0. |
java.lang.String |
convertSWFToHTML(java.net.URL in)
Description of the Method |
int |
originalSize()
Description of the Method |
SWFVectors |
tagDefineFont2(int id,
int flags,
java.lang.String name,
int numGlyphs,
int ascent,
int descent,
int leading,
int[] codes,
int[] advances,
Rect[] bounds,
int[] kernCodes1,
int[] kernCodes2,
int[] kernAdjustments)
SWFTagTypes interface Save the character code info |
void |
tagDefineFontInfo(int fontId,
java.lang.String fontName,
int flags,
int[] codes)
SWFTagTypes interface Save the Text Font character code info |
SWFText |
tagDefineText(int id,
Rect bounds,
Matrix matrix)
SWFTagTypes interface |
SWFText |
tagDefineText2(int id,
Rect bounds,
Matrix matrix)
SWFTagTypes interface |
void |
tagDefineTextField(int fieldId,
java.lang.String fieldName,
java.lang.String initialText,
Rect boundary,
int flags,
AlphaColor textColor,
int alignment,
int fontId,
int fontSize,
int charLimit,
int leftMargin,
int rightMargin,
int indentation,
int lineSpacing)
SWFTagTypes interface Dump any initial text in the field |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int sizeCount
protected java.util.Map fontCodes
protected java.io.PrintWriter output
Constructor Detail |
---|
public SWF2HTML()
Method Detail |
---|
public int originalSize()
originalSize
in interface DocFilter
public void tagDefineFontInfo(int fontId, java.lang.String fontName, int flags, int[] codes) throws java.io.IOException
tagDefineFontInfo
in interface SWFTagTypes
tagDefineFontInfo
in class SWFTagTypesImpl
fontId
- Description of the ParameterfontName
- Description of the Parameterflags
- Description of the Parametercodes
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFVectors tagDefineFont2(int id, int flags, java.lang.String name, int numGlyphs, int ascent, int descent, int leading, int[] codes, int[] advances, Rect[] bounds, int[] kernCodes1, int[] kernCodes2, int[] kernAdjustments) throws java.io.IOException
tagDefineFont2
in interface SWFTagTypes
tagDefineFont2
in class SWFTagTypesImpl
id
- Description of the Parameterflags
- Description of the Parametername
- Description of the ParameternumGlyphs
- Description of the Parameterascent
- Description of the Parameterdescent
- Description of the Parameterleading
- Description of the Parametercodes
- Description of the Parameteradvances
- Description of the Parameterbounds
- Description of the ParameterkernCodes1
- Description of the ParameterkernCodes2
- Description of the ParameterkernAdjustments
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagDefineTextField(int fieldId, java.lang.String fieldName, java.lang.String initialText, Rect boundary, int flags, AlphaColor textColor, int alignment, int fontId, int fontSize, int charLimit, int leftMargin, int rightMargin, int indentation, int lineSpacing) throws java.io.IOException
tagDefineTextField
in interface SWFTagTypes
tagDefineTextField
in class SWFTagTypesImpl
fieldId
- Description of the ParameterfieldName
- Description of the ParameterinitialText
- Description of the Parameterboundary
- Description of the Parameterflags
- Description of the ParametertextColor
- Description of the Parameteralignment
- Description of the ParameterfontId
- Description of the ParameterfontSize
- Description of the ParametercharLimit
- Description of the ParameterleftMargin
- Description of the ParameterrightMargin
- Description of the Parameterindentation
- Description of the ParameterlineSpacing
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFText tagDefineText(int id, Rect bounds, Matrix matrix) throws java.io.IOException
tagDefineText
in interface SWFTagTypes
tagDefineText
in class SWFTagTypesImpl
id
- Description of the Parameterbounds
- Description of the Parametermatrix
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFText tagDefineText2(int id, Rect bounds, Matrix matrix) throws java.io.IOException
tagDefineText2
in interface SWFTagTypes
tagDefineText2
in class SWFTagTypesImpl
id
- Description of the Parameterbounds
- Description of the Parametermatrix
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic java.lang.String convertSWFToHTML(java.io.File in) throws java.lang.Exception
in
- Description of the Parameter
java.lang.Exception
- Description of the Exceptionpublic java.lang.String convertSWFToHTML(java.net.URL in) throws java.lang.Exception
in
- Description of the Parameter
java.lang.Exception
- Description of the Exceptionpublic java.lang.String convertSWFToHTML(java.io.InputStream in) throws java.lang.Exception
in
- Description of the Parameter
java.lang.Exception
- Description of the Exceptionpublic java.lang.String convertSWFToHTML(byte[] b2) throws java.lang.Exception
b2
- Description of the Parameter
java.lang.Exception
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |