LibreOffice Module sdext (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
pdfihelper.hxx File Reference
#include "contentsink.hxx"
#include <rtl/ustring.hxx>
#include <rtl/math.h>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <com/sun/star/rendering/PathCapType.hpp>
#include <com/sun/star/rendering/PathJoinType.hpp>
#include <unordered_map>
#include <vector>
#include <o3tl/hash_combine.hxx>
Include dependency graph for pdfihelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pdfi::FontAttrHash
 
struct  pdfi::GraphicsContext
 
struct  pdfi::GraphicsContextHash
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::task
 
namespace  pdfi
 

Macros

#define PDFI_OUTDEV_RESOLUTION   7200
 

Typedefs

typedef std::unordered_map< OUString, OUString > pdfi::PropertyMap
 
typedef sal_Int32 pdfi::ImageId
 

Enumerations

enum  pdfi::PolygonAction {
  pdfi::PATH_STROKE =1 ,
  pdfi::PATH_FILL =2 ,
  pdfi::PATH_EOFILL =4
}
 What to do with a polygon. values can be ORed together. More...
 

Functions

OUString pdfi::unitMMString (double fMM)
 
OUString pdfi::convertPixelToUnitString (double fPix)
 
double pdfi::convPx2mm (double fPix)
 
double pdfi::convmm2Px (double fMM)
 
double pdfi::convPx2mmPrec2 (double fPix)
 round to 2 decimal places More...
 
OUString pdfi::getColorString (const css::rendering::ARGBColor &)
 Convert color to "#FEFEFE" color notation. More...
 
OUString pdfi::getPercentString (double value)
 
double pdfi::GetAverageTransformationScale (const basegfx::B2DHomMatrix &matrix)
 
void pdfi::FillDashStyleProps (PropertyMap &props, const std::vector< double > &dashArray, double scale)
 
bool pdfi::getPassword (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, OUString &rOutPwd, bool bFirstTry, const OUString &rDocName)
 retrieve password from user More...
 
void pdfi::reportUnsupportedEncryptionFormat (css::uno::Reference< css::task::XInteractionHandler > const &handler)
 

Macro Definition Documentation

◆ PDFI_OUTDEV_RESOLUTION

#define PDFI_OUTDEV_RESOLUTION   7200

Definition at line 38 of file pdfihelper.hxx.