[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Layout.cpp
From: Korinek Pavol <pavol.korinek () ixonos ! com>
Date: 2010-05-25 14:07:20
Message-ID: C495228385CC1D409A54846080C9CBA568B59B419F () jklmail01 ! ixonos ! local
[Download RAW message or body]
Hello,
I'm trying to solve problem with page break on new section found. I've chec=
ked that in Layout.cpp, function Layout::nextParag there is pageBreakPolicy=
handled and master page style also. It works fine if master page style is =
set on paragraph. It's handled by ParagraphStyle::MasterPageName key. Probl=
em is when master page style is set on table. I have tried key KoTableStyle=
::MasterPageName. It's empty. There is only paragraph format occurred in th=
is place probably. Where can I handle master page style for tables and add =
new page if there's new one ?
Thanks
Best regards
Mgr. Pavol Korinek
SW Developer
Ixonos Slovakia, s.r.o.
=A9t=FArova 27
04001 Ko=B9ice, 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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.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> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I’m trying to solve problem with page
break on new section found. I’ve checked that in Layout.cpp, function \
Layout::nextParag there is pageBreakPolicy handled and master page style also. It \
works fine if master page style is set on paragraph. It’s handled by \
ParagraphStyle::MasterPageName key. Problem is when master page style is set on \
table. I have tried key KoTableStyle::MasterPageName. It’s empty. There is only \
paragraph format occurred in this place probably. Where can I handle master page \
style for tables and add new page if there’s new one ?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thanks<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'><o:p> </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> </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 lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'>Ixonos Slovakia, \
s.r.o.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'>Štúrova 27<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US \
style='font-size:10.5pt;font-family:Consolas'>04001 Košice, \
Slovakia<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US \
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> </o:p></p>
</div>
</body>
</html>
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
--===============0170484745==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic