settings.cxx (35726d9d) settings.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

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

436 maEdgeBlendingTopLeftColor = RGB_COLORDATA(0xC0, 0xC0, 0xC0);
437 maEdgeBlendingBottomRightColor = RGB_COLORDATA(0x40, 0x40, 0x40);
438 mnListBoxMaximumLineCount = 25;
439 mnColorValueSetColumnCount = 12;
440 mnColorValueSetMaximumRowCount = 40;
441 maListBoxPreviewDefaultLogicSize = Size(15, 7);
442 maListBoxPreviewDefaultPixelSize = Size(0, 0); // on-demand calculated in GetListBoxPreviewDefaultPixelSize()
443 mnListBoxPreviewDefaultLineWidth = 1;
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

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

436 maEdgeBlendingTopLeftColor = RGB_COLORDATA(0xC0, 0xC0, 0xC0);
437 maEdgeBlendingBottomRightColor = RGB_COLORDATA(0x40, 0x40, 0x40);
438 mnListBoxMaximumLineCount = 25;
439 mnColorValueSetColumnCount = 12;
440 mnColorValueSetMaximumRowCount = 40;
441 maListBoxPreviewDefaultLogicSize = Size(15, 7);
442 maListBoxPreviewDefaultPixelSize = Size(0, 0); // on-demand calculated in GetListBoxPreviewDefaultPixelSize()
443 mnListBoxPreviewDefaultLineWidth = 1;
444 mbUIPreviewUsesCheckeredBackground = true;
444 mbPreviewUsesCheckeredBackground = true;
445
446 SetStandardStyles();
447}
448
449// -----------------------------------------------------------------------
450
451ImplStyleData::ImplStyleData( const ImplStyleData& rData ) :
452 maActiveBorderColor( rData.maActiveBorderColor ),

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

549 maEdgeBlendingTopLeftColor = rData.maEdgeBlendingTopLeftColor;
550 maEdgeBlendingBottomRightColor = rData.maEdgeBlendingBottomRightColor;
551 mnListBoxMaximumLineCount = rData.mnListBoxMaximumLineCount;
552 mnColorValueSetColumnCount = rData.mnColorValueSetColumnCount;
553 mnColorValueSetMaximumRowCount = rData.mnColorValueSetMaximumRowCount;
554 maListBoxPreviewDefaultLogicSize = rData.maListBoxPreviewDefaultLogicSize;
555 maListBoxPreviewDefaultPixelSize = rData.maListBoxPreviewDefaultPixelSize;
556 mnListBoxPreviewDefaultLineWidth = rData.mnListBoxPreviewDefaultLineWidth;
445
446 SetStandardStyles();
447}
448
449// -----------------------------------------------------------------------
450
451ImplStyleData::ImplStyleData( const ImplStyleData& rData ) :
452 maActiveBorderColor( rData.maActiveBorderColor ),

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

549 maEdgeBlendingTopLeftColor = rData.maEdgeBlendingTopLeftColor;
550 maEdgeBlendingBottomRightColor = rData.maEdgeBlendingBottomRightColor;
551 mnListBoxMaximumLineCount = rData.mnListBoxMaximumLineCount;
552 mnColorValueSetColumnCount = rData.mnColorValueSetColumnCount;
553 mnColorValueSetMaximumRowCount = rData.mnColorValueSetMaximumRowCount;
554 maListBoxPreviewDefaultLogicSize = rData.maListBoxPreviewDefaultLogicSize;
555 maListBoxPreviewDefaultPixelSize = rData.maListBoxPreviewDefaultPixelSize;
556 mnListBoxPreviewDefaultLineWidth = rData.mnListBoxPreviewDefaultLineWidth;
557 mbUIPreviewUsesCheckeredBackground = rData.mbUIPreviewUsesCheckeredBackground;
557 mbPreviewUsesCheckeredBackground = rData.mbPreviewUsesCheckeredBackground;
558}
559
560// -----------------------------------------------------------------------
561
562void ImplStyleData::SetStandardStyles()
563{
564 Font aStdFont( FAMILY_SWISS, Size( 0, 8 ) );
565 aStdFont.SetCharSet( gsl_getSystemTextEncoding() );

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

1070 (mpData->maEdgeBlendingTopLeftColor == rSet.mpData->maEdgeBlendingTopLeftColor) &&
1071 (mpData->maEdgeBlendingBottomRightColor == rSet.mpData->maEdgeBlendingBottomRightColor) &&
1072 (mpData->mnListBoxMaximumLineCount == rSet.mpData->mnListBoxMaximumLineCount) &&
1073 (mpData->mnColorValueSetColumnCount == rSet.mpData->mnColorValueSetColumnCount) &&
1074 (mpData->mnColorValueSetMaximumRowCount == rSet.mpData->mnColorValueSetMaximumRowCount) &&
1075 (mpData->maListBoxPreviewDefaultLogicSize == rSet.mpData->maListBoxPreviewDefaultLogicSize) &&
1076 (mpData->maListBoxPreviewDefaultPixelSize == rSet.mpData->maListBoxPreviewDefaultPixelSize) &&
1077 (mpData->mnListBoxPreviewDefaultLineWidth == rSet.mpData->mnListBoxPreviewDefaultLineWidth) &&
558}
559
560// -----------------------------------------------------------------------
561
562void ImplStyleData::SetStandardStyles()
563{
564 Font aStdFont( FAMILY_SWISS, Size( 0, 8 ) );
565 aStdFont.SetCharSet( gsl_getSystemTextEncoding() );

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

1070 (mpData->maEdgeBlendingTopLeftColor == rSet.mpData->maEdgeBlendingTopLeftColor) &&
1071 (mpData->maEdgeBlendingBottomRightColor == rSet.mpData->maEdgeBlendingBottomRightColor) &&
1072 (mpData->mnListBoxMaximumLineCount == rSet.mpData->mnListBoxMaximumLineCount) &&
1073 (mpData->mnColorValueSetColumnCount == rSet.mpData->mnColorValueSetColumnCount) &&
1074 (mpData->mnColorValueSetMaximumRowCount == rSet.mpData->mnColorValueSetMaximumRowCount) &&
1075 (mpData->maListBoxPreviewDefaultLogicSize == rSet.mpData->maListBoxPreviewDefaultLogicSize) &&
1076 (mpData->maListBoxPreviewDefaultPixelSize == rSet.mpData->maListBoxPreviewDefaultPixelSize) &&
1077 (mpData->mnListBoxPreviewDefaultLineWidth == rSet.mpData->mnListBoxPreviewDefaultLineWidth) &&
1078 (mpData->mbUIPreviewUsesCheckeredBackground == rSet.mpData->mbUIPreviewUsesCheckeredBackground))
1078 (mpData->mbPreviewUsesCheckeredBackground == rSet.mpData->mbPreviewUsesCheckeredBackground))
1079 return sal_True;
1080 else
1081 return sal_False;
1082}
1083
1084// =======================================================================
1085
1086ImplMiscData::ImplMiscData()

--- 966 unchanged lines hidden ---
1079 return sal_True;
1080 else
1081 return sal_False;
1082}
1083
1084// =======================================================================
1085
1086ImplMiscData::ImplMiscData()

--- 966 unchanged lines hidden ---