Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index



Hello all,

Here is the bug's page: https://bugs.freedesktop.org/show_bug.cgi?id=39370


1- First, In the RTL UI, Does the toolbar automatically flips the order and alignment of its items ?

2- I'm thinking to solve this bug by adding a new Formatting Toolbar for the RTL UI that have the 
buttons in their preferable location.
I was able to add a new toolbar, but couldn't change the default one.

What do you think about this approach?
How can I determine the default toolbars?


3- As indicated in the bugzilla comments #11
The Bullets and Numbering icons are actually mirrored in RTL UI, not only in the reverse order.
For me I don't think this is a problem for the Bullets button, but for the Numbering it's really 
look weird.
I tried to solve this by prevent the Numbering button from mirroring:

framework/source/uielement/toolbarmanager.cxx:ToolBarManager::UpdateImageOrientation()
if( Application::GetSettings().GetLayoutRTL() )

if(!((aMirrorCmd == ".uno:DefaultNumbering") || (aMirrorCmd == ".uno:NumberOrNoNumber")))

{

            pIter = m_aCommandMap.find( aMirrorCmd );

            if ( pIter != m_aCommandMap.end() )

               pIter->second.bMirrored = sal_True;

}
What do you think?
It seems to work, but I'm not sure if it's the "correct" way to do it

Any suggestion or code pointers would be appreciated.

P.S. I'm a beginner in LibreOffice development so sorry for any silly question, but I really want 
to learn : )

Thanks in advance.

________________________
Regards,
Manal M. Alhassoun
Motah Program, KACST
http://www.motah.org.sa<http://www.motah.org.sa/>

Warning: This message and its attachment, if any, are confidential and may contain information 
protected by law. If you are not the intended recipient, please contact the sender immediately and 
delete the message and its attachment, if any. You should not copy the message and its attachment, 
if any, or disclose its contents to any other person or use it for any purpose. Statements and 
opinions expressed in this e-mail and its attachment, if any, are those of the sender, and do not 
necessarily reflect those of King Abdulaziz city for Science and Technology (KACST) in the Kingdom 
of Saudi Arabia. KACST accepts no liability for any damage caused by this email.

?????: ??? ??????? ??? ????? ?? ?????? (?? ????) ???? ????? ???? ?? ????? ??? ??????? ????? ????? 
???????. ??? ?? ??? ????? ?????? ???? ??????? ???? ???? ????? ??????? ???? ?????? ????? ???? 
??????? ????????? (?? ????)? ??? ???? ?? ??? ?? ????? ??? ??????? ?? ???????? (?? ????) ?? ?? ??? 
????? ?? ????? ?????????? ????? ?? ????????? ??? ???. ????? ??? ???? ??? ??????? ????????? (?? 
????) ???? ?? ??? ??????? ???? ???????? ??? ????? ????? ????????? ?????? ???????? ???????? ??????? 
????????? ??? ????? ??????? ?? ??????? ?? ??????? ??????? ?? ?? ?? ?????? ??? ??????.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.