Subversion Repositories DevTools

Rev

Rev 2126 | Rev 2130 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2126 Rev 2128
Line 165... Line 165...
165
 
165
 
166
         // look for a tag
166
         // look for a tag
167
         pos = s.IndexOf("<", 0);
167
         pos = s.IndexOf("<", 0);
168
         while ((pos >= 0) && (pos < s.Length))
168
         while ((pos >= 0) && (pos < s.Length))
169
         {
169
         {
-
 
170
            if (createWordDoc.abortCreationThread)
-
 
171
               return false;
-
 
172
 
170
            // record position of tag
173
            // record position of tag
171
            pos_LeftBracket = pos;
174
            pos_LeftBracket = pos;
172
 
175
 
173
            // tag name begins at the next char
176
            // tag name begins at the next char
174
            pos_tagName = pos_LeftBracket + 1;
177
            pos_tagName = pos_LeftBracket + 1;
Line 319... Line 322...
319
         ArrayList postFormats = new ArrayList();
322
         ArrayList postFormats = new ArrayList();
320
 
323
 
321
         // Now process all the tokens we have found
324
         // Now process all the tokens we have found
322
         foreach (token_type tt in tokens)
325
         foreach (token_type tt in tokens)
323
         {
326
         {
-
 
327
            if (createWordDoc.abortCreationThread)
-
 
328
               return false;
-
 
329
 
324
            if (tt.txt != null && tt.txt.Length > 0)
330
            if (tt.txt != null && tt.txt.Length > 0)
325
            {
331
            {
326
 
332
 
327
               switch (tt.styleType)
333
               switch (tt.styleType)
328
               {
334
               {
Line 418... Line 424...
418
         int last_list_level = 0;
424
         int last_list_level = 0;
419
         foreach (postFormat_type pf in postFormats)
425
         foreach (postFormat_type pf in postFormats)
420
         {
426
         {
421
            object style;
427
            object style;
422
 
428
 
-
 
429
            if (createWordDoc.abortCreationThread)
-
 
430
               return false;
-
 
431
 
423
            // a null word range implies we must restart numbering for any lists
432
            // a null word range implies we must restart numbering for any lists
424
            if (pf.m_wr == null)
433
            if (pf.m_wr == null)
425
            {
434
            {
426
               last_list_level = 0;
435
               last_list_level = 0;
427
            }
436
            }