pggrid.cxx (efeef26f) pggrid.cxx (97e8a929)
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 XColorTable* pColorTbl = XColorTable::GetStdColorTable();
146 XColorList* pColorTbl = XColorList::GetStdColorList();
147 aColorLB.InsertAutomaticEntry();
148 for( sal_uInt16 i = 0; i < pColorTbl->Count(); ++i )
149 {
150 XColorEntry* pEntry = pColorTbl->GetColor( i );
151 Color aColor = pEntry->GetColor();
152 String sName = pEntry->GetName();
153 aColorLB.InsertEntry( aColor, sName );
154 }

--- 363 unchanged lines hidden ---
147 aColorLB.InsertAutomaticEntry();
148 for( sal_uInt16 i = 0; i < pColorTbl->Count(); ++i )
149 {
150 XColorEntry* pEntry = pColorTbl->GetColor( i );
151 Color aColor = pEntry->GetColor();
152 String sName = pEntry->GetName();
153 aColorLB.InsertEntry( aColor, sName );
154 }

--- 363 unchanged lines hidden ---