1 20 21 package com.etranslate.tm.processing.rtf; 22 23 import java.util.List ; 24 25 33 34 public interface RTFParserDelegate { 35 36 public static final String VERSION = "$Id: RTFParserDelegate.java,v 1.2 2001/07/10 03:07:53 eric Exp $"; 37 38 39 public static final int IN_DOCUMENT = 0; 40 public static final int IN_FONTTBL = 1; 41 public static final int IN_FILETBL = 2; 42 public static final int IN_COLORTBL = 3; 43 public static final int IN_STYLESHEET = 4; 44 public static final int IN_LISTTABLE = 5; 45 public static final int IN_STYLE = 6; 46 public static final int IN_REVTBL = 7; 47 public static final int IN_INFO = 8; 48 public static final int IN_PNTEXT = 9; 49 public static final String NO_STYLE = new String (); 50 51 63 public void text(String text, String style, int context); 64 65 71 public void controlSymbol(String controlSymbol, int context); 72 73 81 public void controlWord(String controlWord, int value, int context); 82 83 89 public void openGroup(int depth); 90 91 97 public void closeGroup(int depth); 98 99 105 public void styleList(List styles); 106 107 111 public void startDocument(); 112 113 117 public void endDocument(); 118 119 } | Popular Tags |