equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #include "FRMPAGE.H" |
19 #include "FRMPAGE.H" |
20 #include "FRMCONST.H" |
20 #include "FRMCONST.H" |
21 |
|
22 #include "OstTraceDefinitions.h" |
|
23 #ifdef OST_TRACE_COMPILER_IN_USE |
|
24 #include "FormLinePagTraces.h" |
|
25 #endif |
|
26 |
21 |
27 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
22 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
28 #include "FRMCONST_INTERNAL.H" |
23 #include "FRMCONST_INTERNAL.H" |
29 #include "FRMCONST_PARTNER.H" |
24 #include "FRMCONST_PARTNER.H" |
30 #endif |
25 #endif |
96 { |
91 { |
97 iBreakOnPage=EFalse; |
92 iBreakOnPage=EFalse; |
98 iHeightRem=iPageHeight; |
93 iHeightRem=iPageHeight; |
99 iKeepWithPrev=EFalse; |
94 iKeepWithPrev=EFalse; |
100 TInt deltaDocPos=iDocPos-iPrevPageBreak; |
95 TInt deltaDocPos=iDocPos-iPrevPageBreak; |
101 if (deltaDocPos<=0) |
|
102 { |
|
103 OstTrace0( TRACE_DUMP, TLINEPAGINATOR_INSERTPAGEBREAKL, "EFInvalidNumberCharsOnPage" ); |
|
104 } |
|
105 __ASSERT_DEBUG(deltaDocPos>0,FormPanic(EFInvalidNumberCharsOnPage)); |
96 __ASSERT_DEBUG(deltaDocPos>0,FormPanic(EFInvalidNumberCharsOnPage)); |
106 iPageList->AppendL(deltaDocPos); |
97 iPageList->AppendL(deltaDocPos); |
107 iPrevPageBreak=iDocPos; |
98 iPrevPageBreak=iDocPos; |
108 } |
99 } |
109 |
100 |