|
Lines 103-109
Link Here
|
| 103 |
* Specifies if right-left mode is enabled. |
103 |
* Specifies if right-left mode is enabled. |
| 104 |
*/ |
104 |
*/ |
| 105 |
private int iRightToLeft = -1; |
105 |
private int iRightToLeft = -1; |
| 106 |
|
106 |
//bidi_acgc added begin |
|
|
107 |
/** |
| 108 |
* Specifies if the displayed text bidi reading order is Right To Left. |
| 109 |
*/ |
| 110 |
private int iRightToLeftText = -1; |
| 111 |
//bidi_acgc added end |
| 107 |
/** |
112 |
/** |
| 108 |
* Specified the shared context among multiple chart instances |
113 |
* Specified the shared context among multiple chart instances |
| 109 |
*/ |
114 |
*/ |
|
Lines 374-383
Link Here
|
| 374 |
*/ |
379 |
*/ |
| 375 |
public boolean isRightToLeft( ) |
380 |
public boolean isRightToLeft( ) |
| 376 |
{ |
381 |
{ |
| 377 |
if ( iRightToLeft == -1 ) |
382 |
// Report direction does no longer depend on Locale, and so the code below is commented out. |
|
|
383 |
//bidi_acgc deleted start |
| 384 |
/*if ( iRightToLeft == -1 ) |
| 378 |
{ |
385 |
{ |
| 379 |
iRightToLeft = ChartUtil.isRightToLeftLocale( lcl ) ? 1 : 0; |
386 |
iRightToLeft = ChartUtil.isRightToLeftLocale( lcl ) ? 1 : 0; |
| 380 |
} |
387 |
}*/ |
|
|
388 |
//bidi_acgc deleted end |
| 381 |
return iRightToLeft == 1; |
389 |
return iRightToLeft == 1; |
| 382 |
} |
390 |
} |
| 383 |
|
391 |
|
|
Lines 576-579
Link Here
|
| 576 |
{ |
584 |
{ |
| 577 |
this.isSharingQuery = isSharingQuery; |
585 |
this.isSharingQuery = isSharingQuery; |
| 578 |
} |
586 |
} |
|
|
587 |
// bidi_acgc added begin |
| 588 |
/** |
| 589 |
* Returns true if current text reading order is Right To Left |
| 590 |
* |
| 591 |
* @return |
| 592 |
*/ |
| 593 |
public boolean isRightToLeftText( ) |
| 594 |
{ |
| 595 |
return iRightToLeftText == 1; |
| 596 |
} |
| 597 |
|
| 598 |
/** |
| 599 |
* Sets the bidi text mode of the current chart object . |
| 600 |
* |
| 601 |
* @param value |
| 602 |
*/ |
| 603 |
public void setRightToLeftText( boolean value ) |
| 604 |
{ |
| 605 |
iRightToLeftText= value ? 1 : 0; |
| 606 |
} |
| 607 |
// bidi_acgc added end |
| 608 |
|
| 579 |
} |
609 |
} |