xtabdash.cxx (3e407bd8) xtabdash.cxx (33b19716)
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

--- 191 unchanged lines hidden (view full) ---

200 VirtualDevice aVirtualDevice;
201 const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D;
202
203 aVirtualDevice.SetOutputSizePixel(aSize);
204 aVirtualDevice.SetDrawMode(rStyleSettings.GetHighContrastMode()
205 ? DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT
206 : DRAWMODE_DEFAULT);
207
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

--- 191 unchanged lines hidden (view full) ---

200 VirtualDevice aVirtualDevice;
201 const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D;
202
203 aVirtualDevice.SetOutputSizePixel(aSize);
204 aVirtualDevice.SetDrawMode(rStyleSettings.GetHighContrastMode()
205 ? DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT
206 : DRAWMODE_DEFAULT);
207
208 if(rStyleSettings.GetUIPreviewUsesCheckeredBackground())
208 if(rStyleSettings.GetPreviewUsesCheckeredBackground())
209 {
210 const Point aNull(0, 0);
211 static const sal_uInt32 nLen(8 * nFactor);
212 static const Color aW(COL_WHITE);
213 static const Color aG(0xef, 0xef, 0xef);
214
215 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG);
216 }

--- 79 unchanged lines hidden ---
209 {
210 const Point aNull(0, 0);
211 static const sal_uInt32 nLen(8 * nFactor);
212 static const Color aW(COL_WHITE);
213 static const Color aG(0xef, 0xef, 0xef);
214
215 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG);
216 }

--- 79 unchanged lines hidden ---