26 PDFWriter::AnyWidget::~AnyWidget()
78 xImplementation->drawTextLine( rPos, nWidth, eStrikeout, eUnderline, eOverline,
false );
82 const Point& rStartPt,
92 const Point& rStartPt,
98 xImplementation->drawStretchText( rStartPt, nWidth, rStr, nIndex, nLen );
103 const OUString& rStr,
329 xImplementation->drawJPGBitmap( rStreamData, bIsTrueColor, rSrcSizePixel, rTargetArea, rAlphaMask, rGraphic );
344 return xImplementation->registerDestReference( nDestId, rRect, nPageNr, eType );
349 return xImplementation->createNamedDest( sDestName, rRect, nPageNr, eType );
455 css::uno::Reference< css::beans::XMaterialHolder >
457 const OUString& i_rUserPassword
void DrawTransparent(const tools::PolyPolygon &rPolyPoly, sal_uInt16 nTransparencePercent)
void DrawChord(const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
void DrawPie(const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
void DrawBitmapEx(const Point &rDestPt, const Size &rDestSize, const BitmapEx &rBitmapEx)
void DrawPolygon(const tools::Polygon &rPoly)
void SetPageTransition(PageTransition eType, sal_uInt32 nMilliSec, sal_Int32 nPageNr)
Sets the transitional effect to be applied when the current page gets shown.
void DrawTextLine(const Point &rPos, tools::Long nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline)
A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for refer...
void SetDigitLanguage(LanguageType eLang)
void DrawEllipse(const tools::Rectangle &rRect)
sal_Int32 BeginStructureElement(enum StructElement eType, const OUString &rAlias)
begin a new logical structure element
void SetActualText(const OUString &rText)
set the ActualText attribute of a structural element
static css::uno::Reference< css::beans::XMaterialHolder > InitEncryption(const OUString &i_rOwnerPassword, const OUString &i_rUserPassword)
void SetFont(const vcl::Font &rNewFont)
void SetStructureBoundingBox(const tools::Rectangle &rRect)
set the bounding box of a structural element
void DrawPolyLine(const tools::Polygon &rPoly)
void DrawLine(const Point &rStartPt, const Point &rEndPt)
void SetLinkPropertyID(sal_Int32 nLinkId, sal_Int32 nPropertyID)
Resolve link in logical structure.
Play a metafile like an outputdevice would do.
void DrawRect(const tools::Rectangle &rRect)
void SetLayoutMode(vcl::text::ComplexTextLayoutFlags nMode)
void EndStructureElement()
end the current logical structure element
void DrawPolyPolygon(const tools::PolyPolygon &rPolyPoly)
sal_Int32 CreateNamedDest(const OUString &sDestName, const tools::Rectangle &rRect, sal_Int32 nPageNr, DestAreaType eType)
Create a new named destination to be used in a link from another PDF document.
PDFWriter(const PDFWriter &)=delete
void DrawStretchText(const Point &rStartPt, sal_uLong nWidth, const OUString &rStr, sal_Int32 nIndex, sal_Int32 nLen)
void DrawGradient(const tools::Rectangle &rRect, const Gradient &rGradient)
void PlayMetafile(const GDIMetaFile &, const PlayMetafileContext &, vcl::PDFExtOutDevData *pDevDat=nullptr)
std::set< ErrorCode > const & GetErrors() const
void DrawArc(const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
void NewPage(double nPageWidth, double nPageHeight, Orientation eOrientation=Orientation::Inherit)
Creates a new page to fill If width and height are not set the page size is inherited from the page t...
void SetAlternateText(const OUString &rText)
set the Alt attribute of a strutural element
void BeginTransparencyGroup()
Start a transparency group.
void SetLinkDest(sal_Int32 nLinkId, sal_Int32 nDestId)
Set the destination for a link will change a URL type link to a dest link if necessary.
void EndTransparencyGroup(const tools::Rectangle &rBoundRect, sal_uInt16 nTransparencePercent)
End a transparency group with constant transparency factor.
void SetTextAlign(::TextAlign eAlign)
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
void SetStructureAttributeNumerical(enum StructAttribute eAttr, sal_Int32 nValue)
set a structure attribute on the current structural element
virtual ~PDFOutputStream()
void AddStream(const OUString &rMimeType, PDFOutputStream *pStream)
Inserts an additional stream to the PDF file.
void Push(PushFlags nFlags=PushFlags::ALL)
void SetMapMode(const MapMode &rNewMapMode)
void DrawBitmap(const Point &rDestPt, const Size &rDestSize, const Bitmap &rBitmap, const Graphic &rGraphic)
sal_Int32 RegisterDestReference(sal_Int32 nDestId, const tools::Rectangle &rRect, sal_Int32 nPageNr, DestAreaType eType)
creates a destination which is not intended to be referred to by a link, but by a public destination ...
void IntersectClipRegion(const tools::Rectangle &rRect)
void DrawTextArray(const Point &rStartPt, const OUString &rStr, o3tl::span< const sal_Int32 > pDXAry, sal_Int32 nIndex, sal_Int32 nLen)
void SetDocumentLocale(const css::lang::Locale &rDocLocale)
sal_Int32 CreateControl(const AnyWidget &rControlType)
create a new form control
void DrawHatch(const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch)
void SetStructureAttribute(enum StructAttribute eAttr, enum StructAttributeValue eVal)
set a structure attribute on the current structural element
OutputDevice * GetReferenceDevice()
Returns an OutputDevice for formatting This Output device is guaranteed to use the same font metrics ...
sal_Int32 CreateLink(const tools::Rectangle &rRect, sal_Int32 nPageNr)
Create a new link on a page.
void SetScreenURL(sal_Int32 nScreenId, const OUString &rURL)
Sets the URL of a linked screen annotation.
void DrawJPGBitmap(SvStream &rJPGData, bool bIsTrueColor, const Size &rSrcSizePixel, const tools::Rectangle &rTargetArea, const AlphaMask &rAlphaMask, const Graphic &rGraphic)
Insert a JPG encoded image (optionally with mask)
void SetLinkURL(sal_Int32 nLinkId, const OUString &rURL)
Set the URL for a link will change a dest type link to a URL type link if necessary.
ScopedVclPtr< PDFWriterImpl > xImplementation
void SetTextColor(const Color &rColor)
void DrawText(const Point &rPos, const OUString &rText)
void DrawPixel(const Point &rPt, const Color &rColor)
void DrawWallpaper(const tools::Rectangle &rRect, const Wallpaper &rWallpaper)
sal_Int32 CreateDest(const tools::Rectangle &rRect, sal_Int32 nPageNr, DestAreaType eType)
Create a new destination to be used in a link.
sal_Int32 CreateOutlineItem(sal_Int32 nParent, std::u16string_view rText, sal_Int32 nDestID)
Create a new outline item.
void MoveClipRegion(tools::Long nHorzMove, tools::Long nVertMove)
void CreateNote(const tools::Rectangle &rRect, const PDFNote &rNote, sal_Int32 nPageNr)
Create a new note on a page.
sal_Int32 CreateScreen(const tools::Rectangle &rRect, sal_Int32 nPageNr)
Creates a screen annotation.
static css::uno::Reference< css::beans::XMaterialHolder > initEncryption(const OUString &i_rOwnerPassword, const OUString &i_rUserPassword)
void SetScreenStream(sal_Int32 nScreenId, const OUString &rURL)
Sets the URL of an embedded screen annotation.
void SetCurrentStructureElement(sal_Int32 nElement)
set the current structure element