|
||||||||||
| 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 SWFTagTypestagDefineFontInfo in class SWFTagTypesImplfontId - Description of the ParameterfontName - Description of the Parameterflags - Description of the Parametercodes - Description of the Parameter
java.io.IOException - Description of the Exception
public 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 SWFTagTypestagDefineFont2 in class SWFTagTypesImplid - 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 Exception
public 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 SWFTagTypestagDefineTextField in class SWFTagTypesImplfieldId - 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 Exception
public SWFText tagDefineText(int id,
Rect bounds,
Matrix matrix)
throws java.io.IOException
tagDefineText in interface SWFTagTypestagDefineText in class SWFTagTypesImplid - Description of the Parameterbounds - Description of the Parametermatrix - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFText tagDefineText2(int id,
Rect bounds,
Matrix matrix)
throws java.io.IOException
tagDefineText2 in interface SWFTagTypestagDefineText2 in class SWFTagTypesImplid - Description of the Parameterbounds - Description of the Parametermatrix - Description of the Parameter
java.io.IOException - Description of the Exception
public java.lang.String convertSWFToHTML(java.io.File in)
throws java.lang.Exception
in - Description of the Parameter
java.lang.Exception - Description of the Exception
public java.lang.String convertSWFToHTML(java.net.URL in)
throws java.lang.Exception
in - Description of the Parameter
java.lang.Exception - Description of the Exception
public java.lang.String convertSWFToHTML(java.io.InputStream in)
throws java.lang.Exception
in - Description of the Parameter
java.lang.Exception - Description of the Exception
public 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 | |||||||||