Lines Matching refs:rElem

111 void WriterXmlEmitter::fillFrameProps( DrawElement&       rElem,   in fillFrameProps()  argument
115 double rel_x = rElem.x, rel_y = rElem.y; in fillFrameProps()
118 Element* pAnchor = rElem.Parent; in fillFrameProps()
130 rElem.isCharacter ? USTR( "character" ) : USTR( "paragraph" ); in fillFrameProps()
142 rProps[ USTR( "draw:z-index" ) ] = rtl::OUString::valueOf( rElem.ZOrder ); in fillFrameProps()
143 rProps[ USTR( "draw:style-name" )] = rEmitContext.rStyles.getStyleName( rElem.StyleId ); in fillFrameProps()
144 rProps[ USTR( "svg:width" ) ] = convertPixelToUnitString( rElem.w ); in fillFrameProps()
145 rProps[ USTR( "svg:height" ) ] = convertPixelToUnitString( rElem.h ); in fillFrameProps()
148 rEmitContext.rProcessor.getGraphicsContext( rElem.GCId ); in fillFrameProps()
151 if( !rElem.isCharacter ) in fillFrameProps()
185 if( ! rElem.isCharacter ) in fillFrameProps()
655 void WriterXmlOptimizer::checkHeaderAndFooter( PageElement& rElem ) in checkHeaderAndFooter() argument
669 std::list< Element* >::iterator it = rElem.Children.begin(); in checkHeaderAndFooter()
670 while( it != rElem.Children.end() ) in checkHeaderAndFooter()
675 if( pPara->y+pPara->h < rElem.h*0.15 && pPara->isSingleLined( m_rProcessor ) ) in checkHeaderAndFooter()
679 while( ++next_it != rElem.Children.end() && pNextPara == NULL ) in checkHeaderAndFooter()
685 rElem.HeaderElement = pPara; in checkHeaderAndFooter()
687 rElem.Children.remove( pPara ); in checkHeaderAndFooter()
696 std::list< Element* >::reverse_iterator rit = rElem.Children.rbegin(); in checkHeaderAndFooter()
697 while( rit != rElem.Children.rend() ) in checkHeaderAndFooter()
702 if( pPara->y > rElem.h*0.85 && pPara->isSingleLined( m_rProcessor ) ) in checkHeaderAndFooter()
706 while( ++next_it != rElem.Children.rend() && pNextPara == NULL ) in checkHeaderAndFooter()
712 rElem.FooterElement = pPara; in checkHeaderAndFooter()
714 rElem.Children.remove( pPara ); in checkHeaderAndFooter()
1046 void WriterXmlFinalizer::setFirstOnPage( ParagraphElement& rElem, in setFirstOnPage() argument
1051 if( rElem.StyleId != -1 ) in setFirstOnPage()
1053 const PropertyMap* pProps = rStyles.getProperties( rElem.StyleId ); in setFirstOnPage()
1061 if( rElem.StyleId != -1 ) in setFirstOnPage()
1062 rElem.StyleId = rStyles.setProperties( rElem.StyleId, aProps ); in setFirstOnPage()
1066 rElem.StyleId = rStyles.getStyleId( aStyle ); in setFirstOnPage()