LineStyleValueSet.cxx (4e8031e0) LineStyleValueSet.cxx (10534d9f)
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

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

57
58void LineStyleValueSet::UserDraw( const UserDrawEvent& rUDEvt )
59{
60 Rectangle aRect = rUDEvt.GetRect();
61 OutputDevice* pDev = rUDEvt.GetDevice();
62 sal_uInt16 nItemId = rUDEvt.GetItemId();
63
64 long nRectHeight = aRect.GetHeight();
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

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

57
58void LineStyleValueSet::UserDraw( const UserDrawEvent& rUDEvt )
59{
60 Rectangle aRect = rUDEvt.GetRect();
61 OutputDevice* pDev = rUDEvt.GetDevice();
62 sal_uInt16 nItemId = rUDEvt.GetItemId();
63
64 long nRectHeight = aRect.GetHeight();
65 long nRectWidth = aRect.GetWidth();
65 // long nRectWidth = aRect.GetWidth();
66 Point aBLPos = aRect.TopLeft();
67 if(nItemId == 1)
68 {
69 const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
70 Color aOldFillColor = pDev->GetFillColor();
71 const Color aTextColor = rStyleSettings.GetFieldTextColor();
72
73 //draw back

--- 61 unchanged lines hidden ---
66 Point aBLPos = aRect.TopLeft();
67 if(nItemId == 1)
68 {
69 const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
70 Color aOldFillColor = pDev->GetFillColor();
71 const Color aTextColor = rStyleSettings.GetFieldTextColor();
72
73 //draw back

--- 61 unchanged lines hidden ---