7#ifndef __HDI_CORE_TEXT_PARA__ 
    8#define __HDI_CORE_TEXT_PARA__ 
   10#if defined(HDI_CORE_AIP_MODE) 
   33                typedef std::vector< std::shared_ptr<TextWord> > TextWordVector;
 
  127                virtual std::unique_ptr<TextStory> 
story() 
const;
 
  163                virtual TextWordVector 
words() 
const;
 
  178                virtual std::string 
contents(
const std::string& le_ = 
"\n");
 
  182                friend aip::TextPara* __accessImpl(
const TextPara&);
 
  183                friend TextPara __accessCtor(
const aip::TextPara&);
 
  188                aip::TextPara* __impl;
 
  198        typedef std::unique_ptr<TextPara> TextParaUP;
 
  199        typedef std::shared_ptr<TextPara> TextParaSP;
 
  200        typedef std::weak_ptr<TextPara> TextParaWP;
 
  202        extern aip::TextPara* __accessImpl(
const TextPara&);
 
  203        extern TextPara __accessCtor(
const aip::TextPara&);
 
Definition: hdicoreTextPara.h:31
virtual int32_t length() const
Retrieves the length of this paragraph.
TextPara(const TextPara &p_)
TextPara copy constructor.
virtual TextPara & operator=(const TextPara &rhs_)
Overloaded assignment operator for TextPara objects.
TextPara()
Creates a new TextPara object.
virtual std::string contents(const std::string &le_="\n")
Gets the value (contents) of the text range.
virtual std::unique_ptr< ATE::IParagraph > ateParagraph() const
Gets the ATE paragraph ref around which the target object is wrapped.
virtual std::unique_ptr< TextRangeSet > textRangeSet() const
Retrieves the set of text ranges corresponding to this paragraph.
virtual bool operator!=(const TextPara &rhs_) const
Tests whether a given TextPara object is not the same as another.
virtual std::unique_ptr< TextRangeSet > selections() const
Retrieves the text selection in this paragraph.
virtual bool operator==(const TextPara &rhs_) const
Tests whether a given TextPara object is the same as another.
virtual TextWordVector words() const
Retrieves a vector of the words in this paragraph.
virtual bool isEmpty() const
Gets whether the target TextPara object is empty.
virtual std::unique_ptr< TextRange > textRange() const
Retrieves the text range corresponding to this paragraph.
virtual std::unique_ptr< TextStory > story() const
Retrieves the story that contains this paragraph.
virtual ~TextPara()
Destructs a TextPara object.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.