
Public Member Functions | |
| BidiResolver () | |
| BidiResolver default constructor. | |
| const Iterator & | position () const |
| get position | |
| void | setPosition (const Iterator &position) |
| set position | |
| void | increment () |
| increment | |
| BidiContext * | context () const |
| get bidi context | |
| void | setContext (PassRefPtr< BidiContext > c) |
| set context | |
| void | setLastDir (WTF::Unicode::Direction lastDir) |
| set last direction | |
| void | setLastStrongDir (WTF::Unicode::Direction lastStrongDir) |
| set last strong direction | |
| void | setEorDir (WTF::Unicode::Direction eorDir) |
| set eor direction | |
| WTF::Unicode::Direction | dir () const |
| get direction | |
| void | setDir (WTF::Unicode::Direction d) |
| set direction | |
| const BidiStatus & | status () const |
| get bidi status | |
| void | setStatus (const BidiStatus s) |
| set status | |
| void | embed (WTF::Unicode::Direction) |
| embed | |
| void | createBidiRunsForLine (const Iterator &end, bool visualOrder=false, bool hardLineBreak=false) |
| create BidiRuns for line | |
| Run * | firstRun () const |
| get first Run | |
| Run * | lastRun () const |
| get last Run | |
| Run * | logicallyLastRun () const |
| get logically last Run | |
| unsigned | runCount () const |
| get run count | |
| void | addRun (Run *) |
| add Run | |
| void | prependRun (Run *) |
| prepend Run | |
| void | moveRunToEnd (Run *) |
| move Run to end | |
| void | moveRunToBeginning (Run *) |
| move Run to beginning | |
| void | deleteRuns () |
| delete Runs | |
Protected Member Functions | |
| void | appendRun () |
| appendRun | |
| void | reverseRuns (unsigned start, unsigned end) |
| reverseRuns | |
Protected Attributes | |
| Iterator | current |
| Iterator | sor |
| Iterator | eor |
| Iterator | last |
| BidiStatus | m_status |
| WTF::Unicode::Direction | m_direction |
| Iterator | endOfLine |
| bool | reachedEndOfLine |
| Iterator | lastBeforeET |
| bool | emptyRun |
| Run * | m_firstRun |
| Run * | m_lastRun |
| Run * | m_logicallyLastRun |
| unsigned | m_runCount |
| OWBAL::BidiResolver< Iterator, Run >::BidiResolver | ( | ) |
BidiResolver default constructor.
| const Iterator& OWBAL::BidiResolver< Iterator, Run >::position | ( | ) | const |
get position
| [out] | : | position Iterator it = b->position(); |
| void OWBAL::BidiResolver< Iterator, Run >::setPosition | ( | const Iterator & | position | ) |
set position
| [in] | : | position b->setPosition(it); |
| void OWBAL::BidiResolver< Iterator, Run >::increment | ( | ) |
increment
b->increment();
| BidiContext* OWBAL::BidiResolver< Iterator, Run >::context | ( | ) | const |
get bidi context
| [out] | : | bidi context BidiContext *bc = b->context(); |
| void OWBAL::BidiResolver< Iterator, Run >::setContext | ( | PassRefPtr< BidiContext > | c | ) |
set context
| [in] | : | bidi context b->setContext(c); |
| void OWBAL::BidiResolver< Iterator, Run >::setLastDir | ( | WTF::Unicode::Direction | lastDir | ) |
set last direction
| [in] | : | last direction b->setLastDir(ld); |
| void OWBAL::BidiResolver< Iterator, Run >::setLastStrongDir | ( | WTF::Unicode::Direction | lastStrongDir | ) |
set last strong direction
| [in] | : | last strong direction b->setLastStrongDir(lsd); |
| void OWBAL::BidiResolver< Iterator, Run >::setEorDir | ( | WTF::Unicode::Direction | eorDir | ) |
| WTF::Unicode::Direction OWBAL::BidiResolver< Iterator, Run >::dir | ( | ) | const |
| void OWBAL::BidiResolver< Iterator, Run >::setDir | ( | WTF::Unicode::Direction | d | ) |
set direction
| [in] | : | direction b->setDir(d); |
| const BidiStatus& OWBAL::BidiResolver< Iterator, Run >::status | ( | ) | const |
get bidi status
| [out] | : | bidi status BidiStatus s = b->status(); |
| void OWBAL::BidiResolver< Iterator, Run >::setStatus | ( | const BidiStatus | s | ) |
set status
| [in] | : | bidi status b->setStatus(s); |
| void OWBAL::BidiResolver< Iterator, Run >::embed | ( | WTF::Unicode::Direction | ) | [inline] |
embed
| [in] | : | direction b->embed(d); |
| void OWBAL::BidiResolver< Iterator, Run >::createBidiRunsForLine | ( | const Iterator & | end, | |
| bool | visualOrder = false, |
|||
| bool | hardLineBreak = false | |||
| ) | [inline] |
create BidiRuns for line
| [in] | : | end |
| [in] | : | visual order |
| [in] | : | hard line break b->createBidiRunsForLine(e, v, h); |
| Run* OWBAL::BidiResolver< Iterator, Run >::firstRun | ( | ) | const |
get first Run
| [out] | : | Run Run *f = b->firstRun(); |
| Run* OWBAL::BidiResolver< Iterator, Run >::lastRun | ( | ) | const |
get last Run
| [out] | : | Run Run *l = b->lastRun(); |
| Run* OWBAL::BidiResolver< Iterator, Run >::logicallyLastRun | ( | ) | const |
get logically last Run
| [out] | : | Run Run *r = b->logicallyLastRun(); |
| unsigned OWBAL::BidiResolver< Iterator, Run >::runCount | ( | ) | const |
get run count
| [out] | : | run count unsigned c = b->runCount();
|
| void OWBAL::BidiResolver< Iterator, Run >::addRun | ( | Run * | ) | [inline] |
add Run
| [in] | : | Run b->addRun(r); |
| void OWBAL::BidiResolver< Iterator, Run >::prependRun | ( | Run * | ) | [inline] |
prepend Run
| [in] | : | Run b->prependRun(r); |
| void OWBAL::BidiResolver< Iterator, Run >::moveRunToEnd | ( | Run * | ) | [inline] |
move Run to end
| [in] | : | Run b->moveRunToEnd(r); |
| void OWBAL::BidiResolver< Iterator, Run >::moveRunToBeginning | ( | Run * | ) | [inline] |
move Run to beginning
| [in] | : | Run b->moveRunToBeginning(r); |
| void OWBAL::BidiResolver< Iterator, Run >::deleteRuns | ( | ) | [inline] |
delete Runs
b->deleteRuns();
| void OWBAL::BidiResolver< Iterator, Run >::appendRun | ( | ) | [inline, protected] |
appendRun
| void OWBAL::BidiResolver< Iterator, Run >::reverseRuns | ( | unsigned | start, | |
| unsigned | end | |||
| ) | [inline, protected] |
reverseRuns
| [in] | : | start position |
| [in] | : | end position |
Iterator OWBAL::BidiResolver< Iterator, Run >::current [protected] |
Iterator OWBAL::BidiResolver< Iterator, Run >::sor [protected] |
Iterator OWBAL::BidiResolver< Iterator, Run >::eor [protected] |
Iterator OWBAL::BidiResolver< Iterator, Run >::last [protected] |
BidiStatus OWBAL::BidiResolver< Iterator, Run >::m_status [protected] |
WTF::Unicode::Direction OWBAL::BidiResolver< Iterator, Run >::m_direction [protected] |
Iterator OWBAL::BidiResolver< Iterator, Run >::endOfLine [protected] |
bool OWBAL::BidiResolver< Iterator, Run >::reachedEndOfLine [protected] |
Iterator OWBAL::BidiResolver< Iterator, Run >::lastBeforeET [protected] |
bool OWBAL::BidiResolver< Iterator, Run >::emptyRun [protected] |
Run* OWBAL::BidiResolver< Iterator, Run >::m_firstRun [protected] |
Run* OWBAL::BidiResolver< Iterator, Run >::m_lastRun [protected] |
Run* OWBAL::BidiResolver< Iterator, Run >::m_logicallyLastRun [protected] |
unsigned OWBAL::BidiResolver< Iterator, Run >::m_runCount [protected] |