<commit_before><?xml version = "1.0"?>
<?xml-stylesheet type="text/xsl" href="pb_help.xsl"?>
<API>
    <MODULE name="ScreenOrientation" parent="Rho">
        <HELP_OVERVIEW>The ScreenOrientation Module is used to control the screen orientation/layout and register to receive an event when it changes.</HELP_OVERVIEW>
        <MORE_HELP></MORE_HELP>
    
        <TEMPLATES>
            <DEFAULT_INSTANCE/> <!-- object has default static property, all methods can be call by static way (called from default instance), produce default(), set_default() methods -->
            <PROPERTY_BAG/> <!-- object has properties, produce getProps(), setProps() methods -->
        </TEMPLATES>

        <!-- <PROPERTIES usePropertyBag="accessorsViaPropertyBag"> -->
        <!-- <PROPERTIES usePropertyBag="PropertyBagViaAccessors"> -->
        <PROPERTIES usePropertyBag="accessorsViaPropertyBag">
            <DESC>Properties used to configure Screen Orientation module</DESC>
            <PROPERTY name="autoRotate" type="STRING" generateAccessors="true">
                <DESC>Enables or Disables autorotation of the screen orientation when the device is rotated.</DESC>
            </PROPERTY>
			<PROPERTY name="screenOrientationEvent" type="STRING" generateAccessors="true">
                <DESC>The screen orientation event is sent when the current RhoElements application changes the orientation of the screen. For devices with an inbuilt accelerometer this event will also be sent when the user physically rotates the device to a new orientation.</DESC>
            </PROPERTY>
        </PROPERTIES>

        <METHODS>
            <METHOD name="normal" access="STATIC">
                <DESC>Sets the screen orientation to default orientation</DESC>
            </METHOD>
			<METHOD name="rightHanded" access="STATIC">
                <DESC>Sets the screen orientation to righthanded orientation. Note the webpage will not reformat in line with the new screen size automatically.</DESC>
            </METHOD>
            <METHOD name="leftHanded" access="STATIC">
                <DESC>Sets the screen orientation to lefthanded orientation. Note the webpage will not reformat in line with the new screen size automatically.</DESC>
            </METHOD>
            <METHOD name="upsideDown" access="STATIC">
                <DESC>Sets the screen orientation to upside down, useful if presenting the device to a customer to obtain a signature.</DESC>
            </METHOD>
        </METHODS>
        
        <USER_OVERVIEW>
            <!--  More conversational style with INLINE SAMPLES, written in MarkDown -->
            <![CDATA[]]>
    
        </USER_OVERVIEW>
        <VER_INTRODUCED>4.0.0</VER_INTRODUCED>
        <PLATFORM>
            <!--  This section is used for the supported platform images at the top -->
        </PLATFORM>
    </MODULE>
</API>    <commit_msg>Change some string prop to boolean<commit_after><?xml version = "1.0"?>
<?xml-stylesheet type="text/xsl" href="pb_help.xsl"?>
<API>
    <MODULE name="ScreenOrientation" parent="Rho">
        <HELP_OVERVIEW>The ScreenOrientation Module is used to control the screen orientation/layout and register to receive an event when it changes.</HELP_OVERVIEW>
        <MORE_HELP></MORE_HELP>
    
        <TEMPLATES>
            <DEFAULT_INSTANCE/> <!-- object has default static property, all methods can be call by static way (called from default instance), produce default(), set_default() methods -->
            <PROPERTY_BAG/> <!-- object has properties, produce getProps(), setProps() methods -->
        </TEMPLATES>

        <!-- <PROPERTIES usePropertyBag="accessorsViaPropertyBag"> -->
        <!-- <PROPERTIES usePropertyBag="PropertyBagViaAccessors"> -->
        <PROPERTIES usePropertyBag="accessorsViaPropertyBag">
            <DESC>Properties used to configure Screen Orientation module</DESC>
            <PROPERTY name="autoRotate" type="BOOLEAN" generateAccessors="true" default="true">
                <DESC>Enables or Disables autorotation of the screen orientation when the device is rotated.</DESC>
            </PROPERTY>
			<PROPERTY name="screenOrientationEvent" type="STRING" generateAccessors="true">
                <DESC>The screen orientation event is sent when the current RhoElements application changes the orientation of the screen. For devices with an inbuilt accelerometer this event will also be sent when the user physically rotates the device to a new orientation.</DESC>
            </PROPERTY>
        </PROPERTIES>

        <METHODS>
            <METHOD name="normal">
                <DESC>Sets the screen orientation to default orientation</DESC>
            </METHOD>
			<METHOD name="rightHanded">
                <DESC>Sets the screen orientation to righthanded orientation. Note the webpage will not reformat in line with the new screen size automatically.</DESC>
            </METHOD>
            <METHOD name="leftHanded">
                <DESC>Sets the screen orientation to lefthanded orientation. Note the webpage will not reformat in line with the new screen size automatically.</DESC>
            </METHOD>
            <METHOD name="upsideDown">
                <DESC>Sets the screen orientation to upside down, useful if presenting the device to a customer to obtain a signature.</DESC>
            </METHOD>
        </METHODS>
        
        <USER_OVERVIEW>
            <!--  More conversational style with INLINE SAMPLES, written in MarkDown -->
            <![CDATA[]]>
    
        </USER_OVERVIEW>
        <VER_INTRODUCED>4.0.0</VER_INTRODUCED>
        <PLATFORM>
            <!--  This section is used for the supported platform images at the top -->
        </PLATFORM>
    </MODULE>
</API>    
{'fraction_non_alphanumeric': 0.09760782259472674, 'fraction_numerical': 0.001746114894360049, 'mean_word_length': 2.6647472808701216, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6886152', 'n_tokens_mistral': 1458, 'n_tokens_neox': 1398, 'n_words': 510}