import document body
| 2387 | } |
| 2388 | /// import document body |
| 2389 | bool DoTextImport(LVXMLParserCallback * callback) |
| 2390 | { |
| 2391 | if ( formatFlags & tftPML) |
| 2392 | return DoPMLImport( callback ); |
| 2393 | else if ( formatFlags & tftPreFormatted ) |
| 2394 | return DoPreFormattedImport( callback ); |
| 2395 | else if ( formatFlags & tftParaIdents ) |
| 2396 | return DoIdentParaImport( callback ); |
| 2397 | else if ( formatFlags & tftEmptyLineDelimPara ) |
| 2398 | return DoEmptyLineParaImport( callback ); |
| 2399 | else |
| 2400 | return DoParaPerLineImport( callback ); |
| 2401 | } |
| 2402 | }; |
| 2403 | |
| 2404 | /// reads next text line, tells file position and size of line, sets EOL flag |