[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/koffice-essen/filters/libmsooxml
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2010-11-29 19:15:18
Message-ID: 20101129191518.15ADCAC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1202121 by sebsauer:

can't harm to have a comment that explains where that value is from so that we can \
fix both once someone has a better idea then hardcoding.

 M  +2 -1      MsooXmlUtils.cpp  


--- branches/work/koffice-essen/filters/libmsooxml/MsooXmlUtils.cpp #1202120:1202121
@@ -1503,7 +1503,8 @@
         //TODO sebsauer 2010-11-29; this does not work cause m_bulletSize is set in \
                MsooXmlCommonReaderDrawingMLImpl.h to be the
         //size of the image but that's not correct cause the image can be much \
                larger then the bullet itself (e.g. the same image
         //can be used in the document for different things like as background- and \
                bullet-image and the sizes are independ of the
-        //original size of the picture. So, for now we are just hardcoding a \
width+height of 20pt. +        //original size of the picture. So, for now we are \
just hardcoding a width+height of 20pt. I choosed 20pt cause that's the +        \
//same value used at PptToOdp.cpp if a the size should be relative to the fontsize.  
         //returnValue += QString("fo:width=\"%1\" fo:height=\"%2\" \
                ").arg(MSOOXML::Utils::cmString(POINT_TO_CM(m_bulletSize.width()))).
         //    arg(MSOOXML::Utils::cmString(POINT_TO_CM(m_bulletSize.height())));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic