HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //usr/lib64/libreoffice/share/Scripts/python/Capitalise.pyo
�
Ʌ`c@sd�Zd�ZefZdS(cCs�|st|�dkrdS|dj�rst|�dkrs|dj�rs|dd!j�|dj�}n+|dj�r�|j�}n|j�}|S(Nitii(tlentisuppertuppertlower(t	theStringt	newString((s9/usr/lib64/libreoffice/share/Scripts/python/Capitalise.pytgetNewStrings2$cCsPddl}tj�}|j�}|j�}|j�}|dkrQd}nx�||krK|j|�}|j�}t|�dkr|j	�}|j
|�}	|	j�s�|	jt
�n|	jt�|	j�}t|�}
|
r>|	j|
�|j|	�q>n/t|�}
|
r>|j|
�|j|�n|d7}qTWdS(s}Change the case of a selection, or current word from upper case, to first char upper case, to all lower case to upper case...i����Nii(tstringtXSCRIPTCONTEXTtgetDocumenttgetCurrentControllertgetSelectiontgetCountt
getByIndext	getStringRtgetTexttcreateTextCursorByRanget
isStartOfWordtgotoStartOfWordtFalsetgotoNextWordtTrueRt	setStringtselect(RtxModeltxSelectionSuppliertxIndexAccesstcounttit
xTextRangeRtxTexttxWordCursorR((s9/usr/lib64/libreoffice/share/Scripts/python/Capitalise.pytcapitalisePython"s4	


N(RR!tg_exportedScripts(((s9/usr/lib64/libreoffice/share/Scripts/python/Capitalise.pyt<module>s		,