Lines Matching refs:rTree
436 void TreeControlPeer::fillTree( UnoTreeListBoxImpl& rTree, const Reference< XTreeDataModel >& xData… in fillTree() argument
438 rTree.Clear(); in fillTree()
447 addNode( rTree, xRootNode, 0 ); in fillTree()
453 addNode( rTree, xRootNode->getChildAt( nChild ), 0 ); in fillTree()
461 void TreeControlPeer::addNode( UnoTreeListBoxImpl& rTree, const Reference< XTreeNode >& xNode, UnoT… in addNode() argument
468 addNode( rTree, xNode->getChildAt( nChild ), pEntry ); in addNode()
487 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in ChangeNodesSelection() local
529 rTree.SelectAll( sal_False ); in ChangeNodesSelection()
536 rTree.Select( pEntry, bSelect ? sal_True : sal_False ); in ChangeNodesSelection()
558 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in getSelection() local
562 sal_uLong nSelectionCount = rTree.GetSelectionCount(); in getSelection()
565 UnoTreeListEntry* pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.FirstSelected() ); in getSelection()
573 UnoTreeListEntry* pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.FirstSelected() ); in getSelection()
577 pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.NextSelected( pEntry ) ); in getSelection()
679 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in createSelectionEnumeration() local
681 sal_uInt32 nSelectionCount = rTree.GetSelectionCount(); in createSelectionEnumeration()
684 UnoTreeListEntry* pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.FirstSelected() ); in createSelectionEnumeration()
688 pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.NextSelected( pEntry ) ); in createSelectionEnumeration()
703 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in createReverseSelectionEnumeration() local
705 sal_uInt32 nSelectionCount = rTree.GetSelectionCount(); in createReverseSelectionEnumeration()
708 UnoTreeListEntry* pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.FirstSelected() ); in createReverseSelectionEnumeration()
712 pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.NextSelected( pEntry ) ); in createReverseSelectionEnumeration()
743 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in setDefaultExpandedGraphicURL() local
745 SvLBoxEntry* pEntry = rTree.First(); in setDefaultExpandedGraphicURL()
752 rTree.SetExpandedEntryBmp( pEntry, maDefaultExpandedImage ); in setDefaultExpandedGraphicURL()
754 pEntry = rTree.Next( pEntry ); in setDefaultExpandedGraphicURL()
781 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in setDefaultCollapsedGraphicURL() local
783 SvLBoxEntry* pEntry = rTree.First(); in setDefaultCollapsedGraphicURL()
790 rTree.SetCollapsedEntryBmp( pEntry, maDefaultCollapsedImage ); in setDefaultCollapsedGraphicURL()
792 pEntry = rTree.Next( pEntry ); in setDefaultCollapsedGraphicURL()
805 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in isNodeExpanded() local
807 return ( pEntry && rTree.IsExpanded( pEntry ) ) ? sal_True : sal_False; in isNodeExpanded()
824 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in makeNodeVisible() local
827 rTree.MakeVisible( pEntry ); in makeNodeVisible()
836 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in isNodeVisible() local
838 return ( pEntry && rTree.IsEntryVisible( pEntry ) ) ? sal_True : sal_False; in isNodeVisible()
847 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in expandNode() local
850 rTree.Expand( pEntry ); in expandNode()
859 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in collapseNode() local
862 rTree.Collapse( pEntry ); in collapseNode()
885 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in getNodeForLocation() local
890 UnoTreeListEntry* pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.GetEntry( aPos, sal_True ) ); in getNodeForLocation()
903 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in getClosestNodeForLocation() local
908 UnoTreeListEntry* pEntry = dynamic_cast< UnoTreeListEntry* >( rTree.GetEntry( aPos, sal_True ) ); in getClosestNodeForLocation()
921 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in getNodeRect() local
924 ::Rectangle aEntryRect( rTree.GetFocusRect( pEntry, rTree.GetEntryPosition( pEntry ).Y() ) ); in getNodeRect()
934 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in isEditing() local
935 return rTree.IsEditingActive() ? sal_True : sal_False; in isEditing()
944 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in stopEditing() local
945 if( rTree.IsEditingActive() ) in stopEditing()
947 rTree.EndEditing(sal_False); in stopEditing()
962 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in cancelEditing() local
963 rTree.EndEditing(sal_False); in cancelEditing()
972 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in startEditingAtNode() local
974 rTree.EditEntry( pEntry ); in startEditingAtNode()
1080 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in updateTree() local
1090 updateNode( rTree, xNode, bRecursive ); in updateTree()
1093 void TreeControlPeer::updateNode( UnoTreeListBoxImpl& rTree, const Reference< XTreeNode >& xNode, b… in updateNode() argument
1115 updateChildNodes( rTree, xNode, pNodeEntry ); in updateNode()
1119 void TreeControlPeer::updateChildNodes( UnoTreeListBoxImpl& rTree, const Reference< XTreeNode >& xP… in updateChildNodes() argument
1123 …UnoTreeListEntry* pCurrentChild = dynamic_cast< UnoTreeListEntry* >( rTree.FirstChild( pParentEntr… in updateChildNodes()
1140 rTree.GetModel()->Move( pNodeEntry, pParentEntry, nChild ); in updateChildNodes()
1152 pCurrentChild = dynamic_cast< UnoTreeListEntry* >( rTree.NextSibling( pCurrentChild ) ); in updateChildNodes()
1158 …UnoTreeListEntry* pNextChild = dynamic_cast< UnoTreeListEntry* >( rTree.NextSibling( pCurrentChild… in updateChildNodes()
1159 rTree.GetModel()->Remove( pCurrentChild ); in updateChildNodes()
1241 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in disposing() local
1242 rTree.Clear(); in disposing()
1246 void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Reference< XTreeDataModel… in onChangeDataModel() argument
1268 fillTree( rTree, mxDataModel ); in onChangeDataModel()
1317 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in setProperty() local
1326 WinBits nStyle = rTree.GetStyle(); in setProperty()
1331 rTree.SetStyle( nStyle ); in setProperty()
1350 if( rTree.GetSelectionMode() != eSelMode ) in setProperty()
1351 rTree.SetSelectionMode( eSelMode ); in setProperty()
1357 onChangeDataModel( rTree, Reference< XTreeDataModel >( aValue, UNO_QUERY ) ); in setProperty()
1363 rTree.SetEntryHeight( (short)nHeight ); in setProperty()
1370 rTree.EnableInplaceEditing( bEnabled ? sal_True : sal_False ); in setProperty()
1389 WinBits nBits = rTree.GetStyle() & (~WB_HASLINES); in setProperty()
1392 if( nBits != rTree.GetStyle() ) in setProperty()
1393 rTree.SetStyle( nBits ); in setProperty()
1402 WinBits nBits = rTree.GetStyle() & (~WB_HASLINESATROOT); in setProperty()
1405 if( nBits != rTree.GetStyle() ) in setProperty()
1406 rTree.SetStyle( nBits ); in setProperty()
1423 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in getProperty() local
1427 return Any( ( rTree.GetStyle() & WB_HIDESELECTION ) != 0 ? sal_True : sal_False ); in getProperty()
1433 SelectionMode eSelMode = rTree.GetSelectionMode(); in getProperty()
1445 return Any( (sal_Int32)rTree.GetEntryHeight() ); in getProperty()
1449 return Any( rTree.IsInplaceEditingEnabled() ? sal_True : sal_False ); in getProperty()
1455 return Any( (rTree.GetStyle() & WB_HASLINES) != 0 ? sal_True : sal_False ); in getProperty()
1457 return Any( (rTree.GetStyle() & WB_HASLINESATROOT) != 0 ? sal_True : sal_False ); in getProperty()
1470 UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow(); in onChangeRootDisplayed() local
1472 if( rTree.GetEntryCount() == 0 ) in onChangeRootDisplayed()
1476 fillTree( rTree, mxDataModel ); in onChangeRootDisplayed()