pggrid.cxx (97e8a929) | pggrid.cxx (c7be74b1) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 129 unchanged lines hidden (view full) --- 138 Link aModifyLk = LINK(this, SwTextGridPage, GridModifyHdl); 139 aColorLB.SetSelectHdl(aModifyLk); 140 aPrintCB.SetClickHdl(aModifyLk); 141 aRubyBelowCB.SetClickHdl(aModifyLk); 142 143 144 aDisplayCB.SetClickHdl(LINK(this, SwTextGridPage, DisplayGridHdl)); 145 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 129 unchanged lines hidden (view full) --- 138 Link aModifyLk = LINK(this, SwTextGridPage, GridModifyHdl); 139 aColorLB.SetSelectHdl(aModifyLk); 140 aPrintCB.SetClickHdl(aModifyLk); 141 aRubyBelowCB.SetClickHdl(aModifyLk); 142 143 144 aDisplayCB.SetClickHdl(LINK(this, SwTextGridPage, DisplayGridHdl)); 145 |
146 XColorList* pColorTbl = XColorList::GetStdColorList(); | 146 XColorListSharedPtr aColorTbl = XColorList::GetStdColorList(); |
147 aColorLB.InsertAutomaticEntry(); | 147 aColorLB.InsertAutomaticEntry(); |
148 for( sal_uInt16 i = 0; i < pColorTbl->Count(); ++i ) | 148 for( sal_uInt16 i = 0; i < aColorTbl->Count(); ++i ) |
149 { | 149 { |
150 XColorEntry* pEntry = pColorTbl->GetColor( i ); | 150 XColorEntry* pEntry = aColorTbl->GetColor( i ); |
151 Color aColor = pEntry->GetColor(); 152 String sName = pEntry->GetName(); 153 aColorLB.InsertEntry( aColor, sName ); 154 } 155 aColorLB.SetUpdateMode( sal_True ); 156 //Get the default paper mode 157 SwView *pView = ::GetActiveView(); 158 if( pView ) --- 359 unchanged lines hidden --- | 151 Color aColor = pEntry->GetColor(); 152 String sName = pEntry->GetName(); 153 aColorLB.InsertEntry( aColor, sName ); 154 } 155 aColorLB.SetUpdateMode( sal_True ); 156 //Get the default paper mode 157 SwView *pView = ::GetActiveView(); 158 if( pView ) --- 359 unchanged lines hidden --- |