Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. Index: filters/libmsooxml/MsooXmlUtils.cpp
  2. ===================================================================
  3. --- filters/libmsooxml/MsooXmlUtils.cpp (revision 1191824)
  4. +++ filters/libmsooxml/MsooXmlUtils.cpp (working copy)
  5. @@ -1491,6 +1491,7 @@
  6. arg(MSOOXML::Utils::cmString(POINT_TO_CM(m_pictureSize.height())));
  7. }
  8.  
  9. +
  10. returnValue += "/>";
  11.  
  12. returnValue += "<style:text-properties ";
  13. @@ -1498,6 +1499,10 @@
  14. if (m_bulletColor != "UNUSED") {
  15. returnValue += QString("fo:color=\"%1\" ").arg(m_bulletColor);
  16. }
  17. +
  18. + if (m_bulletRelativeSize != "UNUSED") {
  19. + returnValue += QString("fo:font-size=\"%1\" ").arg(m_bulletRelativeSize);
  20. + }
  21.  
  22. returnValue += "/>";
  23.  
  24. Index: libs/kotext/styles/KoListLevelProperties.cpp
  25. ===================================================================
  26. --- libs/kotext/styles/KoListLevelProperties.cpp (revision 1191824)
  27. +++ libs/kotext/styles/KoListLevelProperties.cpp (working copy)
  28. @@ -547,6 +547,9 @@
  29. QString color(property.attributeNS(KoXmlNS::fo, "color"));
  30. if (!color.isEmpty())
  31. setBulletColor(QColor(color));
  32. + QString relativeSize(property.attributeNS(KoXmlNS::fo, "font-size"));
  33. + if (!relativeSize.isEmpty())
  34. + setRelativeBulletSize(relativeSize.toInt());
  35.  
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement