Lines Matching refs:r

132 	void testSimple( const Reference< XExtendedDocumentHandler > &r );
133 void testExceptions( const Reference< XExtendedDocumentHandler > &r );
134 void testDTD( const Reference< XExtendedDocumentHandler > &r );
135 void testPerformance( const Reference< XExtendedDocumentHandler > &r );
136 void writeParagraph( const Reference< XExtendedDocumentHandler > &r , const OUString & s);
215 AttributeListImpl::AttributeListImpl( const AttributeListImpl &r ) in AttributeListImpl() argument
218 *m_pImpl = *(r.m_pImpl); in AttributeListImpl()
441 const Reference< XExtendedDocumentHandler > &r , in writeParagraph()
452 r->allowLineBreak(); in writeParagraph()
453 r->characters( s.copy( nStart , n - nStart ) ); in writeParagraph()
457 r->allowLineBreak(); in writeParagraph()
458 r->characters( s.copy( nStart , n - nStart ) ); in writeParagraph()
463 void OSaxWriterTest::testSimple( const Reference< XExtendedDocumentHandler > &r ) in testSimple() argument
476 Reference< XActiveDataSource > source( r , UNO_QUERY ); in testSimple()
483 r->startDocument(); in testSimple()
492 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("tag1")) , rList ); in testSimple()
493 r->ignorableWhitespace( OUString() ); in testSimple()
495 r->characters( OUString( RTL_CONSTASCII_USTRINGPARAM("huhu")) ); in testSimple()
496 r->ignorableWhitespace( OUString() ); in testSimple()
498 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("hi")) , rList ); in testSimple()
499 r->ignorableWhitespace( OUString() ); in testSimple()
502 r->characters( OUString( RTL_CONSTASCII_USTRINGPARAM("&#252;")) ); in testSimple()
505 r->ignorableWhitespace( OUString() ); in testSimple()
511 r->characters( in testSimple()
514 r->ignorableWhitespace( OUString() ); in testSimple()
517 r->startCDATA(); in testSimple()
518 r->characters( OUString( RTL_CONSTASCII_USTRINGPARAM(">fsfsdf<")) ); in testSimple()
519 r->endCDATA(); in testSimple()
520 r->ignorableWhitespace( OUString() ); in testSimple()
522 writeParagraph( r , testParagraph ); in testSimple()
525 r->ignorableWhitespace( OUString() ); in testSimple()
526 r->comment( OUString( RTL_CONSTASCII_USTRINGPARAM("Dies ist ein Kommentar !")) ); in testSimple()
527 r->ignorableWhitespace( OUString() ); in testSimple()
529 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("emptytagtest")) , rList ); in testSimple()
530 r->endElement( OUString( RTL_CONSTASCII_USTRINGPARAM("emptytagtest")) ); in testSimple()
532 r->endElement( OUString( RTL_CONSTASCII_USTRINGPARAM("hi")) ); in testSimple()
533 r->ignorableWhitespace( OUString() ); in testSimple()
535 r->endElement( OUString( RTL_CONSTASCII_USTRINGPARAM("tag1")) ); in testSimple()
536 r->endDocument(); in testSimple()
540 void OSaxWriterTest::testExceptions( const Reference< XExtendedDocumentHandler > & r ) in testExceptions() argument
549 Reference< XActiveDataSource > source( r , UNO_QUERY ); in testExceptions()
560 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("huhu")) , rList ); in testExceptions()
570 r->startDocument(); in testExceptions()
572 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("huhu")) , rList ); in testExceptions()
573 r->startCDATA(); in testExceptions()
578 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("huhu")) , rList ); in testExceptions()
587 r->endCDATA(); in testExceptions()
594 r->characters( o ); in testExceptions()
602 r->endElement( OUString( RTL_CONSTASCII_USTRINGPARAM("huhu")) ); in testExceptions()
604 r->endDocument(); in testExceptions()
608 void OSaxWriterTest::testDTD(const Reference< XExtendedDocumentHandler > &r ) in testDTD() argument
616 Reference< XActiveDataSource > source( r , UNO_QUERY ); in testDTD()
624 r->startDocument(); in testDTD()
625 r->unknown( OUString( RTL_CONSTASCII_USTRINGPARAM("<!DOCTYPE iCalendar >\n")) ); in testDTD()
626 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("huhu")) , rList ); in testDTD()
628 r->endElement( OUString( RTL_CONSTASCII_USTRINGPARAM("huhu")) ); in testDTD()
629 r->endDocument(); in testDTD()
632 void OSaxWriterTest::testPerformance(const Reference< XExtendedDocumentHandler > &r ) in testPerformance() argument
647 Reference< XActiveDataSource > source( r , UNO_QUERY ); in testPerformance()
658 r->startDocument(); in testPerformance()
667 r->startElement( OUString( RTL_CONSTASCII_USTRINGPARAM("tag") ) + in testPerformance()
671 r->ignorableWhitespace( emptyString ); in testPerformance()
672 r->startElement( huhu , rList ); in testPerformance()
673 r->characters( testParagraph ); in testPerformance()
675 r->ignorableWhitespace( emptyString ); in testPerformance()
676 r->endElement( huhu ); in testPerformance()
681 r->ignorableWhitespace( emptyString ); in testPerformance()
682 r->endElement( OUString( RTL_CONSTASCII_USTRINGPARAM("tag") ) + OUString::valueOf( i2 ) ); in testPerformance()
685 r->endDocument(); in testPerformance()