implrenderer.cxx (e6f63103) | implrenderer.cxx (c18968bf) |
---|---|
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 --- 1482 unchanged lines hidden (view full) --- 1491 case META_LINECOLOR_ACTION: 1492 if( !rParms.maLineColor.is_initialized() ) 1493 { 1494 setStateColor( static_cast<MetaLineColorAction*>(pCurrAct), 1495 getState( rStates ).isLineColorSet, 1496 getState( rStates ).lineColor, 1497 rCanvas ); 1498 } | 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 --- 1482 unchanged lines hidden (view full) --- 1491 case META_LINECOLOR_ACTION: 1492 if( !rParms.maLineColor.is_initialized() ) 1493 { 1494 setStateColor( static_cast<MetaLineColorAction*>(pCurrAct), 1495 getState( rStates ).isLineColorSet, 1496 getState( rStates ).lineColor, 1497 rCanvas ); 1498 } |
1499 else 1500 { 1501 // #120994# Do switch on/off LineColor, even when a overriding one is set 1502 bool bSetting(static_cast<MetaLineColorAction*>(pCurrAct)->IsSetting()); 1503 1504 getState( rStates ).isLineColorSet = bSetting; 1505 } |
|
1499 break; 1500 1501 case META_FILLCOLOR_ACTION: 1502 if( !rParms.maFillColor.is_initialized() ) 1503 { 1504 setStateColor( static_cast<MetaFillColorAction*>(pCurrAct), 1505 getState( rStates ).isFillColorSet, 1506 getState( rStates ).fillColor, 1507 rCanvas ); 1508 } | 1506 break; 1507 1508 case META_FILLCOLOR_ACTION: 1509 if( !rParms.maFillColor.is_initialized() ) 1510 { 1511 setStateColor( static_cast<MetaFillColorAction*>(pCurrAct), 1512 getState( rStates ).isFillColorSet, 1513 getState( rStates ).fillColor, 1514 rCanvas ); 1515 } |
1516 else 1517 { 1518 // #120994# Do switch on/off FillColor, even when a overriding one is set 1519 bool bSetting(static_cast<MetaFillColorAction*>(pCurrAct)->IsSetting()); 1520 1521 getState( rStates ).isFillColorSet = bSetting; 1522 } |
|
1509 break; 1510 1511 case META_TEXTCOLOR_ACTION: 1512 { 1513 if( !rParms.maTextColor.is_initialized() ) 1514 { 1515 // Text color is set unconditionally, thus, no 1516 // use of setStateColor here --- 1684 unchanged lines hidden --- | 1523 break; 1524 1525 case META_TEXTCOLOR_ACTION: 1526 { 1527 if( !rParms.maTextColor.is_initialized() ) 1528 { 1529 // Text color is set unconditionally, thus, no 1530 // use of setStateColor here --- 1684 unchanged lines hidden --- |