LibreOffice Module vcl (master)  1
Public Member Functions | Public Attributes | List of all members
vcl::PDFWriterImpl::PDFPage Struct Reference

#include <pdfwriter_impl.hxx>

Collaboration diagram for vcl::PDFWriterImpl::PDFPage:

Public Member Functions

 PDFPage (PDFWriterImpl *pWriter, double nPageWidth, double nPageHeight, PDFWriter::Orientation eOrientation)
 ~PDFPage ()
void beginStream ()
void endStream ()
bool emit (sal_Int32 nParentPage)
void appendPoint (const Point &rPoint, OStringBuffer &rBuffer) const
void appendPixelPoint (const basegfx::B2DPoint &rPoint, OStringBuffer &rBuffer) const
void appendRect (const tools::Rectangle &rRect, OStringBuffer &rBuffer) const
void convertRect (tools::Rectangle &rRect) const
void appendPolygon (const tools::Polygon &rPoly, OStringBuffer &rBuffer, bool bClose=true) const
void appendPolygon (const basegfx::B2DPolygon &rPoly, OStringBuffer &rBuffer) const
void appendPolyPolygon (const tools::PolyPolygon &rPolyPoly, OStringBuffer &rBuffer) const
void appendPolyPolygon (const basegfx::B2DPolyPolygon &rPolyPoly, OStringBuffer &rBuffer) const
void appendMappedLength (sal_Int32 nLength, OStringBuffer &rBuffer, bool bVertical=true, sal_Int32 *pOutLength=nullptr) const
void appendMappedLength (double fLength, OStringBuffer &rBuffer, bool bVertical=true, sal_Int32 nPrecision=5) const
bool appendLineInfo (const LineInfo &rInfo, OStringBuffer &rBuffer) const
void appendWaveLine (sal_Int32 nLength, sal_Int32 nYOffset, sal_Int32 nDelta, OStringBuffer &rBuffer) const
double getHeight () const

Public Attributes

VclPtr< PDFWriterImplm_pWriter
double const m_nPageWidth
double const m_nPageHeight
PDFWriter::Orientation const m_eOrientation
sal_Int32 m_nPageObject
std::vector< sal_Int32 > m_aStreamObjects
sal_Int32 m_nStreamLengthObject
sal_uInt64 m_nBeginStreamPos
std::vector< sal_Int32 > m_aAnnotations
std::vector< sal_Int32 > m_aMCIDParents
PDFWriter::PageTransition m_eTransition
sal_uInt32 m_nTransTime

Detailed Description

Definition at line 115 of file pdfwriter_impl.hxx.

Constructor & Destructor Documentation

PDFWriterImpl::PDFPage::PDFPage ( PDFWriterImpl pWriter,
double  nPageWidth,
double  nPageHeight,
PDFWriter::Orientation  eOrientation 

Definition at line 724 of file pdfwriter_impl.cxx.

References m_nPageObject, m_pWriter, and Regular.

PDFWriterImpl::PDFPage::~PDFPage ( )

Definition at line 740 of file pdfwriter_impl.cxx.

Member Function Documentation

bool PDFWriterImpl::PDFPage::appendLineInfo ( const LineInfo rInfo,
OStringBuffer &  rBuffer 
) const

Definition at line 1179 of file pdfwriter_impl.cxx.

References appendDouble(), Dash, and basegfx::NONE.

void PDFWriterImpl::PDFPage::appendMappedLength ( sal_Int32  nLength,
OStringBuffer &  rBuffer,
bool  bVertical = true,
sal_Int32 *  pOutLength = nullptr 
) const
void PDFWriterImpl::PDFPage::appendMappedLength ( double  fLength,
OStringBuffer &  rBuffer,
bool  bVertical = true,
sal_Int32  nPrecision = 5 
) const
void PDFWriterImpl::PDFPage::appendPixelPoint ( const basegfx::B2DPoint rPoint,
OStringBuffer &  rBuffer 
) const
void PDFWriterImpl::PDFPage::appendPoint ( const Point rPoint,
OStringBuffer &  rBuffer 
) const
void PDFWriterImpl::PDFPage::appendPolygon ( const tools::Polygon rPoly,
OStringBuffer &  rBuffer,
bool  bClose = true 
) const
void PDFWriterImpl::PDFPage::appendPolygon ( const basegfx::B2DPolygon rPoly,
OStringBuffer &  rBuffer 
) const
void PDFWriterImpl::PDFPage::appendPolyPolygon ( const tools::PolyPolygon rPolyPoly,
OStringBuffer &  rBuffer 
) const

Definition at line 1137 of file pdfwriter_impl.cxx.

References tools::PolyPolygon::Count().

void PDFWriterImpl::PDFPage::appendPolyPolygon ( const basegfx::B2DPolyPolygon rPolyPoly,
OStringBuffer &  rBuffer 
) const

Definition at line 1144 of file pdfwriter_impl.cxx.

void PDFWriterImpl::PDFPage::appendRect ( const tools::Rectangle rRect,
OStringBuffer &  rBuffer 
) const
void PDFWriterImpl::PDFPage::appendWaveLine ( sal_Int32  nLength,
sal_Int32  nYOffset,
sal_Int32  nDelta,
OStringBuffer &  rBuffer 
) const

Definition at line 1248 of file pdfwriter_impl.cxx.

void PDFWriterImpl::PDFPage::beginStream ( )

Definition at line 744 of file pdfwriter_impl.cxx.

References g_bDebugDisableCompression.

void PDFWriterImpl::PDFPage::convertRect ( tools::Rectangle rRect) const
bool PDFWriterImpl::PDFPage::emit ( sal_Int32  nParentPage)
void PDFWriterImpl::PDFPage::endStream ( )

Definition at line 776 of file pdfwriter_impl.cxx.

References g_bDebugDisableCompression.

double vcl::PDFWriterImpl::PDFPage::getHeight ( ) const

Definition at line 171 of file pdfwriter_impl.hxx.

References vcl::PDFWriterImpl::g_nInheritedPageHeight.

Member Data Documentation

std::vector<sal_Int32> vcl::PDFWriterImpl::PDFPage::m_aAnnotations

Definition at line 125 of file pdfwriter_impl.hxx.

Referenced by vcl::PDFWriterImpl::sortWidgets().

std::vector<sal_Int32> vcl::PDFWriterImpl::PDFPage::m_aMCIDParents

Definition at line 126 of file pdfwriter_impl.hxx.

std::vector<sal_Int32> vcl::PDFWriterImpl::PDFPage::m_aStreamObjects

Definition at line 122 of file pdfwriter_impl.hxx.

PDFWriter::Orientation const vcl::PDFWriterImpl::PDFPage::m_eOrientation

Definition at line 120 of file pdfwriter_impl.hxx.

PDFWriter::PageTransition vcl::PDFWriterImpl::PDFPage::m_eTransition

Definition at line 127 of file pdfwriter_impl.hxx.

sal_uInt64 vcl::PDFWriterImpl::PDFPage::m_nBeginStreamPos

Definition at line 124 of file pdfwriter_impl.hxx.

double const vcl::PDFWriterImpl::PDFPage::m_nPageHeight

Definition at line 119 of file pdfwriter_impl.hxx.

sal_Int32 vcl::PDFWriterImpl::PDFPage::m_nPageObject
double const vcl::PDFWriterImpl::PDFPage::m_nPageWidth

Definition at line 118 of file pdfwriter_impl.hxx.

sal_Int32 vcl::PDFWriterImpl::PDFPage::m_nStreamLengthObject

Definition at line 123 of file pdfwriter_impl.hxx.

sal_uInt32 vcl::PDFWriterImpl::PDFPage::m_nTransTime

Definition at line 128 of file pdfwriter_impl.hxx.

VclPtr<PDFWriterImpl> vcl::PDFWriterImpl::PDFPage::m_pWriter

Definition at line 117 of file pdfwriter_impl.hxx.

Referenced by PDFPage().

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