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

List:       koffice-devel
Subject:    captions
From:       Korinek Pavol <pavol.korinek () ixonos ! com>
Date:       2010-02-25 13:52:50
Message-ID: C495228385CC1D409A54846080C9CBA56634C2100B () jklmail01 ! ixonos ! local
[Download RAW message or body]

Hello,

I have some results of investigation of bug \
https://projects.maemo.org/bugzilla/show_bug.cgi?id=150283  and I like to consult it \
with you guys if I'm right.

Caption in OpenOffice is not some special object saved via real caption tags \
(draw:caption) as I suspect from documentation, but it's simple 'caption' text inside \
of structure:

frame (1)
    text-box
        text:p
            frame (2) (picture as link)
            'caption' (as simple text)


rendering of caption means rendering of that type of structure. We probably don't \
have some special support to handle that.

How is it rendered in OpenOffice ? It's simple text, but picture does not have \
behavior as character of text, so text is printed below the picture.

Default behavior of Kword is  that text is printed with picture as character and it \
doesn't look good, because text is printed thru picture or sometimes next the \
picture, but there's only tinny place between two frames. Result is not good, and it \
also depends on size of picture.

There are more problems related to that, but let's solve default text and picture \
relation first.

Possible solution is change default behavior of picture and text relation to not have \
picture as a part of text as character (my opinion) Where can be that changed ? May \
it be changed ? May it be simply changed ?

Maybe another solution (maybe not probable) is somehow handle that type of structure \
as caption.

Just for information - some related problems:
OpenOffice changes picture inside of frame (1) on resize of frame (2) - not same in \
Kword OpenOffice has relation between styles in style.xml which are lost in Kword  \
(maybe OK and replaced somehow) OpenOffice doesn't allow write caption text somewhere \
else instead below the picture (probably will be solved with default or relative \
behavior of picture)



Palo

Best regards

Mgr. Pavol Korinek
SW Developer
Ixonos Slovakia, s.r.o.
Štúrova 27
04001 Košice, Slovakia
Mobile: +421 918 718 984
e-mail: pavol.korinek@ixonos.com<mailto:pavol.korinek@ixonos.com>
www.ixonos.com<http://www.ixonos.com>


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.5pt;
	font-family:Consolas;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:Consolas;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=FI link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hello,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas'>I
have some results of investigation of bug </span><a
href="https://projects.maemo.org/bugzilla/show_bug.cgi?id=150283"><span
lang=EN-US>https://projects.maemo.org/bugzilla/show_bug.cgi?id=150283</span></a>
<span lang=EN-US> and I like to consult it with you guys if I&#8217;m \
right.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Caption in OpenOffice is not some special
object saved via real caption tags (draw:caption) as I suspect from
documentation, but it&#8217;s simple &#8216;caption&#8217; text inside of
structure:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>frame (1)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>    text-box<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>        text:p<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>            frame (2) (picture as \
link)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>            &#8216;caption&#8217; (as
simple text)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>rendering of caption means rendering of that
type of structure. We probably don&#8217;t have some special support to handle
that.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>How is it rendered in OpenOffice ? It&#8217;s
simple text, but picture does not have behavior as character of text, so text
is printed below the picture.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Default behavior of Kword is  that text is \
printed with picture as character and it doesn&#8217;t look good, because text is
printed thru picture or sometimes next the picture, but there&#8217;s only tinny
place between two frames. Result is not good, and it also depends on size of
picture.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>There are more problems related to that,
but let&#8217;s solve default text and picture relation first.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Possible solution is change default behavior
of picture and text relation to not have picture as a part of text as character
(my opinion) Where can be that changed ? May it be changed ? May it be simply
changed ?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Maybe another solution (maybe not probable)
is somehow handle that type of structure as caption.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Just for information &#8211; some related \
problems:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>OpenOffice changes picture inside of frame
(1) on resize of frame (2) &#8211; not same in Kword<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>OpenOffice has relation between styles in
style.xml which are lost in Kword  (maybe OK and replaced \
somehow)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>OpenOffice doesn&#8217;t allow write caption
text somewhere else instead below the picture (probably will be solved with
default or relative behavior of picture)<o:p></o:p></span></p>

<p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoPlainText><span lang=EN-US>Palo<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'>Best regards<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'>Mgr. Pavol \
Korinek<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas'>SW
Developer<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'>Ixonos
Slovakia, s.r.o.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'>Štúrova
27<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'>04001
Košice, Slovakia<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'>Mobile:
+421 918 718 984<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'>e-mail: <a
href="mailto:pavol.korinek@ixonos.com">pavol.korinek@ixonos.com</a><o:p></o:p></span></p>


<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'><a
href="http://www.ixonos.com">www.ixonos.com</a><o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>



_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

--===============1748359390==--

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

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