MCPcopy Create free account
hub / github.com/buggins/coolreader / DoTextImport

Method DoTextImport

crengine/src/lvxml.cpp:2389–2401  ·  view source on GitHub ↗

import document body

Source from the content-addressed store, hash-verified

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

Callers 1

ParseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected