Searched refs:top_margin (Results 1 – 2 of 2) sorted by relevance
1106 double top_margin = convPx2mm( elem.TopMargin ); in visit() local1113 top_margin = 10; in visit()1119 top_margin = rtl_math_round( top_margin, 0, rtl_math_RoundingMode_Floor ); in visit()1130 if( top_margin > page_height/2.0 - 10 ) in visit()1131 top_margin = 10; in visit()1140 if( top_margin < 0 ) in visit()1141 top_margin = 0; in visit()1151 elem.TopMargin = convmm2Px( top_margin ); in visit()1162 aPageLayoutProps[ USTR( "fo:margin-top" ) ] = unitMMString( top_margin ); in visit()
1026 double top_margin = convPx2mm( elem.TopMargin ); in visit() local1031 top_margin = rtl_math_round( top_margin, 0, rtl_math_RoundingMode_Floor ); in visit()1042 if( top_margin > page_height/2.0 - 10 ) in visit()1043 top_margin = 10; in visit()1052 if( top_margin < 0 ) in visit()1053 top_margin = 0; in visit()1063 elem.TopMargin = convmm2Px( top_margin ); in visit()1070 aPageLayoutProps[ USTR( "fo:margin-top" ) ] = unitMMString( top_margin ); in visit()
Completed in 38 milliseconds