Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 95756 Details for
Bug 225540
Add BIDI support to BIRT charts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
An addition to the previous patch "95144" to add a new attribute to the runtimecontext for the text direction
charts_complementary_patch.diff (text/plain), 1.85 KB, created by
Mohamed El-Kholy
on 2008-04-11 16:39:23 EDT
(
hide
)
Description:
An addition to the previous patch "95144" to add a new attribute to the runtimecontext for the text direction
Filename:
MIME Type:
Creator:
Mohamed El-Kholy
Created:
2008-04-11 16:39:23 EDT
Size:
1.85 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.birt.chart.engine >Index: src/org/eclipse/birt/chart/factory/RunTimeContext.java >=================================================================== >RCS file: /cvsroot/birt/source/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/RunTimeContext.java,v >retrieving revision 1.26 >diff -u -r1.26 RunTimeContext.java >--- src/org/eclipse/birt/chart/factory/RunTimeContext.java 28 Feb 2008 09:47:33 -0000 1.26 >+++ src/org/eclipse/birt/chart/factory/RunTimeContext.java 11 Apr 2008 20:24:51 -0000 >@@ -103,7 +103,12 @@ > * Specifies if right-left mode is enabled. > */ > private int iRightToLeft = -1; >- >+ //bidi_acgc added begin >+ /** >+ * Specifies if the displayed text bidi reading order is Right To Left. >+ */ >+ private int iRightToLeftText = -1; >+ //bidi_acgc added end > /** > * Specified the shared context among multiple chart instances > */ >@@ -374,10 +379,13 @@ > */ > public boolean isRightToLeft( ) > { >- if ( iRightToLeft == -1 ) >+ // Report direction does no longer depend on Locale, and so the code below is commented out. >+ //bidi_acgc deleted start >+ /*if ( iRightToLeft == -1 ) > { > iRightToLeft = ChartUtil.isRightToLeftLocale( lcl ) ? 1 : 0; >- } >+ }*/ >+ //bidi_acgc deleted end > return iRightToLeft == 1; > } > >@@ -576,4 +584,26 @@ > { > this.isSharingQuery = isSharingQuery; > } >+ // bidi_acgc added begin >+ /** >+ * Returns true if current text reading order is Right To Left >+ * >+ * @return >+ */ >+ public boolean isRightToLeftText( ) >+ { >+ return iRightToLeftText == 1; >+ } >+ >+ /** >+ * Sets the bidi text mode of the current chart object . >+ * >+ * @param value >+ */ >+ public void setRightToLeftText( boolean value ) >+ { >+ iRightToLeftText= value ? 1 : 0; >+ } >+ // bidi_acgc added end >+ > } >\ No newline at end of file
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bjorn.freeman-benson
:
iplog+
khouly
:
review?
Actions:
View
|
Diff
Attachments on
bug 225540
:
94788
|
95144
|
95287
| 95756