summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorPaul Trojahn <paul.trojahn@gmail.com>2017-11-13 18:27:22 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-12-18 15:46:40 +0100
commit3b4f14f4da046dab25362114db737968634cd720 (patch)
tree1d11378090d4d5d4e8b8a6cfa605c28b7a33830b /oox/inc
parent61b1d631331551b43bc7d619be33bfbfeff7cad6 (diff)
tdf#90626 PPTX: Fix image bullet size
This solution comes with a few limitations. The bullet isn't centered in Powerpoint and has to be between 25% and 400% of the size of the first character in the paragraph. This isn't optimal, but should produce acceptable results under most circumstances. Change-Id: I6c37169282aa351b81d78e06678424203b78f6d7 Reviewed-on: https://gerrit.libreoffice.org/44911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/drawingml/textparagraph.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/inc/drawingml/textparagraph.hxx b/oox/inc/drawingml/textparagraph.hxx
index 10eb0ee35468..ec0d57686e1b 100644
--- a/oox/inc/drawingml/textparagraph.hxx
+++ b/oox/inc/drawingml/textparagraph.hxx
@@ -29,6 +29,8 @@
#include <drawingml/textliststyle.hxx>
#include <drawingml/textparagraphproperties.hxx>
+// The height the bullet is relative to is different in OOXML
+#define OOX_BULLET_LIST_SCALE_FACTOR 0.7f
namespace oox { namespace formulaimport {
class XmlStreamBuilder;