| /trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/ |
| H A D | HtmlGenerator.java | 180 for (final INode aNode : aNodes) in WriteTopLevelNodes() 182 maOut.printf(" \"%s\" : {\n", aNode.GetName().GetDisplayName()); in WriteTopLevelNodes() 186 aNode.AcceptVisitor(this); in WriteTopLevelNodes() 197 public void Visit (final All aNode) in Visit() argument 200 WriteLocation(aNode); in Visit() 201 WriteAttributes(aNode); in Visit() 202 WriteChildren(aNode); in Visit() 209 public void Visit (final Any aNode) in Visit() argument 212 WriteLocation(aNode); in Visit() 213 WriteAttributes(aNode); in Visit() [all …]
|
| H A D | code.js | 243 function CreateDomTreeForType (aNode, sType) argument 247 if (typeof aNode==='undefined') 251 else if (typeof aNode.type==='undefined') 257 switch(aNode.type) 262 "type:", GetTypeLink(aNode["value-type"], aNode["value-type"], -1), 263 "use:", aNode.use]); 267 aEntry.innerHTML = CreateReference(aNode["referenced-attribute"]); 273 "name:", aNode['builtin-type'] 278 aEntry.innerHTML = aNode.type + " " + aNode.name; 282 aEntry.innerHTML = CreateReference(aNode["referenced-complex-type"]); [all …]
|
| /trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/simple/ |
| H A D | SimpleTypeDescriptorFactory.java | 53 public void Default (final INode aNode) in Default() argument 55 Counters.put(aNode.GetNodeType(), Counters.get(aNode.GetNodeType())+1); in Default() 120 public void Visit (final BuiltIn aNode) in Visit() argument 122 assert(aNode.GetChildCount() == 0); in Visit() 125 maLog.AddComment("builtin %s", aNode.toString()); in Visit() 127 switch(aNode.GetBuiltInType()) in Visit() 130 maResult = new NumberNode<Double>(aNode.GetBuiltInType()); in Visit() 133 maResult = new NumberNode<Float>(aNode.GetBuiltInType()); in Visit() 137 maResult = new NumberNode<Boolean>(aNode.GetBuiltInType()); in Visit() 139 maResult = new NumberNode<Long>(aNode.GetBuiltInType()); in Visit() [all …]
|
| H A D | NumberNode.java | 87 final Restriction aNode, in ApplyRestriction() argument 90 if (aNode.HasFeature(Restriction.MinExclusiveBit)) in ApplyRestriction() 91 ApplyMinimum(ParseString(aNode.GetMinExclusive()), false); in ApplyRestriction() 92 if (aNode.HasFeature(Restriction.MinInclusiveBit)) in ApplyRestriction() 93 ApplyMinimum(ParseString(aNode.GetMinInclusive()), true); in ApplyRestriction() 95 if (aNode.HasFeature(Restriction.MaxExclusiveBit)) in ApplyRestriction() 96 ApplyMaximum(ParseString(aNode.GetMaxExclusive()), false); in ApplyRestriction() 97 if (aNode.HasFeature(Restriction.MaxInclusiveBit)) in ApplyRestriction() 98 ApplyMaximum(ParseString(aNode.GetMaxInclusive()), true); in ApplyRestriction() 100 if (aNode.HasFeature(Restriction.EnumerationBit)) in ApplyRestriction() [all …]
|
| /trunk/main/toolkit/test/accessibility/ |
| H A D | NodeFactory.java | 63 private void addDefaultHandlers (AccTreeNode aNode, XAccessibleContext xContext) in addDefaultHandlers() argument 68 aNode.addHandler (maContextHandler.createHandler (xContext)); in addDefaultHandlers() 69 aNode.addHandler (maTextHandler.createHandler (xContext)); in addDefaultHandlers() 70 aNode.addHandler (maEditableTextHandler.createHandler (xContext)); in addDefaultHandlers() 71 aNode.addHandler (maComponentHandler.createHandler (xContext)); in addDefaultHandlers() 72 aNode.addHandler (maExtendedComponentHandler.createHandler (xContext)); in addDefaultHandlers() 73 aNode.addHandler (maActionHandler.createHandler (xContext)); in addDefaultHandlers() 74 aNode.addHandler (maImageHandler.createHandler (xContext)); in addDefaultHandlers() 75 aNode.addHandler (maTableHandler.createHandler (xContext)); in addDefaultHandlers() 76 aNode.addHandler (maCellHandler.createHandler (xContext)); in addDefaultHandlers() [all …]
|
| H A D | AccessibilityTreeModel.java | 94 public void FireTreeStructureChanged (AccessibleTreeNode aNode) in FireTreeStructureChanged() argument 110 public void Apply (AccTreeNode aNode) in setRoot() 113 maCanvas.removeNode (aNode); in setRoot() 114 removeAccListener ((AccTreeNode)aNode); in setRoot() 159 protected boolean removeChild (AccessibleTreeNode aNode) in removeChild() argument 163 if( aNode == null ) in removeChild() 171 while (aNode.getChildCount() > 0) in removeChild() 172 if ( ! removeChild (aNode.getChildNoCreate (0))) in removeChild() 176 AccessibleTreeNode aParent = aNode.getParent(); in removeChild() 179 int nIndex = aParent.indexOf(aNode); in removeChild() [all …]
|
| H A D | AccessibleTextHandler.java | 183 VectorNode aNode = new VectorNode (sName, aParent); in textAtIndexNode() local 208 aNode.addChild (new StringNode (textAtIndexNodeString( in textAtIndexNode() 210 sWord.SegmentText, sBefore.SegmentText, sBehind.SegmentText), aNode)); in textAtIndexNode() 218 if (aNode.getChildCount() > 50) in textAtIndexNode() 224 aNode.addChild (new StringNode (textAtIndexNodeString( in textAtIndexNode() 226 sWord.SegmentText, sBefore.SegmentText, sBehind.SegmentText), aNode)); in textAtIndexNode() 230 aNode.addChild (new StringNode (e.toString(), aNode)); in textAtIndexNode() 234 aNode.addChild (new StringNode (e.toString(), aNode)); in textAtIndexNode() 238 return aNode; in textAtIndexNode() 387 public String[] getActions (AccessibleTreeNode aNode) in getActions() argument [all …]
|
| H A D | AccessibilityTree.java | 121 protected void expandTree (AccessibleTreeNode aNode, Expander aExpander) in expandTree() argument 133 expandTree (new TreePath (aNode.createPath()), aExpander); in expandTree() 144 ((AccessibilityTreeModel)maTree.getModel()).unlock (aNode); in expandTree() 171 AccessibleTreeNode aNode = (AccessibleTreeNode)aObj; in expandTree() local 172 int nLength = aNode.getChildCount(); in expandTree() 176 aPath.pathByAddingChild( aNode.getChild( i ) ), in expandTree() 200 public void expandShapes (AccessibleTreeNode aNode) in expandShapes() argument 202 expandTree (aNode, new ShapeExpander()); in expandShapes() 210 public void expandAll (AccessibleTreeNode aNode) in expandAll() argument 212 expandTree (aNode, new AllExpander()); in expandAll() [all …]
|
| H A D | NodeMap.java | 28 public abstract void Apply (AccTreeNode aNode); in Apply() argument 52 public boolean InsertNode (XAccessibleContext xContext, AccessibleTreeNode aNode) in InsertNode() argument 56 aNode); in InsertNode() 57 return aPreviousNode != aNode; in InsertNode() 60 protected void RemoveNode (AccessibleTreeNode aNode) in RemoveNode() argument 64 if ((aNode != null) && (aNode instanceof AccTreeNode)) in RemoveNode() 66 maXAccessibleToNode.remove (((AccTreeNode)aNode).getContext()); in RemoveNode() 72 + aNode + " : " + e); in RemoveNode() 112 XAccessibleContext GetAccessible (AccessibleTreeNode aNode) in GetAccessible() argument 114 if ((aNode != null) && (aNode instanceof AccTreeNode)) in GetAccessible() [all …]
|
| H A D | AccessibleUNOHandler.java | 56 private XServiceInfo GetServiceInfo (AccessibleTreeNode aNode) in GetServiceInfo() argument 59 if (aNode instanceof AccTreeNode) in GetServiceInfo() 61 XServiceInfo.class, ((AccTreeNode)aNode).getContext()); in GetServiceInfo() 64 private XTypeProvider GetTypeProvider (AccessibleTreeNode aNode) in GetTypeProvider() argument 67 if (aNode instanceof AccTreeNode) in GetTypeProvider() 69 XTypeProvider.class, ((AccTreeNode)aNode).getContext()); in GetTypeProvider() 115 VectorNode aNode = new VectorNode ("Supported Services", aParent); in CreateServiceTree() local 119 aNode.addChild (new StringNode (aServiceNames[i], aParent)); in CreateServiceTree() 121 return aNode; in CreateServiceTree() 128 VectorNode aNode = new VectorNode ("Supported Interfaces", aParent); in CreateInterfaceTree() local [all …]
|
| H A D | Canvas.java | 86 public void addNode (AccTreeNode aNode) in addNode() argument 88 if (maNodes.indexOf (aNode) == -1) in addNode() 90 maNodes.add (aNode); in addNode() 92 CanvasShape aObject = (CanvasShape) maObjects.get (aNode); in addNode() 95 aObject = new CanvasShape (aNode); in addNode() 102 maObjects.put (aNode, aObject); in addNode() 110 public void removeNode (AccTreeNode aNode) in removeNode() argument 112 int i = maNodes.indexOf (aNode); in removeNode() 115 Object aObject = maObjects.get(aNode); in removeNode() 118 maNodes.remove (aNode); in removeNode() [all …]
|
| H A D | NodeHandler.java | 98 public boolean removeChild (AccessibleTreeNode aNode, int nIndex) in removeChild() argument 116 public int indexOf (AccessibleTreeNode aNode) in indexOf() argument 120 return maChildList.indexOf (aNode); in indexOf() 136 public boolean isChildEditable (AccessibleTreeNode aNode, int nIndex) in isChildEditable() argument 146 public String[] getActions (AccessibleTreeNode aNode) in getActions() argument 152 public void performAction (AccessibleTreeNode aNode, int nIndex) in performAction() argument 158 public void update (AccessibleTreeNode aNode) in update() argument
|
| /trunk/main/accessibility/workben/org/openoffice/accessibility/awb/canvas/ |
| H A D | ShapeContainer.java | 80 public synchronized boolean AddNode (TreeNode aNode) in AddNode() argument 82 CanvasShape aShape = (CanvasShape)maShapeList.get (aNode); in AddNode() 85 aShape = new CanvasShape (aNode, maCanvas); in AddNode() 87 if (aNode instanceof XAccessibleEventBroadcaster) in AddNode() 88 ((XAccessibleEventBroadcaster) aNode).addEventListener(aShape); in AddNode() 96 maShapeList.put (aNode, aShape); in AddNode() 109 public synchronized boolean RemoveNode (TreeNode aNode) in RemoveNode() argument 111 CanvasShape aShape = (CanvasShape)maShapeList.get (aNode); in RemoveNode() 114 if (aNode instanceof XAccessibleEventBroadcaster) in RemoveNode() 115 ((XAccessibleEventBroadcaster) aNode).removeEventListener(aShape); in RemoveNode() [all …]
|
| /trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/model/base/ |
| H A D | NodeVisitorAdapter.java | 57 public void Visit (final All aNode) in Visit() argument 59 Default(aNode); in Visit() 63 public void Visit (final Any aNode) in Visit() argument 65 Default(aNode); in Visit() 69 public void Visit (final Choice aNode) in Visit() argument 71 Default(aNode); in Visit() 75 public void Visit (final ComplexContent aNode) in Visit() argument 77 Default(aNode); in Visit() 81 public void Visit (final ComplexType aNode) in Visit() argument 83 Default(aNode); in Visit() [all …]
|
| /trunk/main/store/source/ |
| H A D | storpage.cxx | 166 OStoreBTreeNodeObject aNode; 168 eErrCode = m_aRoot.find_lookup (aNode, nIndex, entry::CompareGreater(rEntry), *this); 172 PageHolderObject< page > xPage (aNode.get()); 197 eErrCode = loadObjectAt (aNode, nAddr); 199 PageHolderObject< page > xNext (aNode.get()); 203 aNode.remove (nIndex, rEntry, *this); 209 eErrCode = loadObjectAt (aNode, nAddr); 230 OStoreBTreeNodeObject aNode (m_aRoot.get()); in remove_Impl() local 233 PageHolderObject< page > xPage (aNode.get()); in remove_Impl() 256 storeError eErrCode = loadObjectAt (aNode, nAddr); in remove_Impl() [all …]
|
| /trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/automaton/ |
| H A D | ValidatingCreator.java | 265 public void Visit (final ComplexTypeReference aNode) in Visit() argument 267 throw new RuntimeException("can not handle "+aNode.toString()); in Visit() 553 public void Visit (final BuiltIn aNode) in Visit() argument 563 public void Visit (final List aNode) in Visit() argument 565 throw new RuntimeException("can not handle "+aNode.toString()); in Visit() 572 public void Visit (final Restriction aNode) in Visit() argument 574 throw new RuntimeException("can not handle "+aNode.toString()); in Visit() 580 public void Visit (final SimpleContent aNode) in Visit() argument 583 ProcessAttributes(aNode); in Visit() 585 for (final INode aChild : aNode.GetChildren()) in Visit() [all …]
|
| H A D | NonValidatingCreator.java | 172 for (final INode aNode : new DereferencingNodeIterator(aComplexType, maSchemaBase, true)) in CreateForComplexType() 173 ProcessAttributes(aNode); in CreateForComplexType() 191 for (final INode aNode : new DereferencingNodeIterator(aType, maSchemaBase, false)) in CollectElements() 193 if (aNode.GetNodeType() == NodeType.Element) in CollectElements() 194 aElements.add((Element)aNode); in CollectElements() 205 for (final INode aNode : new DereferencingNodeIterator(aType, maSchemaBase, false)) in CollectAnys() 207 if (aNode.GetNodeType() == NodeType.Any) in CollectAnys() 208 aAnys.add((Any)aNode); in CollectAnys()
|
| /trunk/main/accessibility/workben/org/openoffice/accessibility/awb/tree/ |
| H A D | AccessibilityTreeModel.java | 69 AccessibilityNode aNode = (AccessibilityNode)aObject; in isLeaf() local 72 bIsLeaf = aNode.isLeaf(); in isLeaf() 102 AccessibilityNode aNode = (AccessibilityNode)aObject; in getChildCount() local 103 return aNode.getChildCount(); in getChildCount() 176 public synchronized void AddTopLevelNode (AccessibilityNode aNode) in AddTopLevelNode() argument 178 if (aNode != null) in AddTopLevelNode() 192 aNode.SetParent (aRoot); in AddTopLevelNode() 193 aRoot.Append (aNode); in AddTopLevelNode() 194 nodesWereInserted (aRoot, new int[]{aRoot.getIndex (aNode)}); in AddTopLevelNode() 203 public synchronized void RemoveTopLevelNode (AccessibilityNode aNode) in RemoveTopLevelNode() argument [all …]
|
| /trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/model/optimize/ |
| H A D | SchemaOptimizer.java | 76 final INode aNode = maTodoList.poll(); in Run() local 79 … for (final INode aChild : new DereferencingNodeIterator(aNode, maOriginalSchemaBase, true)) in Run() 90 final QualifiedName aName = aNode.GetName(); in Run() 112 final Node aNode = maOriginalSchemaBase.GetTypeForName(aName); in RequestType() local 113 if (aNode == null) in RequestType() 116 RequestType(aNode); in RequestType() 122 void RequestType (final INode aNode) in RequestType() argument 124 if (aNode.GetNodeType() == NodeType.SimpleTypeReference) in RequestType() 125 System.out.println(aNode); in RequestType() 126 if ( ! maProcessedTypes.contains(aNode)) in RequestType() [all …]
|
| /trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/ |
| H A D | StreamView.java | 95 DefaultMutableTreeNode aNode = aRootNode; in CreateTreeModel() local 98 DefaultMutableTreeNode aChild = GetChildNodeForName(aNode, sPart); in CreateTreeModel() 102 aNode.add(aChild); in CreateTreeModel() 105 aNode = aChild; in CreateTreeModel() 129 private DefaultMutableTreeNode GetChildNodeForName (final TreeNode aNode, final String sName) in GetChildNodeForName() argument 131 for (int nIndex=0; nIndex<aNode.getChildCount(); ++nIndex) in GetChildNodeForName() 133 final TreeNode aChild = aNode.getChildAt(nIndex); in GetChildNodeForName() 226 TreeNode aNode = (TreeNode)getModel().getRoot(); in MakePartVisible() local 228 aTreeNodePath[nDepth++] = aNode; in MakePartVisible() 232 for (int nIndex=0; nIndex<aNode.getChildCount(); ++nIndex) in MakePartVisible() [all …]
|
| /trunk/main/linguistic/source/ |
| H A D | lngsvcmgr.cxx | 208 String aNode( String::CreateFromAscii( pEntryName ) ); in SetAvailableCfgServiceLists() local 209 uno::Sequence < OUString > aNodeNames( /*aCfg.*/GetNodeNames( aNode ) ); in SetAvailableCfgServiceLists() 221 OUString aPropName( aNode ); in SetAvailableCfgServiceLists() 663 OUString aNode( aSpellCheckerList ); in Notify() local 666 OUString aPropName( aNode ); in Notify() 688 OUString aNode( aGrammarCheckerList ); in Notify() local 691 OUString aPropName( aNode ); in Notify() 716 OUString aNode( aHyphenatorList ); in Notify() local 719 OUString aPropName( aNode ); in Notify() 741 OUString aNode( aThesaurusList ); in Notify() local [all …]
|
| /trunk/main/unoxml/source/dom/ |
| H A D | attributesmap.cxx | 70 Reference< XNode > aNode; in getNamedItem() local 81 aNode = Reference< XNode >( in getNamedItem() 89 return aNode; in getNamedItem() 102 Reference< XNode > aNode; in getNamedItemNS() local 118 aNode = Reference< XNode >( in getNamedItemNS() 126 return aNode; in getNamedItemNS() 137 Reference< XNode > aNode; in item() local 147 aNode = Reference< XNode >( in item() 156 return aNode; in item()
|
| /trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/model/complex/ |
| H A D | Extension.java | 125 INode aNode = aParent; in AddNodes() local 128 switch (aNode.GetNodeType()) in AddNodes() 131 aNode = ((Extension)aNode).GetBaseType(aSchemaBase); in AddNodes() 137 switch(aNode.GetChildCount()) in AddNodes() 142 aNode = aNode.GetOnlyChild(); in AddNodes() 150 aNodes.add(aNode); in AddNodes()
|
| /trunk/main/accessibility/workben/org/openoffice/accessibility/awb/view/ |
| H A D | TextView.java | 325 DefaultMutableTreeNode aNode = new DefaultMutableTreeNode (sTitle); in CreateNode() local 327 aNode.add (CreateSegmentNode ("Before", nTextType, BEFORE)); in CreateNode() 328 aNode.add (CreateSegmentNode ("At", nTextType, AT)); in CreateNode() 329 aNode.add (CreateSegmentNode ("Behind", nTextType, BEHIND)); in CreateNode() 331 return aNode; in CreateNode() 338 DefaultMutableTreeNode aNode = new DefaultMutableTreeNode (sTitle); in CreateSegmentNode() local 348 aNode.add (aSegmentNode); in CreateSegmentNode() 357 return aNode; in CreateSegmentNode() 413 DefaultMutableTreeNode aNode, in AddAttributeNodes() argument 421 aNode.add (new DefaultMutableTreeNode ( in AddAttributeNodes() [all …]
|
| /trunk/main/unotools/source/config/ |
| H A D | configitem.cxx | 535 Any aNode = xHierarchyAccess->getByHierarchicalName(sPath); in GetReadOnlyStates() local 536 if (!(aNode >>= xNode) || !xNode.is()) in GetReadOnlyStates() 686 Any aNode = xHierarchyAccess->getByHierarchicalName(sNode); in PutProperties() local 689 aNode >>= xNodeAcc; in PutProperties() 876 Any aNode = xHierarchyAccess->getByHierarchicalName(rNode); in GetNodeNames() local 877 aNode >>= xCont; in GetNodeNames() 907 Any aNode = xHierarchyAccess->getByHierarchicalName(rNode); in ClearNodeSet() local 908 aNode >>= xCont; in ClearNodeSet() 948 Any aNode = xHierarchyAccess->getByHierarchicalName(rNode); in ClearNodeElements() local 949 aNode >>= xCont; in ClearNodeElements() [all …]
|