mathmlexport.cxx (86e1cf34) mathmlexport.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

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

1276 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_AQUA);
1277 break;
1278 case TMAGENTA:
1279 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_FUCHSIA);
1280 break;
1281 case TYELLOW:
1282 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_YELLOW);
1283 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

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

1276 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_AQUA);
1277 break;
1278 case TMAGENTA:
1279 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_FUCHSIA);
1280 break;
1281 case TYELLOW:
1282 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_YELLOW);
1283 break;
1284 case TSILVER:
1285 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_SILVER);
1286 break;
1287 case TGRAY:
1288 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_GRAY);
1289 break;
1290 case TMAROON:
1291 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_MAROON);
1292 break;
1293 case TOLIVE:
1294 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_OLIVE);
1295 break;
1296 case TLIME:
1297 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_LIME);
1298 break;
1299 case TAQUA:
1300 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_AQUA);
1301 break;
1302 case TTEAL:
1303 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_TEAL);
1304 break;
1305 case TNAVY:
1306 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_NAVY);
1307 break;
1308 case TFUCHSIA:
1309 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_FUCHSIA);
1310 break;
1311 case TPURPLE:
1312 AddAttribute(XML_NAMESPACE_MATH, XML_COLOR, XML_PURPLE);
1313 break;
1284 case TSIZE:
1285 {
1286 const SmFontNode *pFontNode = static_cast<const SmFontNode *>(pNode);
1287 const Fraction &aFrac = pFontNode->GetSizeParameter();
1288
1289 OUStringBuffer sStrBuf;
1290 switch(pFontNode->GetSizeType())
1291 {

--- 281 unchanged lines hidden ---
1314 case TSIZE:
1315 {
1316 const SmFontNode *pFontNode = static_cast<const SmFontNode *>(pNode);
1317 const Fraction &aFrac = pFontNode->GetSizeParameter();
1318
1319 OUStringBuffer sStrBuf;
1320 switch(pFontNode->GetSizeType())
1321 {

--- 281 unchanged lines hidden ---