Logo Search packages:      
Sourcecode: djvulibre version File versions

void DjVuTXT::normalize_text (  ) 

Normalize textual data. Assuming that a zone hierarchy has been built and represents the reading order. This function reorganizes the string textUTF8# by gathering the highest level text available in the zone hierarchy. The text offsets and lengths are recomputed for all the zones in the hierarchy. Separators are inserted where appropriate.

Definition at line 304 of file DjVuText.cpp.

References DjVuTXT::Zone::normtext(), page_zone, and textUTF8.

  GUTF8String newtextUTF8;
  page_zone.normtext( (const char*)textUTF8, newtextUTF8 );
  textUTF8 = newtextUTF8;

Generated by  Doxygen 1.6.0   Back to index