Fix various indentation issues (tabs->spaces)
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
||||
<PythonExport
|
||||
Father="ExtensionContainerPy"
|
||||
Name="DocumentObjectPy"
|
||||
Twin="DocumentObject"
|
||||
TwinPointer="DocumentObject"
|
||||
Include="App/DocumentObject.h"
|
||||
Namespace="App"
|
||||
FatherInclude="App/ExtensionContainerPy.h"
|
||||
FatherNamespace="App">
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
|
||||
<UserDocu>This is the father of all classes handled by the document</UserDocu>
|
||||
</Documentation>
|
||||
<PythonExport
|
||||
Father="ExtensionContainerPy"
|
||||
Name="DocumentObjectPy"
|
||||
Twin="DocumentObject"
|
||||
TwinPointer="DocumentObject"
|
||||
Include="App/DocumentObject.h"
|
||||
Namespace="App"
|
||||
FatherInclude="App/ExtensionContainerPy.h"
|
||||
FatherNamespace="App">
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
|
||||
<UserDocu>This is the father of all classes handled by the document</UserDocu>
|
||||
</Documentation>
|
||||
<Methode Name="addProperty">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
@@ -36,15 +36,15 @@
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="touch">
|
||||
<Documentation>
|
||||
<UserDocu>Mark the object as changed (touched)</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="purgeTouched">
|
||||
<Documentation>
|
||||
<UserDocu>Mark the object as unchanged</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Documentation>
|
||||
<UserDocu>Mark the object as changed (touched)</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="purgeTouched">
|
||||
<Documentation>
|
||||
<UserDocu>Mark the object as unchanged</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="enforceRecompute">
|
||||
<Documentation>
|
||||
<UserDocu>Mark the object for recompute</UserDocu>
|
||||
@@ -147,27 +147,27 @@ containing the accumulated transformation matrix
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="setElementVisible">
|
||||
<Documentation>
|
||||
<Methode Name="setElementVisible">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
setElementVisible(element,visible): Set the visibility of a child element
|
||||
Return -1 if element visibility is not supported, 0 if element not found, 1 if success
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="isElementVisible">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="isElementVisible">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
isElementVisible(element): Check if a child element is visible
|
||||
Return -1 if element visibility is not supported or element not found, 0 if invisible, or else 1
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="hasChildElement">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="hasChildElement">
|
||||
<Documentation>
|
||||
<UserDocu>Return true to indicate the object having child elements</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getParentGroup">
|
||||
<Documentation>
|
||||
<UserDocu>Returns the group the object is in or None if it is not part of a group.
|
||||
@@ -249,11 +249,11 @@ Return tuple(obj,newElementName,oldElementName)
|
||||
<Parameter Name="FullName" Type="String"/>
|
||||
</Attribute>
|
||||
<Attribute Name="Name" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Return the internal name of this object</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Name" Type="String"/>
|
||||
</Attribute>
|
||||
<Documentation>
|
||||
<UserDocu>Return the internal name of this object</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Name" Type="String"/>
|
||||
</Attribute>
|
||||
<Attribute Name="Document" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Return the document this object is part of</UserDocu>
|
||||
@@ -261,54 +261,54 @@ Return tuple(obj,newElementName,oldElementName)
|
||||
<Parameter Name="Document" Type="Object"/>
|
||||
</Attribute>
|
||||
<Attribute Name="State" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>State of the object in the document</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="State" Type="List"/>
|
||||
</Attribute>
|
||||
<Attribute Name="ViewObject" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>If the GUI is loaded the associated view provider is returned
|
||||
<Documentation>
|
||||
<UserDocu>State of the object in the document</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="State" Type="List"/>
|
||||
</Attribute>
|
||||
<Attribute Name="ViewObject" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>If the GUI is loaded the associated view provider is returned
|
||||
or None if the GUI is not up</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="ViewObject" Type="Object"/>
|
||||
</Attribute>
|
||||
<CustomAttributes />
|
||||
<Attribute Name="MustExecute" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="ViewObject" Type="Object"/>
|
||||
</Attribute>
|
||||
<CustomAttributes />
|
||||
<Attribute Name="MustExecute" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Check if the object must be recomputed</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="MustExecute" Type="Boolean"/>
|
||||
</Attribute>
|
||||
<Attribute Name="ID" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="MustExecute" Type="Boolean"/>
|
||||
</Attribute>
|
||||
<Attribute Name="ID" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>The unique identifier (among its document) of this object</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="ID" Type="Int"/>
|
||||
</Attribute>
|
||||
<Attribute Name="Removing" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="ID" Type="Int"/>
|
||||
</Attribute>
|
||||
<Attribute Name="Removing" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Indicate if the object is being removed</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Removing" Type="Boolean"/>
|
||||
</Attribute>
|
||||
</Documentation>
|
||||
<Parameter Name="Removing" Type="Boolean"/>
|
||||
</Attribute>
|
||||
<Attribute Name="Parents" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>A List of tuple(parent,subname) holding all parents to this object</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Parents" Type="List"/>
|
||||
<Parameter Name="Parents" Type="List"/>
|
||||
</Attribute>
|
||||
<Attribute Name="OldLabel" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Contains the old label before change</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="OldLabel" Type="String"/>
|
||||
<Parameter Name="OldLabel" Type="String"/>
|
||||
</Attribute>
|
||||
<Attribute Name="NoTouch">
|
||||
<Documentation>
|
||||
<UserDocu>Enable/disable no touch on any property change</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="NoTouch" Type="Boolean"/>
|
||||
<Parameter Name="NoTouch" Type="Boolean"/>
|
||||
</Attribute>
|
||||
</PythonExport>
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
|
||||
@@ -198,23 +198,23 @@ object of this document.
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getObject">
|
||||
<Documentation>
|
||||
<UserDocu>Return the object with the given name</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getObjectsByLabel">
|
||||
<Documentation>
|
||||
<UserDocu>Return the objects with the given label name.
|
||||
<Documentation>
|
||||
<UserDocu>Return the object with the given name</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getObjectsByLabel">
|
||||
<Documentation>
|
||||
<UserDocu>Return the objects with the given label name.
|
||||
NOTE: It's possible that several objects have the same label name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="findObjects" Keyword="true">
|
||||
<Documentation>
|
||||
<Documentation>
|
||||
<UserDocu>findObjects([Type=string], [Name=string], [Label=string]) -> list
|
||||
Return a list of objects that match the specified type, name or label.
|
||||
Name and label support regular expressions. All parameters are optional.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getLinksTo">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
@@ -225,18 +225,18 @@ maxCount: to limit the number of links returned
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="supportedTypes">
|
||||
<Documentation>
|
||||
<UserDocu>A list of supported types of objects</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getTempFileName">
|
||||
<Documentation>
|
||||
<UserDocu>Returns a file name with path in the temp directory of the document.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getDependentDocuments">
|
||||
<Documentation>
|
||||
<Methode Name="supportedTypes">
|
||||
<Documentation>
|
||||
<UserDocu>A list of supported types of objects</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getTempFileName">
|
||||
<Documentation>
|
||||
<UserDocu>Returns a file name with path in the temp directory of the document.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getDependentDocuments">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
getDependentDocuments(sort=True)
|
||||
|
||||
@@ -244,21 +244,21 @@ Returns a list of documents that this document directly or indirectly links to i
|
||||
|
||||
sort: whether to topologically sort the return list
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Attribute Name="DependencyGraph" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>The dependency graph as GraphViz text</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="DependencyGraph" Type="String" />
|
||||
</Attribute>
|
||||
<Attribute Name="ActiveObject" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>The active object of the document</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="ActiveObject" Type="Object" />
|
||||
</Attribute>
|
||||
<Attribute Name="Objects" ReadOnly="true">
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Attribute Name="DependencyGraph" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>The dependency graph as GraphViz text</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="DependencyGraph" Type="String" />
|
||||
</Attribute>
|
||||
<Attribute Name="ActiveObject" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>The active object of the document</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="ActiveObject" Type="Object" />
|
||||
</Attribute>
|
||||
<Attribute Name="Objects" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>The list of object handled by this document</UserDocu>
|
||||
</Documentation>
|
||||
@@ -330,48 +330,48 @@ sort: whether to topologically sort the return list
|
||||
</Documentation>
|
||||
<Parameter Name="HasPendingTransaction" Type="Boolean"/>
|
||||
</Attribute>
|
||||
<Attribute Name="InList" ReadOnly="true">
|
||||
<Documentation>
|
||||
<Attribute Name="InList" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>A list of all documents that link to this document.</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="InList" Type="List" />
|
||||
</Attribute>
|
||||
<Attribute Name="OutList" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="InList" Type="List" />
|
||||
</Attribute>
|
||||
<Attribute Name="OutList" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>A list of all documents that this document links to.</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="OutList" Type="List" />
|
||||
</Attribute>
|
||||
<Attribute Name="Restoring" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="OutList" Type="List" />
|
||||
</Attribute>
|
||||
<Attribute Name="Restoring" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Indicate if the document is restoring</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Restoring" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Partial" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="Restoring" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Partial" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Indicate if the document is partially loaded</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Partial" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Importing" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="Partial" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Importing" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Indicate if the document is importing. Note the document will also report Restoring while importing</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Importing" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Recomputing" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="Importing" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Recomputing" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Indicate if the document is recomputing</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Recomputing" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Transacting" ReadOnly="true">
|
||||
<Documentation>
|
||||
</Documentation>
|
||||
<Parameter Name="Recomputing" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="Transacting" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Indicate whether the document is undoing/redoing</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Transacting" Type="Boolean" />
|
||||
</Attribute>
|
||||
</Documentation>
|
||||
<Parameter Name="Transacting" Type="Boolean" />
|
||||
</Attribute>
|
||||
<Attribute Name="OldLabel" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Contains the old label before change</UserDocu>
|
||||
|
||||
@@ -43,12 +43,12 @@
|
||||
<UserDocu>Remove multiple objects from the group. Expects a list and returns all objects that have been removed.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="removeObjectsFromDocument">
|
||||
<Documentation>
|
||||
<UserDocu>Remove all child objects from the group and document</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getObject">
|
||||
<Methode Name="removeObjectsFromDocument">
|
||||
<Documentation>
|
||||
<UserDocu>Remove all child objects from the group and document</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getObject">
|
||||
<Documentation>
|
||||
<UserDocu>Return the object with the given name</UserDocu>
|
||||
</Documentation>
|
||||
|
||||
@@ -33,13 +33,13 @@ name : str\n Property name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getTypeOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>getTypeOfProperty(name) -> list\n
|
||||
<Documentation>
|
||||
<UserDocu>getTypeOfProperty(name) -> list\n
|
||||
Returns the type of a named property. This can be a list conformed by elements in
|
||||
(Hidden, NoRecompute, NoPersist, Output, ReadOnly, Transient).\n
|
||||
name : str\n Property name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getTypeIdOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>getTypeIdOfProperty(name) -> str\n
|
||||
@@ -70,21 +70,21 @@ name : str\n Property name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getGroupOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>getGroupOfProperty(name) -> str\n
|
||||
<Documentation>
|
||||
<UserDocu>getGroupOfProperty(name) -> str\n
|
||||
Returns the name of the group which the property belongs to in this class.
|
||||
The properties are sorted in different named groups for convenience.\n
|
||||
name : str\n Property name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="setGroupOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>setGroupOfProperty(name, group) -> None\n
|
||||
<Documentation>
|
||||
<UserDocu>setGroupOfProperty(name, group) -> None\n
|
||||
Set the name of the group of a dynamic property.\n
|
||||
name : str\n Property name.
|
||||
group : str\n Group name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="setPropertyStatus">
|
||||
<Documentation>
|
||||
<UserDocu>setPropertyStatus(name, val) -> None\n
|
||||
@@ -101,29 +101,29 @@ Get property status.\n
|
||||
name : str\n Property name. If empty, returns a list of supported text names of the status.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getDocumentationOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>getDocumentationOfProperty(name) -> str\n
|
||||
<Methode Name="getDocumentationOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>getDocumentationOfProperty(name) -> str\n
|
||||
Returns the documentation string of the property of this class.\n
|
||||
name : str\n Property name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="setDocumentationOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>setDocumentationOfProperty(name, docstring) -> None\n
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="setDocumentationOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>setDocumentationOfProperty(name, docstring) -> None\n
|
||||
Set the documentation string of a dynamic property of this class.\n
|
||||
name : str\n Property name.
|
||||
docstring : str\n Documentation string.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getEnumerationsOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>getEnumerationsOfProperty(name) -> list or None\n
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getEnumerationsOfProperty">
|
||||
<Documentation>
|
||||
<UserDocu>getEnumerationsOfProperty(name) -> list or None\n
|
||||
Return all enumeration strings of the property of this class or None if not a
|
||||
PropertyEnumeration.\n
|
||||
name : str\n Property name.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="dumpPropertyContent" Keyword="true" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>dumpPropertyContent(Property, Compression=3) -> bytearray\n
|
||||
|
||||
Reference in New Issue
Block a user