Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | RTL text left-aligned in install program | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Installation | Reporter: | alan | ||||||
Component: | code | Assignee: | Olaf Felka <olaf-openoffice> | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@installation <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | elisko, issues, khirano, yba | ||||||
Version: | OOo 2.0 Beta | Keywords: | oooqa | ||||||
Target Milestone: | OOo 3.1 | ||||||||
Hardware: | All | ||||||||
OS: | Windows XP | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
alan
2005-08-01 14:15:44 UTC
Created attachment 28404 [details]
First screen of install program in Hebrew (note left-aligned text)
of @ is:Please have a look. ayaniger -> is: After some research to learn about Windows Installer, I came across a Attribute for Right-To-Left alignment for Bidi text. It is described in: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/dialog_style_bits.asp In instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt, I tried changing this property just in the text of the Welcome screen. However it had no effect. Could you take a look at the changed file (which I am attaching) and let me know if I am on the right track? The text is OOO_CONTROL_27 and OOO_CONTROL_28. Created attachment 28596 [details]
Installer database table with alignment attibute change for Welcome text
is -> ayaniger: Thank you for your hint. Perhaps the number on the web site you mentioned is wrong. For Bidi 896 is not correct, but 224 (so it is written in my books). I tested it for OOO_CONTROL_126 and OOO_CONTROL_127 (the page InstallWelcome, not AdminWelcome) and it seems to work fine. The text was right aligned. As number I used 65763 (65539 + 224). Using 227 I got a grey background. This means, we need a mechanism, in which this number is set, dependent from the installation language. ayaniger -> is: Thanks for the help. However, when I tried to change OOO_CONTROL_126 and OOO_CONTROL_127 to 65763 as you did, I still did not see any change. Could you attach to the issue or send me directly the file(s) with the changes you made? I would like to try them out in my environment. is -> ayaniger: Well, I did not create a new installation set after changing the idt files. There is a much faster test for this. You can directly edit the msi database in your installation set. You know how to do it? I use the Orca tool for this, which is freely available from Microsoft. With this tool you can change the tables in the database and test this changes immediately. I did the following: Open the msi database with the Orca tool. Selecting the control table. Sorting the content of this table in the first column (by pressing header "Dialog_" of the first column. Looking for the content of dialog "InstallWelcome". Changing the attributes field of control "Textline1" from 65539 to 65763. Saving the changes, closing the Orca tool. After this changes and closing the database in Orca (important!) you can start the installation by double clicking on the msi database. Then the InstallWelcome dialog appears. In my case the Textline1 is aligned on the right side. Attention: If you have a multilingual installation set, do not use the setup.exe in the installation set. This can use a transformation to overwrite your changes in the msi database. Please double click the msi database directly or start the installation with "msiexec.exe /i <database.msi>" Setting target Setting target is -> ayaniger: Have you been successful? Setting new target. Yes, I've been successful. The changes are available with the rest of the changes made for the Tk Open Systems Hebrew version of OOo 2.0.1 at: http://openoffice.org.il/download/2.0.1/src/OOo_2.0.1_he_src.tgz I'll change the resolutrion to "fixed". The Issue you raised has been marked as 'Resolved' and not updated within the last 1 year+. I am therefore setting this issue to 'Verified' as the first step towards Closing it. If you feel this is incorrect, please re-open the issue and add any comments. Many thanks, Andrew Cleaning-up and Closing old Issues ~ The Grand Bug Squash, pre v3 ~ http://marketing.openoffice.org/3.0/announcementbeta.html As per previous posting: Verified -> Closed. A Closed Issue is a Happy Issue (TM). Regards, Andrew Reopened, to be fixed in OOo 3.1. Setting target OOo 3.1 Reassigning to me. Fixed in cws native218 for Windows Installer and for Java GUI Installer (used for OpenOffice.org with JRE for Unixes). is -> of: please verify RTL for Arabic and Hebrew. of: I think it's better no in cws native218. ok in ooo310-m7 |