summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3213941)
raw | patch | inline | side by side (parent: 3213941)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 25 Jun 2006 16:41:17 +0000 (16:41 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 25 Jun 2006 16:41:17 +0000 (16:41 +0000) |
src/extension/internal/odf.cpp | patch | blob | history |
index 1c29d65ff6a5e0b9ae363787b2e13d098f8094d3..f366a9fad76b17b6d87bc174c8cb6fe616a42a1e 100644 (file)
outs.printf("svg:width=\"%.3fcm\" svg:height=\"%.3fcm\" ",
iwidth, iheight);
if (itemTransformString.size() > 0)
+ {
outs.printf("draw:transform=\"%s translate(%.3fcm, %.3fcm)\" ",
- itemTransformString.c_str(), ix, iy);
+ itemTransformString.c_str(), ix, iy);
+ }
+ else
+ {
+ outs.printf("draw:transform=\"translate(%.3fcm, %.3fcm)\" ",
+ ix, iy);
+ }
outs.printf(">\n");
outs.printf(" <draw:image xlink:href=\"%s\" xlink:type=\"simple\"\n",