(preliminary) API wrapper around xpdf
More...
#include <contentsink.hxx>
|
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 |
|
(preliminary) API wrapper around xpdf
Wraps the functionality currently used from xpdf's OutputDev interface. Subject to change.
Definition at line 101 of file contentsink.hxx.
◆ ~ContentSink()
virtual pdfi::ContentSink::~ContentSink |
( |
| ) |
|
|
inlinevirtual |
◆ drawAlphaMaskedImage()
virtual void pdfi::ContentSink::drawAlphaMaskedImage |
( |
const css::uno::Sequence< css::beans::PropertyValue > & |
xImage, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
xMask |
|
) |
| |
|
pure virtual |
◆ drawColorMaskedImage()
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.
◆ drawGlyphs()
virtual void pdfi::ContentSink::drawGlyphs |
( |
const OUString & |
rGlyphs, |
|
|
const css::geometry::RealRectangle2D & |
rRect, |
|
|
const css::geometry::Matrix2D & |
rFontMatrix, |
|
|
double |
fontSize |
|
) |
| |
|
pure virtual |
◆ drawImage()
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.
◆ drawMask()
virtual void pdfi::ContentSink::drawMask |
( |
const css::uno::Sequence< css::beans::PropertyValue > & |
xBitmap, |
|
|
bool |
bInvert |
|
) |
| |
|
pure virtual |
◆ drawMaskedImage()
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 |
◆ endPage()
virtual void pdfi::ContentSink::endPage |
( |
| ) |
|
|
pure virtual |
◆ endText()
virtual void pdfi::ContentSink::endText |
( |
| ) |
|
|
pure virtual |
◆ eoFillPath()
virtual void pdfi::ContentSink::eoFillPath |
( |
const css::uno::Reference< css::rendering::XPolyPolygon2D > & |
rPath | ) |
|
|
pure virtual |
◆ fillPath()
virtual void pdfi::ContentSink::fillPath |
( |
const css::uno::Reference< css::rendering::XPolyPolygon2D > & |
rPath | ) |
|
|
pure virtual |
◆ hyperLink()
virtual void pdfi::ContentSink::hyperLink |
( |
const css::geometry::RealRectangle2D & |
rBounds, |
|
|
const OUString & |
rURI |
|
) |
| |
|
pure virtual |
◆ intersectClip()
virtual void pdfi::ContentSink::intersectClip |
( |
const css::uno::Reference< css::rendering::XPolyPolygon2D > & |
rPath | ) |
|
|
pure virtual |
◆ intersectEoClip()
virtual void pdfi::ContentSink::intersectEoClip |
( |
const css::uno::Reference< css::rendering::XPolyPolygon2D > & |
rPath | ) |
|
|
pure virtual |
◆ popState()
virtual void pdfi::ContentSink::popState |
( |
| ) |
|
|
pure virtual |
◆ pushState()
virtual void pdfi::ContentSink::pushState |
( |
| ) |
|
|
pure virtual |
◆ setFillColor()
virtual void pdfi::ContentSink::setFillColor |
( |
const css::rendering::ARGBColor & |
rColor | ) |
|
|
pure virtual |
◆ setFlatness()
virtual void pdfi::ContentSink::setFlatness |
( |
double |
| ) |
|
|
pure virtual |
◆ setFont()
virtual void pdfi::ContentSink::setFont |
( |
const FontAttributes & |
rFont | ) |
|
|
pure virtual |
◆ setLineCap()
virtual void pdfi::ContentSink::setLineCap |
( |
sal_Int8 |
lineCap | ) |
|
|
pure virtual |
◆ setLineDash()
virtual void pdfi::ContentSink::setLineDash |
( |
const css::uno::Sequence< double > & |
dashes, |
|
|
double |
start |
|
) |
| |
|
pure virtual |
◆ setLineJoin()
virtual void pdfi::ContentSink::setLineJoin |
( |
sal_Int8 |
lineJoin | ) |
|
|
pure virtual |
◆ setLineWidth()
virtual void pdfi::ContentSink::setLineWidth |
( |
double |
| ) |
|
|
pure virtual |
◆ setMiterLimit()
virtual void pdfi::ContentSink::setMiterLimit |
( |
double |
| ) |
|
|
pure virtual |
◆ setPageNum()
virtual void pdfi::ContentSink::setPageNum |
( |
sal_Int32 |
nNumPages | ) |
|
|
pure virtual |
◆ setStrokeColor()
virtual void pdfi::ContentSink::setStrokeColor |
( |
const css::rendering::ARGBColor & |
rColor | ) |
|
|
pure virtual |
◆ setTextRenderMode()
virtual void pdfi::ContentSink::setTextRenderMode |
( |
sal_Int32 |
| ) |
|
|
pure virtual |
◆ setTransformation()
virtual void pdfi::ContentSink::setTransformation |
( |
const css::geometry::AffineMatrix2D & |
rMatrix | ) |
|
|
pure virtual |
◆ startPage()
virtual void pdfi::ContentSink::startPage |
( |
const css::geometry::RealSize2D & |
rSize | ) |
|
|
pure virtual |
◆ strokePath()
virtual void pdfi::ContentSink::strokePath |
( |
const css::uno::Reference< css::rendering::XPolyPolygon2D > & |
rPath | ) |
|
|
pure virtual |
The documentation for this struct was generated from the following file: