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

Contains information to emit a reference XObject. More...

#include <pdfwriter_impl.hxx>

Collaboration diagram for vcl::pdf::ReferenceXObjectEmit:
[legend]

Public Member Functions

 ReferenceXObjectEmit ()
 
sal_Int32 getObject () const
 Returns the ID one should use when referring to this bitmap. More...
 
bool hasExternalPDFData () const
 

Public Attributes

sal_Int32 m_nFormObject
 ID of the Form XObject, if any. More...
 
sal_Int32 m_nEmbeddedObject
 ID of the vector/embedded object, if m_nFormObject is used. More...
 
sal_Int32 m_nBitmapObject
 ID of the bitmap object, if m_nFormObject is used. More...
 
Size m_aPixelSize
 Size of the bitmap replacement, in pixels. More...
 
sal_Int32 m_nExternalPDFDataIndex
 PDF data from the graphic object, if not writing a reference XObject. More...
 
sal_Int32 m_nExternalPDFPageIndex
 

Detailed Description

Contains information to emit a reference XObject.

Definition at line 186 of file pdfwriter_impl.hxx.

Constructor & Destructor Documentation

◆ ReferenceXObjectEmit()

vcl::pdf::ReferenceXObjectEmit::ReferenceXObjectEmit ( )
inline

Definition at line 200 of file pdfwriter_impl.hxx.

Member Function Documentation

◆ getObject()

sal_Int32 vcl::ReferenceXObjectEmit::getObject ( ) const

Returns the ID one should use when referring to this bitmap.

Definition at line 11872 of file pdfwriter_impl.cxx.

References m_nBitmapObject, and m_nFormObject.

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

◆ hasExternalPDFData()

bool vcl::pdf::ReferenceXObjectEmit::hasExternalPDFData ( ) const
inline

Member Data Documentation

◆ m_aPixelSize

Size vcl::pdf::ReferenceXObjectEmit::m_aPixelSize

Size of the bitmap replacement, in pixels.

Definition at line 195 of file pdfwriter_impl.hxx.

Referenced by vcl::PDFWriterImpl::createEmbeddedFile(), and vcl::PDFWriterImpl::writeReferenceXObject().

◆ m_nBitmapObject

sal_Int32 vcl::pdf::ReferenceXObjectEmit::m_nBitmapObject

ID of the bitmap object, if m_nFormObject is used.

Definition at line 193 of file pdfwriter_impl.hxx.

Referenced by vcl::PDFWriterImpl::createEmbeddedFile(), getObject(), and vcl::PDFWriterImpl::writeReferenceXObject().

◆ m_nEmbeddedObject

sal_Int32 vcl::pdf::ReferenceXObjectEmit::m_nEmbeddedObject

ID of the vector/embedded object, if m_nFormObject is used.

Definition at line 191 of file pdfwriter_impl.hxx.

Referenced by vcl::PDFWriterImpl::createEmbeddedFile(), and vcl::PDFWriterImpl::writeReferenceXObject().

◆ m_nExternalPDFDataIndex

sal_Int32 vcl::pdf::ReferenceXObjectEmit::m_nExternalPDFDataIndex

PDF data from the graphic object, if not writing a reference XObject.

Definition at line 197 of file pdfwriter_impl.hxx.

Referenced by vcl::PDFWriterImpl::createEmbeddedFile(), hasExternalPDFData(), and vcl::PDFWriterImpl::writeReferenceXObject().

◆ m_nExternalPDFPageIndex

sal_Int32 vcl::pdf::ReferenceXObjectEmit::m_nExternalPDFPageIndex

◆ m_nFormObject

sal_Int32 vcl::pdf::ReferenceXObjectEmit::m_nFormObject

ID of the Form XObject, if any.

Definition at line 189 of file pdfwriter_impl.hxx.

Referenced by vcl::PDFWriterImpl::createEmbeddedFile(), getObject(), and vcl::PDFWriterImpl::writeReferenceXObject().


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