/[fenfire]/fenfire/org/fenfire/view/lava/RSTText.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/lava/RSTText.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mudyc, Thu May 15 15:12:00 2003 UTC revision 1.3 by tjl, Thu Aug 7 08:56:02 2003 UTC
# Line 44  public class RSTText extends TextHandler Line 44  public class RSTText extends TextHandler
44      final LineVob cursorVob = new LineVob(0, 0, 0, 1, java.awt.Color.black);      final LineVob cursorVob = new LineVob(0, 0, 0, 1, java.awt.Color.black);
45      final NodeFunction nodeContent;      final NodeFunction nodeContent;
46      final TextStyle style;      final TextStyle style;
47      private FenPDFContext context = null;      // private FenPDFContext context = null;
48    
49       /*
50      public void setContext(FenPDFContext context) {      public void setContext(FenPDFContext context) {
51          this.context = context;          this.context = context;
52      }      }
53        */
54    
55      public RSTText(NodeFunction nodeContent,      public RSTText(NodeFunction nodeContent,
56                     TextStyle style,                     TextStyle style,
# Line 60  public class RSTText extends TextHandler Line 62  public class RSTText extends TextHandler
62      }      }
63    
64      public Object f(ConstGraph g, Object node) {      public Object f(ConstGraph g, Object node) {
65          if (context == null) throw new Error("No context set");          // if (context == null) throw new Error("No context set");
66    
67          context.isToBePlaced(node, this);          // context.isToBePlaced(node, this);
68          if (dbg) p("placed, offs: "+cursorOffset);          if (dbg) p("placed, offs: "+cursorOffset);
69    
70          Enfilade1D enf = (Enfilade1D)nodeContent.f(g, node);          Enfilade1D enf = (Enfilade1D)nodeContent.f(g, node);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26