Adobe.com
Contents Suites Classes Class Index Member Index

ATE::ITextLinesIterator Class Reference

This object enables you to iterate through the set of text lines in a text frame. More...

#include <IText.h>

List of all members.

Public Member Functions

 ITextLinesIterator ()
 Constructor.
 ITextLinesIterator (const ITextLinesIterator &src)
 Copy constructor.
ITextLinesIteratoroperator= (const ITextLinesIterator &rhs)
 Assignment operator.
bool operator== (const ITextLinesIterator &rhs) const
 Comparison operator tests for equality.
bool operator!= (const ITextLinesIterator &rhs) const
 Comparison operator tests for inequality.
 ITextLinesIterator (TextLinesIteratorRef textlinesiterator)
 Constructs this C++ object from the corresponding C object returned by an ATE suite function.
virtual ~ITextLinesIterator ()
 Destructor.
TextLinesIteratorRef GetRef () const
 Retrieves a reference to this object.
bool IsNull () const
 Reports whether this is a null object.
bool IsNotDone () const
 Reports whether the end of the set has been reached.
bool IsDone () const
 Reports whether the end of the set has been reached.
bool IsEmpty () const
 Reports whether the set is empty.
void Next ()
 Increments the current position in the set in the iterator's current direction.
void Previous ()
 Decrements the current position in the set.
ITextLine Item () const
 Retrieves the current text line.

Detailed Description

This object enables you to iterate through the set of text lines in a text frame.

See also:
ITextFrame::GetTextLinesIterator()

Constructor & Destructor Documentation

ATE::ITextLinesIterator::ITextLinesIterator (  ) 

Constructor.

Returns:
The new object.
ATE::ITextLinesIterator::ITextLinesIterator ( const ITextLinesIterator src  ) 

Copy constructor.

Parameters:
src The object to copy.
Returns:
The new object.

References ATE::sTextLinesIterator.

ATE::ITextLinesIterator::ITextLinesIterator ( TextLinesIteratorRef  textlinesiterator  )  [explicit]

Constructs this C++ object from the corresponding C object returned by an ATE suite function.

The C++ object manages reference counting.

Parameters:
textlinesiterator The C object.
Returns:
The new C++ object.
ATE::ITextLinesIterator::~ITextLinesIterator (  )  [virtual]

Destructor.

References ATE::sTextLinesIterator.


Member Function Documentation

TextLinesIteratorRef ATE::ITextLinesIterator::GetRef (  )  const

Retrieves a reference to this object.

Returns:
The object reference.
bool ATE::ITextLinesIterator::IsDone (  )  const

Reports whether the end of the set has been reached.

Returns:
True if no more members remain in the set.

References ATE::sTextLinesIterator, and ATE::Throw_ATE_Exception().

bool ATE::ITextLinesIterator::IsEmpty (  )  const

Reports whether the set is empty.

Returns:
True if the set is empty.

References ATE::sTextLinesIterator, and ATE::Throw_ATE_Exception().

bool ATE::ITextLinesIterator::IsNotDone (  )  const

Reports whether the end of the set has been reached.

Returns:
True if more members remain in the set.

References ATE::sTextLinesIterator, and ATE::Throw_ATE_Exception().

bool ATE::ITextLinesIterator::IsNull (  )  const

Reports whether this is a null object.

Returns:
True if this is a null object.

References ATE::sTextLinesIterator.

ITextLine ATE::ITextLinesIterator::Item (  )  const

Retrieves the current text line.

Returns:
The text line object.

References ATE::sTextLinesIterator, and ATE::Throw_ATE_Exception().

void ATE::ITextLinesIterator::Next (  ) 

Increments the current position in the set in the iterator's current direction.

Returns:
Nothing.

References ATE::sTextLinesIterator, and ATE::Throw_ATE_Exception().

bool ATE::ITextLinesIterator::operator!= ( const ITextLinesIterator rhs  )  const

Comparison operator tests for inequality.

Parameters:
rhs The object to compare to this one.
Returns:
True if the two objects are not the same.
ITextLinesIterator & ATE::ITextLinesIterator::operator= ( const ITextLinesIterator rhs  ) 

Assignment operator.

Parameters:
rhs The object to assign to this one.
Returns:
A reference to this object.

References ATE::sTextLinesIterator.

bool ATE::ITextLinesIterator::operator== ( const ITextLinesIterator rhs  )  const

Comparison operator tests for equality.

Parameters:
rhs The object to compare to this one.
Returns:
True if the two objects are the same.
void ATE::ITextLinesIterator::Previous (  ) 

Decrements the current position in the set.

Returns:
Nothing.

References ATE::sTextLinesIterator, and ATE::Throw_ATE_Exception().


The documentation for this class was generated from the following files:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks