Lines Matching refs:rObject
9342 bool PDFWriterImpl::writeTransparentObject( TransparencyEmit& rObject ) in writeTransparentObject() argument
9344 CHECK_RETURN( updateObject( rObject.m_nObject ) ); in writeTransparentObject()
9346 bool bFlateFilter = compressStream( rObject.m_pContentStream ); in writeTransparentObject()
9347 rObject.m_pContentStream->Seek( STREAM_SEEK_TO_END ); in writeTransparentObject()
9348 sal_uLong nSize = rObject.m_pContentStream->Tell(); in writeTransparentObject()
9349 rObject.m_pContentStream->Seek( STREAM_SEEK_TO_BEGIN ); in writeTransparentObject()
9354 CHECK_RETURN( updateObject( rObject.m_nObject ) ); in writeTransparentObject()
9355 aLine.append( rObject.m_nObject ); in writeTransparentObject()
9360 appendFixedInt( rObject.m_aBoundRect.Left(), aLine ); in writeTransparentObject()
9362 appendFixedInt( rObject.m_aBoundRect.Top(), aLine ); in writeTransparentObject()
9364 appendFixedInt( rObject.m_aBoundRect.Right(), aLine ); in writeTransparentObject()
9366 appendFixedInt( rObject.m_aBoundRect.Bottom()+1, aLine ); in writeTransparentObject()
9368 if( ! rObject.m_pSoftMaskStream ) in writeTransparentObject()
9396 checkAndEnableStreamEncryption( rObject.m_nObject ); in writeTransparentObject()
9397 CHECK_RETURN( writeBuffer( rObject.m_pContentStream->GetData(), nSize ) ); in writeTransparentObject()
9407 aLine.append( rObject.m_nExtGStateObject ); in writeTransparentObject()
9410 if( ! rObject.m_pSoftMaskStream ) in writeTransparentObject()
9421 appendDouble( rObject.m_fAlpha, aLine ); in writeTransparentObject()
9424 appendDouble( rObject.m_fAlpha, aLine ); in writeTransparentObject()
9437 rObject.m_pSoftMaskStream->Seek( STREAM_SEEK_TO_END ); in writeTransparentObject()
9438 sal_Int32 nMaskSize = (sal_Int32)rObject.m_pSoftMaskStream->Tell(); in writeTransparentObject()
9439 rObject.m_pSoftMaskStream->Seek( STREAM_SEEK_TO_BEGIN ); in writeTransparentObject()
9451 appendFixedInt( rObject.m_aBoundRect.Left(), aMask ); in writeTransparentObject()
9453 appendFixedInt( rObject.m_aBoundRect.Top(), aMask ); in writeTransparentObject()
9455 appendFixedInt( rObject.m_aBoundRect.Right(), aMask ); in writeTransparentObject()
9457 appendFixedInt( rObject.m_aBoundRect.Bottom()+1, aMask ); in writeTransparentObject()
9475 CHECK_RETURN( writeBuffer( rObject.m_pSoftMaskStream->GetData(), nMaskSize ) ); in writeTransparentObject()
9485 CHECK_RETURN( updateObject( rObject.m_nExtGStateObject ) ); in writeTransparentObject()
9491 bool PDFWriterImpl::writeGradientFunction( GradientEmit& rObject ) in writeGradientFunction() argument
9497 aDev.SetOutputSizePixel( rObject.m_aSize ); in writeGradientFunction()
9503 aDev.DrawGradient( Rectangle( Point( 0, 0 ), rObject.m_aSize ), rObject.m_aGradient ); in writeGradientFunction()
9505 Bitmap aSample = aDev.GetBitmap( Point( 0, 0 ), rObject.m_aSize ); in writeGradientFunction()
9574 CHECK_RETURN( updateObject( rObject.m_nObject ) ); in writeGradientFunction()
9576 aLine.append( rObject.m_nObject ); in writeGradientFunction()
9597 bool PDFWriterImpl::writeJPG( JPGEmit& rObject ) in writeJPG() argument
9599 CHECK_RETURN( rObject.m_pStream ); in writeJPG()
9600 CHECK_RETURN( updateObject( rObject.m_nObject ) ); in writeJPG()
9603 rObject.m_pStream->Seek( STREAM_SEEK_TO_END ); in writeJPG()
9604 nLength = rObject.m_pStream->Tell(); in writeJPG()
9605 rObject.m_pStream->Seek( STREAM_SEEK_TO_BEGIN ); in writeJPG()
9608 if( !!rObject.m_aMask ) in writeJPG()
9610 if( rObject.m_aMask.GetBitCount() == 1 || in writeJPG()
9611 …( rObject.m_aMask.GetBitCount() == 8 && m_aContext.Version >= PDFWriter::PDF_1_4 && !m_bIsPDF_A1 )… in writeJPG()
9627 aLine.append( rObject.m_nObject ); in writeJPG()
9630 aLine.append( (sal_Int32)rObject.m_aID.m_aPixelSize.Width() ); in writeJPG()
9632 aLine.append( (sal_Int32)rObject.m_aID.m_aPixelSize.Height() ); in writeJPG()
9634 if( rObject.m_bTrueColor ) in writeJPG()
9642 aLine.append( rObject.m_aMask.GetBitCount() == 1 ? " /Mask " : " /SMask " ); in writeJPG()
9649 checkAndEnableStreamEncryption( rObject.m_nObject ); in writeJPG()
9650 CHECK_RETURN( writeBuffer( rObject.m_pStream->GetData(), nLength ) ); in writeJPG()
9661 if( rObject.m_aMask.GetBitCount() == 1 ) in writeJPG()
9662 aEmit.m_aBitmap = BitmapEx( rObject.m_aMask, rObject.m_aMask ); in writeJPG()
9663 else if( rObject.m_aMask.GetBitCount() == 8 ) in writeJPG()
9664 aEmit.m_aBitmap = BitmapEx( rObject.m_aMask, AlphaMask( rObject.m_aMask ) ); in writeJPG()
9671 bool PDFWriterImpl::writeBitmapObject( BitmapEmit& rObject, bool bMask ) in writeBitmapObject() argument
9673 CHECK_RETURN( updateObject( rObject.m_nObject ) ); in writeBitmapObject()
9680 aBitmap = rObject.m_aBitmap.GetBitmap(); in writeBitmapObject()
9681 if( rObject.m_aBitmap.IsAlpha() ) in writeBitmapObject()
9689 switch( rObject.m_aBitmap.GetTransparentType() ) in writeBitmapObject()
9693 if( aBitmap.GetBitCount() == 1 && rObject.m_bDrawMask ) in writeBitmapObject()
9697 aTransparentColor = rObject.m_aBitmap.GetTransparentColor(); in writeBitmapObject()
9707 if( m_aContext.Version < PDFWriter::PDF_1_4 || ! rObject.m_aBitmap.IsAlpha() ) in writeBitmapObject()
9709 aBitmap = rObject.m_aBitmap.GetMask(); in writeBitmapObject()
9715 aBitmap = rObject.m_aBitmap.GetAlpha().GetBitmap(); in writeBitmapObject()
9748 aLine.append( rObject.m_nObject ); in writeBitmapObject()
9795 enableStringEncryption( rObject.m_nObject ); in writeBitmapObject()
9857 if( rObject.m_aBitmap.IsAlpha() && m_aContext.Version > PDFWriter::PDF_1_3 ) in writeBitmapObject()
9898 checkAndEnableStreamEncryption( rObject.m_nObject ); in writeBitmapObject()
9954 aEmit.m_aBitmap = rObject.m_aBitmap; in writeBitmapObject()