LibreOffice Module sdext (master)  1
Public Member Functions | List of all members
pdfi::ContentSink Struct Referenceabstract

(preliminary) API wrapper around xpdf More...

#include <contentsink.hxx>

Inheritance diagram for pdfi::ContentSink:
[legend]

Public Member Functions

virtual ~ContentSink ()
 
virtual void setPageNum (sal_Int32 nNumPages)=0
 Total number of pages for upcoming document. More...
 
virtual void startPage (const css::geometry::RealSize2D &rSize)=0
 
virtual void endPage ()=0
 
virtual void hyperLink (const css::geometry::RealRectangle2D &rBounds, const OUString &rURI)=0
 
virtual void pushState ()=0
 
virtual void popState ()=0
 
virtual void setFlatness (double)=0
 
virtual void setTransformation (const css::geometry::AffineMatrix2D &rMatrix)=0
 
virtual void setLineDash (const css::uno::Sequence< double > &dashes, double start)=0
 
virtual void setLineJoin (sal_Int8 lineJoin)=0
 
virtual void setLineCap (sal_Int8 lineCap)=0
 
virtual void setMiterLimit (double)=0
 
virtual void setLineWidth (double)=0
 
virtual void setFillColor (const css::rendering::ARGBColor &rColor)=0
 
virtual void setStrokeColor (const css::rendering::ARGBColor &rColor)=0
 
virtual void setFont (const FontAttributes &rFont)=0
 
virtual void setTextRenderMode (sal_Int32)=0
 
virtual void strokePath (const css::uno::Reference< css::rendering::XPolyPolygon2D > &rPath)=0
 
virtual void fillPath (const css::uno::Reference< css::rendering::XPolyPolygon2D > &rPath)=0
 
virtual void eoFillPath (const css::uno::Reference< css::rendering::XPolyPolygon2D > &rPath)=0
 
virtual void intersectClip (const css::uno::Reference< css::rendering::XPolyPolygon2D > &rPath)=0
 
virtual void intersectEoClip (const css::uno::Reference< css::rendering::XPolyPolygon2D > &rPath)=0
 
virtual void drawGlyphs (const OUString &rGlyphs, const css::geometry::RealRectangle2D &rRect, const css::geometry::Matrix2D &rFontMatrix, double fontSize)=0
 
virtual void endText ()=0
 issued when a sequence of associated glyphs is drawn More...
 
virtual void drawMask (const css::uno::Sequence< css::beans::PropertyValue > &xBitmap, bool bInvert)=0
 draws given bitmap as a mask (using current fill color) More...
 
virtual void drawImage (const css::uno::Sequence< css::beans::PropertyValue > &xBitmap)=0
 Given image must already be color-mapped and normalized to sRGB. More...
 
virtual void drawColorMaskedImage (const css::uno::Sequence< css::beans::PropertyValue > &xBitmap, const css::uno::Sequence< css::uno::Any > &xMaskColors)=0
 Given image must already be color-mapped and normalized to sRGB. More...
 
virtual void drawMaskedImage (const css::uno::Sequence< css::beans::PropertyValue > &xBitmap, const css::uno::Sequence< css::beans::PropertyValue > &xMask, bool bInvertMask)=0
 
virtual void drawAlphaMaskedImage (const css::uno::Sequence< css::beans::PropertyValue > &xImage, const css::uno::Sequence< css::beans::PropertyValue > &xMask)=0
 

Detailed Description

(preliminary) API wrapper around xpdf

Wraps the functionality currently used from xpdf's OutputDev interface. Subject to change.

Definition at line 100 of file contentsink.hxx.

Constructor & Destructor Documentation

virtual pdfi::ContentSink::~ContentSink ( )
inlinevirtual

Definition at line 102 of file contentsink.hxx.

Member Function Documentation

virtual void pdfi::ContentSink::drawAlphaMaskedImage ( const css::uno::Sequence< css::beans::PropertyValue > &  xImage,
const css::uno::Sequence< css::beans::PropertyValue > &  xMask 
)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::drawColorMaskedImage ( const css::uno::Sequence< css::beans::PropertyValue > &  xBitmap,
const css::uno::Sequence< css::uno::Any > &  xMaskColors 
)
pure virtual

Given image must already be color-mapped and normalized to sRGB.

maskColors must contain two sequences of color components

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::drawGlyphs ( const OUString &  rGlyphs,
const css::geometry::RealRectangle2D &  rRect,
const css::geometry::Matrix2D &  rFontMatrix,
double  fontSize 
)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::drawImage ( const css::uno::Sequence< css::beans::PropertyValue > &  xBitmap)
pure virtual

Given image must already be color-mapped and normalized to sRGB.

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::drawMask ( const css::uno::Sequence< css::beans::PropertyValue > &  xBitmap,
bool  bInvert 
)
pure virtual

draws given bitmap as a mask (using current fill color)

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::drawMaskedImage ( const css::uno::Sequence< css::beans::PropertyValue > &  xBitmap,
const css::uno::Sequence< css::beans::PropertyValue > &  xMask,
bool  bInvertMask 
)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::endPage ( )
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::endText ( )
pure virtual

issued when a sequence of associated glyphs is drawn

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::eoFillPath ( const css::uno::Reference< css::rendering::XPolyPolygon2D > &  rPath)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::fillPath ( const css::uno::Reference< css::rendering::XPolyPolygon2D > &  rPath)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::hyperLink ( const css::geometry::RealRectangle2D &  rBounds,
const OUString &  rURI 
)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::intersectClip ( const css::uno::Reference< css::rendering::XPolyPolygon2D > &  rPath)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::intersectEoClip ( const css::uno::Reference< css::rendering::XPolyPolygon2D > &  rPath)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::popState ( )
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::pushState ( )
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setFillColor ( const css::rendering::ARGBColor &  rColor)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setFlatness ( double  )
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setFont ( const FontAttributes rFont)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setLineCap ( sal_Int8  lineCap)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setLineDash ( const css::uno::Sequence< double > &  dashes,
double  start 
)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setLineJoin ( sal_Int8  lineJoin)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setLineWidth ( double  )
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setMiterLimit ( double  )
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setPageNum ( sal_Int32  nNumPages)
pure virtual

Total number of pages for upcoming document.

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setStrokeColor ( const css::rendering::ARGBColor &  rColor)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setTextRenderMode ( sal_Int32  )
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::setTransformation ( const css::geometry::AffineMatrix2D &  rMatrix)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::startPage ( const css::geometry::RealSize2D &  rSize)
pure virtual

Implemented in pdfi::PDFIProcessor.

virtual void pdfi::ContentSink::strokePath ( const css::uno::Reference< css::rendering::XPolyPolygon2D > &  rPath)
pure virtual

Implemented in pdfi::PDFIProcessor.


The documentation for this struct was generated from the following file: