<node oor:name="Windows">
<<node oor:name="SplitWindow0" oor:op="replace">
<prop oor:name="Visible" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="WindowState" oor:type="xs:string">
<value/>
</prop>
<node oor:name="UserData">
<prop oor:name="UserItem" oor:op="replace" oor:type="xs:string">
<value>V1,2,0</value>
</prop>
</node>
</node>
</node>
Definition
<node oor:name="Windows"> represents a Set and is a XNameContainer<node oor:name="SplitWindow0"> represents a Group and is a XNameReplace<prop oor:name="Visible"> represents a property of the group<node oor:name="UserData"> represents a extensible group and is a XNameContainer<prop oor:name="UserItem"> represents a property of the extensible group ConfigHelper aConfig = new ConfigHelper(xMSF, "org.openoffice.Office.Views", false);
Group into the Set "Windows": XNameReplace xMyGroup = aConfig.getOrInsertGroup("Windows", "myGroup");
The method getOrInsertGroup() uses the XSingleServiceFactory to create the skeleton of a new group.
aConfig.updateGroupProperty( "Windows","myGroup", "WindowState", "952,180,244,349;1;0,0,0,0;");
aConfig.insertOrUpdateExtensibleGroupProperty( "Windows", "my2ndGroup", "myExtGroup", "myProp","TheValue");
| |
| |
| |
| |
| |
| |
| |
| |