/[fenfire]/fenfire/org/fenfire/bin/fenpdf10.py
ViewVC logotype

Diff of /fenfire/org/fenfire/bin/fenpdf10.py

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

revision 1.29 by tjl, Wed Aug 13 06:47:46 2003 UTC revision 1.30 by mudyc, Wed Aug 13 06:57:25 2003 UTC
# Line 118  do_load_graph = 0 Line 118  do_load_graph = 0
118    
119  # automatic system for previous  # automatic system for previous
120  if os.path.isfile(FILE):  if os.path.isfile(FILE):
121      print 'Loading the RDF graph from the file %s', FILE      print 'Loading the RDF graph from the file %s.'% FILE
122      do_load_graph = 1      do_load_graph = 1
123  else:  else:
124      print 'Creating a new RDF graph'      print 'Creating a new RDF graph.'
125      do_load_graph = 0      do_load_graph = 0
126    
127    
# Line 206  if not do_load_graph: Line 206  if not do_load_graph:
206      ppAct.assocNotes(noteC1, 1, noteB3)      ppAct.assocNotes(noteC1, 1, noteB3)
207      ppAct.assocNotes(noteA4, 1, noteC2)      ppAct.assocNotes(noteA4, 1, noteC2)
208            
 # search a note for accursing one.  
 it = fen.graph.findN_11X_Iter(paperA, ff.vocab.CANVAS2D.contains)  
 noteA1 = it.next()  
209    
210  spanImageFactory = ff.spanimages.gl.DefaultSpanImageFactory(  spanImageFactory = ff.spanimages.gl.DefaultSpanImageFactory(
211      ff.spanimages.gl.PageScrollBlockImager())      ff.spanimages.gl.PageScrollBlockImager())
# Line 233  ff.view.buoy.NodeType2DFull.effigy = 0 Line 230  ff.view.buoy.NodeType2DFull.effigy = 0
230  context = Context(w, fen, ppAct, nodeview, spanImageFactory)  context = Context(w, fen, ppAct, nodeview, spanImageFactory)
231  nodeview.setContext(context)  nodeview.setContext(context)
232  textnodeview.setContext(context)  textnodeview.setContext(context)
233  context.states.cursor.setAccursed(noteA1)  
234    # search a note for accursing one.
235    it = fen.graph.findN_11X_Iter(paperA, ff.vocab.CANVAS2D.contains)
236    context.states.cursor.setAccursed(it.next())
237  context.states.cursor.setCursorOffset(3)  context.states.cursor.setCursorOffset(3)
238  context.ppView = irregu  context.ppView = irregu
239  context.pageView = None  context.pageView = None

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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