LibreOffice Module vcl (master) 1
Classes | Namespaces | Macros | Typedefs | Functions | Variables
pdfwriter_impl.cxx File Reference
#include <sal/config.h>
#include <config_crypto.h>
#include <sal/types.h>
#include <math.h>
#include <algorithm>
#include <string_view>
#include <lcms2.h>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <memory>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <comphelper/xmlencode.hxx>
#include <cppuhelper/implbase.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <o3tl/numeric.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/temporary.hxx>
#include <officecfg/Office/Common.hxx>
#include <osl/file.hxx>
#include <osl/thread.h>
#include <rtl/digest.h>
#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <svl/cryptosign.hxx>
#include <sal/log.hxx>
#include <svl/urihelper.hxx>
#include <tools/fract.hxx>
#include <tools/stream.hxx>
#include <tools/helpers.hxx>
#include <tools/urlobj.hxx>
#include <tools/UnitConversion.hxx>
#include <tools/zcodec.hxx>
#include <unotools/configmgr.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/canvastools.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/fontcharmap.hxx>
#include <vcl/glyphitemcache.hxx>
#include <vcl/kernarray.hxx>
#include <vcl/lineinfo.hxx>
#include <vcl/metric.hxx>
#include <vcl/mnemonic.hxx>
#include <vcl/settings.hxx>
#include <strhelper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <vcl/filter/pdfdocument.hxx>
#include <vcl/filter/PngImageReader.hxx>
#include <comphelper/hash.hxx>
#include <svdata.hxx>
#include <bitmap/BitmapWriteAccess.hxx>
#include <fontsubset.hxx>
#include <font/EmphasisMark.hxx>
#include <font/PhysicalFontFace.hxx>
#include <salgdi.hxx>
#include <textlayout.hxx>
#include <textlineinfo.hxx>
#include <impglyphitem.hxx>
#include <pdf/XmpMetadata.hxx>
#include <pdf/objectcopier.hxx>
#include <pdf/pdfwriter_impl.hxx>
#include <pdf/PdfConfig.hxx>
#include <o3tl/sorted_vector.hxx>
#include <frozen/bits/defines.h>
#include <frozen/bits/elsa_std.h>
#include <frozen/map.h>
Include dependency graph for pdfwriter_impl.cxx:

Go to the source code of this file.

Classes

class  vcl::PDFStreamIf
 

Namespaces

namespace  vcl
 

Macros

#define CHECK_RETURN(x)   if( !(x) ) return 0
 
#define CHECK_RETURN2(x)   if( !(x) ) return
 
#define CHECK_RETURN(x)   if( !x ) return false
 
#define CHECK_RETURN(x)   if( !x ) return false
 
#define HCONV(x)   ImplDevicePixelToLogicHeight( x )
 

Typedefs

typedef int vcl::ThreeInts[3]
 

Functions

static OString vcl::GenerateID (sal_Int32 const nObjectId)
 
static void vcl::appendStructureAttributeLine (PDFWriter::StructAttribute i_eAttr, const PDFStructureAttribute &i_rVal, OStringBuffer &o_rLine, bool i_bIsFixedInt)
 
static bool vcl::getPfbSegmentLengths (const unsigned char *pFontBytes, int nByteLen, ThreeInts &rSegmentLengths)
 
static void vcl::appendSubsetName (int nSubsetID, std::u16string_view rPSName, OStringBuffer &rBuffer)
 
static const Colorvcl::replaceColor (const Color &rCol1, const Color &rCol2)
 
static void vcl::lcl_assignMeta (std::u16string_view aValue, OString &aMeta)
 
static double vcl::calcAngle (const tools::Rectangle &rRect, const Point &rPoint)
 

Variables

static bool g_bDebugDisableCompression = getenv("VCL_DEBUG_DISABLE_PDFCOMPRESSION")
 

Macro Definition Documentation

◆ CHECK_RETURN [1/3]

#define CHECK_RETURN (   x)    if( !(x) ) return 0

Definition at line 5158 of file pdfwriter_impl.cxx.

◆ CHECK_RETURN [2/3]

#define CHECK_RETURN (   x)    if( !x ) return false

Definition at line 5158 of file pdfwriter_impl.cxx.

◆ CHECK_RETURN [3/3]

#define CHECK_RETURN (   x)    if( !x ) return false

Definition at line 5158 of file pdfwriter_impl.cxx.

◆ CHECK_RETURN2

#define CHECK_RETURN2 (   x)    if( !(x) ) return

Definition at line 1784 of file pdfwriter_impl.cxx.

◆ HCONV

#define HCONV (   x)    ImplDevicePixelToLogicHeight( x )

Definition at line 7395 of file pdfwriter_impl.cxx.

Variable Documentation

◆ g_bDebugDisableCompression

bool g_bDebugDisableCompression = getenv("VCL_DEBUG_DISABLE_PDFCOMPRESSION")
static