Logo Search packages:      
Sourcecode: djvulibre version File versions

int DjVuTXT::has_valid_zones (  )  const

Tests whether there is a meaningful zone hierarchy.

Definition at line 312 of file DjVuText.cpp.

References GRect::isempty(), page_zone, DjVuTXT::Zone::rect, and textUTF8.

Referenced by encode(), and writeText().

  if (!textUTF8)
    return false;
  if (page_zone.rect.isempty()) 
    return false;
  return true;

Generated by  Doxygen 1.6.0   Back to index