pdf / libreoffice_arabic_config.xml
fokan's picture
Upload 35 files
86fce4f verified
<?xml version="1.0" encoding="UTF-8"?>
<!-- LibreOffice Arabic RTL Configuration Template -->
<!-- This configuration ensures perfect Arabic text rendering and RTL support -->
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Arabic Language and Locale Settings -->
<item oor:path="/org.openoffice.Setup/L10N">
<prop oor:name="ooLocale" oor:op="fuse">
<value>ar-SA</value>
</prop>
<prop oor:name="ooSetupSystemLocale" oor:op="fuse">
<value>ar-SA</value>
</prop>
</item>
<!-- CTL (Complex Text Layout) for Arabic -->
<item oor:path="/org.openoffice.Office.Common/I18N/CTL">
<prop oor:name="CTLFont" oor:op="fuse">
<value>true</value>
</prop>
<prop oor:name="CTLSequenceChecking" oor:op="fuse">
<value>true</value>
</prop>
<prop oor:name="CTLCursorMovement" oor:op="fuse">
<value>1</value>
</prop>
<prop oor:name="CTLTextNumerals" oor:op="fuse">
<value>1</value>
</prop>
<prop oor:name="CTLTypeAndReplace" oor:op="fuse">
<value>true</value>
</prop>
</item>
<!-- Arabic Default Fonts -->
<item oor:path="/org.openoffice.VCL/DefaultFonts">
<prop oor:name="ar_SANS" oor:op="fuse">
<value>Amiri;Noto Naskh Arabic;Liberation Sans</value>
</prop>
<prop oor:name="ar_SERIF" oor:op="fuse">
<value>Amiri;Noto Naskh Arabic;Liberation Serif</value>
</prop>
<prop oor:name="ar_FIXED" oor:op="fuse">
<value>Liberation Mono;Noto Sans Mono</value>
</prop>
<prop oor:name="ar_UI" oor:op="fuse">
<value>Amiri;Noto Naskh Arabic;DejaVu Sans</value>
</prop>
</item>
<!-- Text Direction Settings -->
<item oor:path="/org.openoffice.Office.Writer/Layout/Other">
<prop oor:name="DefaultTextDirection" oor:op="fuse">
<value>2</value> <!-- RTL -->
</prop>
<prop oor:name="IsAlignTabStopPosition" oor:op="fuse">
<value>true</value>
</prop>
</item>
<!-- Page Layout for Arabic Documents -->
<item oor:path="/org.openoffice.Office.Writer/Layout/Page">
<prop oor:name="IsLandscape" oor:op="fuse">
<value>false</value>
</prop>
<prop oor:name="Width" oor:op="fuse">
<value>21000</value> <!-- A4 width in 1/100mm -->
</prop>
<prop oor:name="Height" oor:op="fuse">
<value>29700</value> <!-- A4 height in 1/100mm -->
</prop>
<prop oor:name="LeftMargin" oor:op="fuse">
<value>2000</value>
</prop>
<prop oor:name="RightMargin" oor:op="fuse">
<value>2000</value>
</prop>
<prop oor:name="TopMargin" oor:op="fuse">
<value>2000</value>
</prop>
<prop oor:name="BottomMargin" oor:op="fuse">
<value>2000</value>
</prop>
</item>
<!-- Disable Auto-formatting that might interfere with Arabic -->
<item oor:path="/org.openoffice.Office.Writer/AutoFunction/Format/Option">
<prop oor:name="UseReplacementTable" oor:op="fuse">
<value>false</value>
</prop>
<prop oor:name="TwoCapitalsAtStart" oor:op="fuse">
<value>false</value>
</prop>
<prop oor:name="CapitalAtStartSentence" oor:op="fuse">
<value>false</value>
</prop>
<prop oor:name="ChgToEnEmDash" oor:op="fuse">
<value>false</value>
</prop>
<prop oor:name="AddNonBrkSpace" oor:op="fuse">
<value>false</value>
</prop>
<prop oor:name="ChgQuotes" oor:op="fuse">
<value>false</value>
</prop>
</item>
</oor:items>