• Muhammet Kara's avatar
    Support bitmap PDF export for Redaction · 51af3179
    Muhammet Kara yazdı
    * Add a new parameter IsRedactMode (SID_IS_REDACT_MODE) to .uno:ExportDirectToPDF
    * Make sure the new param makes it into PDFExport as part of FilterData
    * Hijack the metafile before being sent to ImplExportPage(), convert to bitmap, and replace the original
    * Add a new entry to GenericCommands.xcu to make our button with param visible
    
    * Nitpick: For things to be included in the bitmap conversion,
               they need to be added to the metafile before the conversion
               in PDFExport::ExportSelection(). Things added after that point
               (inside ImplExportPage() for example) will not be bitmapped/pixelized
    
    Change-Id: Iec7020917da920a968ea969b98e53f17eadaa275
    Reviewed-on: https://gerrit.libreoffice.org/67108
    Tested-by: Jenkins
    Reviewed-by: 's avatarMuhammet Kara <muhammet.kara@collabora.com>
    51af3179
pdfexport.hxx 5.23 KB