node.cxx (86e1cf34) | node.cxx (8f2cf668) |
---|---|
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 --- 2046 unchanged lines hidden (view full) --- 2055 APPEND(rText,"color cyan "); 2056 break; 2057 case TMAGENTA: 2058 APPEND(rText,"color magenta "); 2059 break; 2060 case TYELLOW: 2061 APPEND(rText,"color yellow "); 2062 break; | 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 --- 2046 unchanged lines hidden (view full) --- 2055 APPEND(rText,"color cyan "); 2056 break; 2057 case TMAGENTA: 2058 APPEND(rText,"color magenta "); 2059 break; 2060 case TYELLOW: 2061 APPEND(rText,"color yellow "); 2062 break; |
2063 case TTEAL: 2064 APPEND(rText,"color teal"); 2065 break; 2066 case TSILVER: 2067 APPEND(rText,"color silver"); 2068 break; 2069 case TGRAY: 2070 APPEND(rText,"color gray"); 2071 break; 2072 case TMAROON: 2073 APPEND(rText,"color maroon"); 2074 break; 2075 case TPURPLE: 2076 APPEND(rText,"color purple"); 2077 break; 2078 case TLIME: 2079 APPEND(rText,"color lime"); 2080 break; 2081 case TOLIVE: 2082 APPEND(rText,"color olive"); 2083 break; 2084 case TNAVY: 2085 APPEND(rText,"color navy"); 2086 break; 2087 case TAQUA: 2088 APPEND(rText,"color aqua"); 2089 break; 2090 case TFUCHSIA: 2091 APPEND(rText,"color fuchsia"); 2092 break; |
|
2063 case TSANS: 2064 APPEND(rText,"font sans "); 2065 break; 2066 case TSERIF: 2067 APPEND(rText,"font serif "); 2068 break; 2069 case TFIXED: 2070 APPEND(rText,"font fixed "); --- 49 unchanged lines hidden (view full) --- 2120 case TPHANTOM : SetPhantom(sal_True); break; 2121 case TBOLD : SetAttribut(ATTR_BOLD); break; 2122 case TITALIC : SetAttribut(ATTR_ITALIC); break; 2123 case TNBOLD : ClearAttribut(ATTR_BOLD); break; 2124 case TNITALIC : ClearAttribut(ATTR_ITALIC); break; 2125 2126 case TBLACK : SetColor(Color(COL_BLACK)); break; 2127 case TWHITE : SetColor(Color(COL_WHITE)); break; | 2093 case TSANS: 2094 APPEND(rText,"font sans "); 2095 break; 2096 case TSERIF: 2097 APPEND(rText,"font serif "); 2098 break; 2099 case TFIXED: 2100 APPEND(rText,"font fixed "); --- 49 unchanged lines hidden (view full) --- 2150 case TPHANTOM : SetPhantom(sal_True); break; 2151 case TBOLD : SetAttribut(ATTR_BOLD); break; 2152 case TITALIC : SetAttribut(ATTR_ITALIC); break; 2153 case TNBOLD : ClearAttribut(ATTR_BOLD); break; 2154 case TNITALIC : ClearAttribut(ATTR_ITALIC); break; 2155 2156 case TBLACK : SetColor(Color(COL_BLACK)); break; 2157 case TWHITE : SetColor(Color(COL_WHITE)); break; |
2128 case TRED : SetColor(Color(COL_RED)); break; | 2158 case TRED : SetColor(Color(COL_LIGHTRED)); break; |
2129 case TGREEN : SetColor(Color(COL_GREEN)); break; | 2159 case TGREEN : SetColor(Color(COL_GREEN)); break; |
2130 case TBLUE : SetColor(Color(COL_BLUE)); break; 2131 case TCYAN : SetColor(Color(COL_CYAN)); break; 2132 case TMAGENTA : SetColor(Color(COL_MAGENTA)); break; | 2160 case TBLUE : SetColor(Color(COL_LIGHTBLUE)); break; 2161 case TCYAN : SetColor(Color(COL_LIGHTCYAN)); break; // as in Calc 2162 case TMAGENTA : SetColor(Color(COL_LIGHTMAGENTA)); break; // as in Calc |
2133 case TYELLOW : SetColor(Color(COL_YELLOW)); break; | 2163 case TYELLOW : SetColor(Color(COL_YELLOW)); break; |
2164 case TTEAL : SetColor(Color(COL_CYAN)); break; 2165 case TSILVER : SetColor(Color(COL_LIGHTGRAY)); break; 2166 case TGRAY : SetColor(Color(COL_GRAY)); break; 2167 case TMAROON : SetColor(Color(COL_RED)); break; 2168 case TPURPLE : SetColor(Color(COL_MAGENTA)); break; 2169 case TLIME : SetColor(Color(COL_LIGHTGREEN)); break; 2170 case TOLIVE : SetColor(Color(COL_BROWN)); break; 2171 case TNAVY : SetColor(Color(COL_BLUE)); break; 2172 case TAQUA : SetColor(Color(COL_LIGHTCYAN)); break; 2173 case TFUCHSIA : SetColor(Color(COL_LIGHTMAGENTA)); break; |
|
2134 2135 default: 2136 DBG_ASSERT(sal_False, "Sm: unbekannter Fall"); 2137 } 2138 2139 pNode->Arrange(rDev, rFormat); 2140 2141 SmRect::operator = (pNode->GetRect()); --- 969 unchanged lines hidden --- | 2174 2175 default: 2176 DBG_ASSERT(sal_False, "Sm: unbekannter Fall"); 2177 } 2178 2179 pNode->Arrange(rDev, rFormat); 2180 2181 SmRect::operator = (pNode->GetRect()); --- 969 unchanged lines hidden --- |