LibreOffice Module vcl (master)  1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
vcl Namespace Reference

Namespaces

 bitmap
 
 CodePageCoverage
 
 CommandInfoProvider
 
 detail
 
 filter
 
 font
 
 graphic
 
 lok
 
 pdf
 
 RoadmapWizardTypes
 
 solarthread
 
 table
 
 test
 
 UnicodeCoverage
 
 unohelper
 
 unotools
 
 unx
 
 vertex
 
 WizardTypes
 

Classes

struct  _rectangle
 
class  AboutDialog
 
class  AccessibleFactoryAccess
 a client for the accessibility implementations which have been outsourced from the main vcl/svtools libraries More...
 
struct  AdaptorPage
 
struct  BackendCapabilities
 
class  BicubicKernel
 
class  BilinearKernel
 
class  BitmapScaleBicubicFilter
 
class  BitmapScaleBilinearFilter
 
class  BitmapScaleConvolutionFilter
 
class  BitmapScaleLanczos3Filter
 
class  BufferDevice
 Buffers drawing on a vcl::RenderContext using a VirtualDevice. More...
 
class  BufferObject
 
class  ClipboardFactory
 
struct  CmapSubTable
 
class  CommandImageResolver
 
struct  ControlDrawParameters
 
struct  ControlLayoutData
 
struct  ControlPoint
 ControlPoint structure used by GetTTGlyphPoints() More...
 
class  ControlTextRenderer
 a class which allows rendering text of a Control onto a device, by taking into account the metrics of a reference device. More...
 
struct  ControlTypeAndPart
 
class  Cursor
 
class  CustomWidgetDraw
 
class  DefaultTextLayout
 is an implementation of the ITextLayout interface which simply delegates its calls to the respective methods of an OutputDevice instance, without any inbetween magic. More...
 
class  DeleteOnDeinit
 
class  DeleteOnDeinitBase
 
class  DeleteUnoReferenceOnDeinit
 Similar to DeleteOnDeinit, the DeleteUnoReferenceOnDeinit template class makes sure that a static UNO object is disposed and released at the right time. More...
 
class  DeletionListener
 
class  DeletionNotifier
 
class  DisplayConnectionDispatch
 
class  EnumContext
 
class  EventPoster
 
class  ExtOutDevData
 
class  FileDefinitionWidgetDraw
 
class  Font
 
struct  FontCapabilities
 
class  FontIdentificator
 
class  GenericClipboard
 
class  GenericDragSource
 
class  GenericDropTarget
 
struct  GlobalSyncData
 
struct  GlyphData
 Structure used by the TrueType Creator and GetRawGlyphData() More...
 
struct  GlyphOffsets
 
class  GraphicFormatDetector
 
struct  HexFmt
 
class  HyperLabel
 
class  HyperLabelImpl
 
class  I18nHelper
 
class  IAccessibleBrowseBox
 interface for an implementation of a browse box's Accessible component More...
 
class  IAccessibleFactory
 
class  IAccessibleTableProvider
 This abstract class provides methods to implement an accessible table object. More...
 
class  IAccessibleTabListBox
 interface for an implementation of a table control's Accessible component More...
 
class  IContext
 
class  IconThemeInfo
 This class provides information about an icon theme. More...
 
class  IconThemeScanner
 This class scans a folder for icon themes and provides the results. More...
 
class  IconThemeSelector
 This class helps to choose an icon theme from a list of installed themes. More...
 
class  IDLabel
 
class  ILibreOfficeKitNotifier
 
class  ImageRepository
 
class  IMnemonicEntryList
 callback for a MnemonicEngine More...
 
struct  ImplControlData
 
struct  ImplOldStyleAdaptorData
 
class  ImplPrinterControllerData
 
class  IndexBufferObject
 
class  IPrioritable
 
class  ISearchableStringList
 
class  ITextLayout
 
class  ITiledRenderable
 
class  IWizardPageController
 
class  Kernel
 
class  KeyCode
 
class  Lanczos3Kernel
 
class  LineBuilder
 
struct  longHorMetrics
 
class  Matrix3
 
struct  MenuLayoutData
 
class  MnemonicEngine
 
struct  MnemonicEngine_Data
 
class  MoreOptionsDialog
 
struct  NameRecord
 Structure used by the TrueType Creator and CreateTTFromTTGlyphs() More...
 
class  OldStylePrintAdaptor
 
class  ORoadmap
 
class  OWizardPage
 
struct  PageSyncData
 
struct  ParenStackEntry
 
struct  PDFExtOutDevBookmarkEntry
 
class  PDFExtOutDevData
 
struct  PDFExtOutDevDataSync
 
class  PDFFontCache
 
struct  PDFLinkDestination
 
struct  PDFNote
 
class  PDFOutputStream
 
class  PDFStreamIf
 
class  PDFWriter
 
class  PDFWriterImpl
 
class  PngImageReader
 
class  PNGReader
 
class  PNGReaderImpl
 
class  PNGWriter
 
class  PNGWriterImpl
 
class  PrintDialog
 
class  PrinterController
 
class  PrinterOptionsHelper
 
class  PrintProgressDialog
 
struct  PSPathElement
 
class  QuickSelectionEngine
 
struct  QuickSelectionEngine_Data
 
class  ReferenceDeviceTextLayout
 
class  Region
 
class  RenderTools
 
class  RoadmapImpl
 
class  RoadmapItem
 
struct  RoadmapTypes
 
class  RoadmapWizard
 wizard for a roadmap More...
 
struct  RoadmapWizardImpl
 
class  RoadmapWizardMachine
 is - no, not a wizard for a roadmap, but the base class for wizards supporting a roadmap. More...
 
class  RoadmapWizardTravelSuspension
 helper class to temporarily suspend any traveling in the wizard More...
 
struct  Run
 
class  ScopedAntialiasing
 
class  ScopedBitmapAccess
 This template handles BitmapAccess the RAII way. More...
 
class  ScriptRun
 
class  SettingsConfigItem
 
class  SmallOUStrMap
 
class  SolarMutexTryAndBuyGuard
 guard class that uses tryToAcquire() and has isAcquired() to check More...
 
class  SolarThreadExecutor
 
struct  subHeader2
 
struct  SvHeaderTabListBoxImpl
 
struct  table_cmap
 
struct  TableEntry
 
struct  tdata_generic
 
struct  tdata_loca
 
struct  tdata_post
 
class  TextLayoutCache
 
struct  ToolBoxLayoutData
 
struct  TrueTypeCreator
 
struct  TrueTypeFont
 
struct  TrueTypeTable
 
struct  TTGlobalFontInfo
 Return value of GetTTGlobalFontInfo() More...
 
struct  TTGlyphMetrics
 
struct  TTSimpleGlyphMetrics
 Structure used by GetTTSimpleCharMetrics() functions. More...
 
class  VertexBufferObject
 
class  WidgetDefinition
 
class  WidgetDefinitionPart
 
class  WidgetDefinitionReader
 
class  WidgetDefinitionState
 
class  WidgetDefinitionStyle
 
class  WidgetDrawAction
 
class  WidgetDrawActionExternal
 
class  WidgetDrawActionImage
 
class  WidgetDrawActionLine
 
class  WidgetDrawActionRectangle
 
class  WidgetDrawActionShape
 
class  WidgetDrawInterface
 
struct  WidgetDrawStyle
 
struct  WidgetThemeLibrary_t
 
class  Window
 
class  WizardMachine
 implements some kind of finite automata, where the states of the automata exactly correlate with tab pages. More...
 
struct  WizardMachineImplData
 
class  WizardTravelSuspension
 helper class to temporarily suspend any traveling in the wizard More...
 

Typedefs

typedef OutputDevice RenderContext
 
typedef OutputDevice RenderContext
 
typedef std::vector< RoadmapItem * > HL_Vector
 
typedef std::map< vcl::LOKWindowId, VclPtr< vcl::Window > > LOKWindowsMap
 
typedef struct WidgetThemeLibrary_t WidgetThemeLibrary
 
typedef struct vcl::_rectangle rectangle_t
 
typedef void *(* GetSvtAccessibilityComponentFactory) ()
 a function which is able to create a factory for the standard Accessible/Context components needed for standard toolkit controls More...
 
typedef std::unordered_map< OUString, OUString > OUStrMap
 
typedef std::pair< const OString, const OString > LOKPayloadItem
 
typedef sal_uInt32 LOKWindowId
 
typedef OutputDevice RenderContext
 
typedef const voidStringEntryIdentifier
 
typedef sal_Int32 F16Dot16
 fixed: 16.16 More...
 

Enumerations

enum  PathSegmentType {
  PS_NOOP = 0,
  PS_MOVETO = 1,
  PS_LINETO = 2,
  PS_CURVETO = 3,
  PS_CLOSEPATH = 4
}
 
enum  cmapType {
  CMAP_NOT_USABLE = -1,
  CMAP_MS_Symbol = 10,
  CMAP_MS_Unicode = 11,
  CMAP_MS_ShiftJIS = 12,
  CMAP_MS_PRC = 13,
  CMAP_MS_Big5 = 14,
  CMAP_MS_Wansung = 15,
  CMAP_MS_Johab = 16
}
 
enum  TTCRErrCodes {
  TTCR_OK,
  TTCR_ZEROGLYPHS,
  TTCR_UNKNOWN,
  TTCR_NONAMES,
  TTCR_NAMETOOLONG,
  TTCR_POSTFORMAT
}
 Error codes for most functions. More...
 
enum  SFErrCodes {
  SFErrCodes::Ok,
  SFErrCodes::BadFile,
  SFErrCodes::FileIo,
  SFErrCodes::Memory,
  SFErrCodes::GlyphNum,
  SFErrCodes::BadArg,
  SFErrCodes::TtFormat,
  SFErrCodes::FontNo
}
 Return value of OpenTTFont() and CreateT3FromTTGlyphs() More...
 
enum  WeightClass {
  FW_THIN = 100,
  FW_EXTRALIGHT = 200,
  FW_LIGHT = 300,
  FW_NORMAL = 400,
  FW_MEDIUM = 500,
  FW_SEMIBOLD = 600,
  FW_BOLD = 700,
  FW_EXTRABOLD = 800,
  FW_BLACK = 900
}
 Value of the weight member of the TTGlobalFontInfo struct. More...
 
enum  WidthClass {
  FWIDTH_ULTRA_CONDENSED = 1,
  FWIDTH_EXTRA_CONDENSED = 2,
  FWIDTH_CONDENSED = 3,
  FWIDTH_SEMI_CONDENSED = 4,
  FWIDTH_NORMAL = 5,
  FWIDTH_SEMI_EXPANDED = 6,
  FWIDTH_EXPANDED = 7,
  FWIDTH_EXTRA_EXPANDED = 8,
  FWIDTH_ULTRA_EXPANDED = 9
}
 Value of the width member of the TTGlobalFontInfo struct. More...
 
enum  CompositeFlags {
  ARG_1_AND_2_ARE_WORDS = 1,
  ARGS_ARE_XY_VALUES = 1<<1,
  ROUND_XY_TO_GRID = 1<<2,
  WE_HAVE_A_SCALE = 1<<3,
  MORE_COMPONENTS = 1<<5,
  WE_HAVE_AN_X_AND_Y_SCALE = 1<<6,
  WE_HAVE_A_TWO_BY_TWO = 1<<7,
  WE_HAVE_INSTRUCTIONS = 1<<8,
  USE_MY_METRICS = 1<<9,
  OVERLAP_COMPOUND = 1<<10
}
 Composite glyph flags definition. More...
 
enum  WidgetDrawActionType {
  WidgetDrawActionType::RECTANGLE,
  WidgetDrawActionType::LINE,
  WidgetDrawActionType::IMAGE,
  WidgetDrawActionType::EXTERNAL
}
 
enum  AccessibleBrowseBoxObjType {
  BBTYPE_BROWSEBOX,
  BBTYPE_TABLE,
  BBTYPE_ROWHEADERBAR,
  BBTYPE_COLUMNHEADERBAR,
  BBTYPE_TABLECELL,
  BBTYPE_ROWHEADERCELL,
  BBTYPE_COLUMNHEADERCELL,
  BBTYPE_CHECKBOXCELL
}
 This enumeration contains a constant for each kind of accessible object of a BrowseBox. More...
 
enum  AccessibleTableChildIndex {
  BBINDEX_COLUMNHEADERBAR = 0,
  BBINDEX_ROWHEADERBAR = 1,
  BBINDEX_TABLE = 2,
  BBINDEX_FIRSTCONTROL = 3
}
 
enum  ImageType {
  ImageType::Size16,
  ImageType::Size26,
  ImageType::Size32,
  ImageType::Small = Size16,
  ImageType::LAST = Size32
}
 
enum  NupOrderType {
  NupOrderType::LRTB,
  NupOrderType::TBLR,
  NupOrderType::TBRL,
  NupOrderType::RLTB
}
 

Functions

OUString Clipboard_getImplementationName ()
 
Reference< XSingleServiceFactory > Clipboard_createFactory ()
 
Sequence< OUString > DragSource_getSupportedServiceNames ()
 
OUString DragSource_getImplementationName ()
 
Reference< XInterfaceDragSource_createInstance (const Reference< XMultiServiceFactory > &)
 
Sequence< OUString > DropTarget_getSupportedServiceNames ()
 
OUString DropTarget_getImplementationName ()
 
Reference< XInterfaceDropTarget_createInstance (const Reference< XMultiServiceFactory > &)
 
Sequence< OUString > FontIdentificator_getSupportedServiceNames ()
 
OUString FontIdentificator_getImplementationName ()
 
Reference< XInterfaceFontIdentificator_createInstance (const Reference< XMultiServiceFactory > &)
 
 IMPL_LINK_NOARG (QuickSelectionEngine_Data, SearchStringTimeout, Timer *, void)
 
static StringEntryIdentifier findMatchingEntry (const OUString &_searchString, QuickSelectionEngine_Data const &_engineData)
 
 IMPL_LINK (ORoadmap, ImplClickHdl, HyperLabel *, CurHyperLabel, void)
 
 IMPL_LINK_NOARG (RoadmapWizard, OnRoadmapItemSelected, LinkParamNone *, void)
 
 IMPL_LINK (RoadmapWizardMachine, OnRoadmapItemSelected, const OString &, rCurItemId, bool)
 
 IMPL_LINK_NOARG (RoadmapWizard, ImplHandleWizardLayoutTimerHdl, Timer *, void)
 
 IMPL_LINK_NOARG (RoadmapWizard, OnFinish, Button *, void)
 
 IMPL_LINK_NOARG (RoadmapWizard, OnPrevPage, Button *, void)
 
 IMPL_LINK_NOARG (RoadmapWizard, OnNextPage, Button *, void)
 
 IMPL_LINK_NOARG (WizardMachine, OnFinish, weld::Button &, void)
 
 IMPL_LINK_NOARG (WizardMachine, OnCancel, weld::Button &, void)
 
 IMPL_LINK_NOARG (WizardMachine, OnPrevPage, weld::Button &, void)
 
 IMPL_LINK_NOARG (WizardMachine, OnNextPage, weld::Button &, void)
 
size_t RenderPDFBitmaps (const void *pBuffer, int nSize, std::vector< Bitmap > &rBitmaps, size_t nFirstPage=0, int nPages=1, double fResolutionDPI=96.)
 Fills the rBitmaps vector with rendered pages. More...
 
bool ImportPDF (SvStream &rStream, Bitmap &rBitmap, size_t nPageIndex, std::vector< sal_Int8 > &rPdfData, sal_uInt64 nPos=STREAM_SEEK_TO_BEGIN, sal_uInt64 nSize=STREAM_SEEK_TO_END, double fResolutionDPI=96.)
 Imports a PDF stream into rGraphic as a GDIMetaFile. More...
 
bool ImportPDF (SvStream &rStream, Graphic &rGraphic, const double fResolutionDPI)
 
size_t ImportPDF (const OUString &rURL, std::vector< Bitmap > &rBitmaps, std::vector< sal_Int8 > &rPdfData, const double fResolutionDPI)
 
size_t ImportPDFUnloaded (const OUString &rURL, std::vector< std::pair< Graphic, Size >> &rGraphics, double fResolutionDPI=96.)
 Import PDF as Graphic images (1 per page), all unloaded. More...
 
static voidsmalloc (size_t size)
 
static voidscalloc (size_t n, size_t size)
 
static sal_Int16 GetInt16 (const sal_uInt8 *ptr, size_t offset)
 
static sal_uInt16 GetUInt16 (const sal_uInt8 *ptr, size_t offset)
 
static sal_Int32 GetInt32 (const sal_uInt8 *ptr, size_t offset)
 
static sal_uInt32 GetUInt32 (const sal_uInt8 *ptr, size_t offset)
 
static sal_uInt16 Int16FromMOTA (sal_uInt16 a)
 
static sal_uInt32 Int32FromMOTA (sal_uInt32 a)
 
static F16Dot16 fixedMul (F16Dot16 a, F16Dot16 b)
 
static F16Dot16 fixedDiv (F16Dot16 a, F16Dot16 b)
 
static F16Dot16 fixedMulDiv (F16Dot16 a, F16Dot16 b, F16Dot16 c)
 
static int XUnits (int unitsPerEm, int n)
 
static const sal_uInt8getTable (TrueTypeFont const *ttf, sal_uInt32 ord)
 
static sal_uInt32 getTableSize (TrueTypeFont const *ttf, sal_uInt32 ord)
 
static char toHex (sal_uInt8 nIndex)
 
static HexFmtHexFmtNew (FILE *outf)
 
static bool HexFmtFlush (HexFmt *_this)
 
static void HexFmtOpenString (HexFmt *_this)
 
static void HexFmtCloseString (HexFmt *_this)
 
static void HexFmtDispose (HexFmt *_this)
 
static void HexFmtBlockWrite (HexFmt *_this, const void *ptr, sal_uInt32 size)
 
static void GetMetrics (TrueTypeFont const *ttf, sal_uInt32 glyphID, TTGlyphMetrics *metrics)
 
static int GetTTGlyphOutline (TrueTypeFont *, sal_uInt32, ControlPoint **, TTGlyphMetrics *, std::vector< sal_uInt32 > *)
 
static int GetSimpleTTOutline (TrueTypeFont const *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics)
 
static F16Dot16 fromF2Dot14 (sal_Int16 n)
 
static int GetCompoundTTOutline (TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 > &glyphlist)
 
static int BSplineToPSPath (ControlPoint const *srcA, int srcCount, PSPathElement **path)
 
static char * nameExtract (const sal_uInt8 *name, int nTableSize, int n, int dbFlag, sal_Unicode **ucs2result)
 
static int findname (const sal_uInt8 *name, sal_uInt16 n, sal_uInt16 platformID, sal_uInt16 encodingID, sal_uInt16 languageID, sal_uInt16 nameID)
 
static void GetNames (TrueTypeFont *t)
 
static sal_uInt32 getGlyph0 (const sal_uInt8 *cmap, sal_uInt32, sal_uInt32 c)
 
static sal_uInt32 getGlyph2 (const sal_uInt8 *cmap, const sal_uInt32 nMaxCmapSize, sal_uInt32 c)
 
static sal_uInt32 getGlyph6 (const sal_uInt8 *cmap, sal_uInt32, sal_uInt32 c)
 
static sal_uInt16 GEbinsearch (sal_uInt16 const *ar, sal_uInt16 length, sal_uInt16 toSearch)
 
static sal_uInt32 getGlyph4 (const sal_uInt8 *cmap, const sal_uInt32 nMaxCmapSize, sal_uInt32 c)
 
static sal_uInt32 getGlyph12 (const sal_uInt8 *pCmap, sal_uInt32, sal_uInt32 cChar)
 
static void FindCmap (TrueTypeFont *ttf)
 
int CountTTCFonts (const char *fname)
 Get the number of fonts contained in a TrueType collection. More...
 
static void allocTrueTypeFont (TrueTypeFont **ttf)
 
static SFErrCodes doOpenTTFont (sal_uInt32 facenum, TrueTypeFont *t)
 
SFErrCodes OpenTTFontFile (const char *fname, sal_uInt32 facenum, TrueTypeFont **ttf)
 TrueTypeFont constructor. More...
 
SFErrCodes OpenTTFontBuffer (const void *pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont **ttf)
 TrueTypeFont constructor. More...
 
void CloseTTFont (TrueTypeFont *)
 TrueTypeFont destructor. More...
 
int GetTTGlyphPoints (TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray)
 Extracts TrueType control points, and stores them in an allocated array pointed to by *pointArray. More...
 
int GetTTGlyphComponents (TrueTypeFont *ttf, sal_uInt32 glyphID, std::vector< sal_uInt32 > &glyphlist)
 For a specified glyph adds all component glyphs IDs to the list and return their number. More...
 
SFErrCodes CreateT3FromTTGlyphs (TrueTypeFont *ttf, FILE *outf, const char *fname, sal_uInt16 const *glyphArray, sal_uInt8 *encoding, int nGlyphs, int wmode)
 Generates a new PostScript Type 3 font and dumps it to outf file. More...
 
SFErrCodes CreateTTFromTTGlyphs (TrueTypeFont *ttf, const char *fname, sal_uInt16 const *glyphArray, sal_uInt8 const *encoding, int nGlyphs)
 Generates a new TrueType font and dumps it to outf file. More...
 
static GlyphOffsetsGlyphOffsetsNew (sal_uInt8 *sfntP, sal_uInt32 sfntLen)
 
static void GlyphOffsetsDispose (GlyphOffsets *_this)
 
static void DumpSfnts (FILE *outf, sal_uInt8 *sfntP, sal_uInt32 sfntLen)
 
SFErrCodes CreateT42FromTTGlyphs (TrueTypeFont *ttf, FILE *outf, const char *psname, sal_uInt16 const *glyphArray, sal_uInt8 *encoding, int nGlyphs)
 Generates a new PostScript Type42 font and dumps it to outf file. More...
 
int GetTTGlyphCount (TrueTypeFont const *ttf)
 returns the number of glyphs in a font More...
 
bool GetSfntTable (TrueTypeFont const *ttf, int nSubtableIndex, const sal_uInt8 **ppRawBytes, int *pRawLength)
 provide access to the raw data of a SFNT-container's subtable More...
 
std::unique_ptr< sal_uInt16[]> GetTTSimpleGlyphMetrics (TrueTypeFont const *ttf, const sal_uInt16 *glyphArray, int nGlyphs, bool vertical)
 Queries glyph metrics. More...
 
void GetTTFontMetrics (const uint8_t *pHhea, size_t nHhea, const uint8_t *pOs2, size_t nOs2, TTGlobalFontInfo *info)
 Returns fonts metrics. More...
 
void GetTTGlobalFontInfo (TrueTypeFont *ttf, TTGlobalFontInfo *info)
 Returns global font information about the TrueType font. More...
 
GlyphDataGetTTRawGlyphData (TrueTypeFont *ttf, sal_uInt32 glyphID)
 Extracts raw glyph data from the 'glyf' table and returns it in an allocated GlyphData structure. More...
 
int GetTTNameRecords (TrueTypeFont const *ttf, NameRecord **nr)
 Extracts all Name Records from the font and stores them in an allocated array of NameRecord structs. More...
 
void DisposeNameRecords (NameRecord *nr, int n)
 Deallocates previously allocated array of NameRecords. More...
 
template<size_t N>
static void append (std::bitset< N > &rSet, size_t const nOffset, sal_uInt32 const nValue)
 
bool getTTCoverage (boost::optional< std::bitset< UnicodeCoverage::MAX_UC_ENUM >> &rUnicodeRange, boost::optional< std::bitset< CodePageCoverage::MAX_CP_ENUM >> &rCodePageRange, const unsigned char *pTable, size_t nLength)
 
static sal_Int16 GetInt16 (const sal_uInt8 *ptr, sal_uInt32 offset)
 
static sal_uInt16 GetUInt16 (const sal_uInt8 *ptr, sal_uInt32 offset)
 
static void PutInt16 (sal_Int16 val, sal_uInt8 *ptr, sal_uInt32 offset)
 
static void PutUInt16 (sal_uInt16 val, sal_uInt8 *ptr, sal_uInt32 offset)
 
static void PutUInt32 (sal_uInt32 val, sal_uInt8 *ptr, sal_uInt32 offset)
 
static int TableEntryCompareF (const void *l, const void *r)
 
static int NameRecordCompareF (const void *l, const void *r)
 
static sal_uInt32 CheckSum (sal_uInt32 *ptr, sal_uInt32 length)
 
static voidsmalloc (sal_uInt32 size)
 
static voidscalloc (sal_uInt32 n, sal_uInt32 size)
 
void TrueTypeCreatorNewEmpty (sal_uInt32 tag, TrueTypeCreator **_this)
 TrueTypeCreator constructor. More...
 
void AddTable (TrueTypeCreator *_this, TrueTypeTable *table)
 Adds a TrueType table to the TrueType creator. More...
 
void RemoveTable (TrueTypeCreator *_this, sal_uInt32 tag)
 Removes a TrueType table from the TrueType creator if it is stored there. More...
 
static void ProcessTables (TrueTypeCreator *)
 
SFErrCodes StreamToMemory (TrueTypeCreator *_this, sal_uInt8 **ptr, sal_uInt32 *length)
 Writes a TrueType font generated by the TrueTypeCreator to a segment of memory that this method allocates. More...
 
SFErrCodes StreamToFile (TrueTypeCreator *_this, const char *fname)
 Writes a TrueType font generated by the TrueTypeCreator to a file. More...
 
static sal_uInt8ttmalloc (sal_uInt32 nbytes)
 
static void FreeGlyphData (void *ptr)
 
static void TrueTypeTableDispose_generic (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_head (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_hhea (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_loca (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_maxp (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_glyf (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_cmap (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_name (TrueTypeTable *_this)
 
static void TrueTypeTableDispose_post (TrueTypeTable *_this)
 
static int GetRawData_generic (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static int GetRawData_head (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static int GetRawData_hhea (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static int GetRawData_loca (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static int GetRawData_maxp (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static int GetRawData_glyf (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static sal_uInt8PackCmapType0 (CmapSubTable const *s, sal_uInt32 *length)
 
static sal_uInt8PackCmapType6 (CmapSubTable const *s, sal_uInt32 *length)
 
static sal_uInt8PackCmap (CmapSubTable const *s, sal_uInt32 *length)
 
static int GetRawData_cmap (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static int GetRawData_name (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
static int GetRawData_post (TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 
TrueTypeTableTrueTypeTableNew (sal_uInt32 tag, sal_uInt32 nbytes, const sal_uInt8 *ptr)
 Creates a new raw TrueType table. More...
 
TrueTypeTableTrueTypeTableNew_head (sal_uInt32 fontRevision, sal_uInt16 flags, sal_uInt16 unitsPerEm, const sal_uInt8 *created, sal_uInt16 macStyle, sal_uInt16 lowestRecPPEM, sal_Int16 fontDirectionHint)
 Creates a new 'head' table for a TrueType font. More...
 
TrueTypeTableTrueTypeTableNew_hhea (sal_Int16 ascender, sal_Int16 descender, sal_Int16 linegap, sal_Int16 caretSlopeRise, sal_Int16 caretSlopeRun)
 Creates a new 'hhea' table for a TrueType font. More...
 
TrueTypeTableTrueTypeTableNew_loca ()
 Creates a new empty 'loca' table for a TrueType font. More...
 
TrueTypeTableTrueTypeTableNew_maxp (const sal_uInt8 *maxp, int size)
 Creates a new 'maxp' table based on an existing maxp table. More...
 
TrueTypeTableTrueTypeTableNew_glyf ()
 Creates a new empty 'glyf' table. More...
 
TrueTypeTableTrueTypeTableNew_cmap ()
 Creates a new empty 'cmap' table. More...
 
static void DisposeNameRecord (void *ptr)
 
static NameRecordNameRecordNewCopy (NameRecord const *nr)
 
TrueTypeTableTrueTypeTableNew_name (int n, NameRecord const *nr)
 Creates a new 'name' table. More...
 
TrueTypeTableTrueTypeTableNew_post (sal_Int32 format, sal_Int32 italicAngle, sal_Int16 underlinePosition, sal_Int16 underlineThickness, sal_uInt32 isFixedPitch)
 Creates a new 'post' table of one of the supported formats. More...
 
int GetRawData (TrueTypeTable *, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
 This function converts the data of a TrueType table to a raw array of bytes. More...
 
void cmapAdd (TrueTypeTable *, sal_uInt32 id, sal_uInt32 c, sal_uInt32 g)
 Add a character/glyph pair to a cmap table. More...
 
sal_uInt32 glyfAdd (TrueTypeTable *, GlyphData *glyphdata, TrueTypeFont *fnt)
 Add a glyph to a glyf table. More...
 
sal_uInt32 glyfCount (const TrueTypeTable *)
 Query the number of glyphs currently stored in the 'glyf' table. More...
 
static TrueTypeTableFindTable (TrueTypeCreator *tt, sal_uInt32 tag)
 
sal_uInt16 TranslateChar12 (sal_uInt16 src)
 
sal_uInt16 TranslateChar13 (sal_uInt16 src)
 
sal_uInt16 TranslateChar14 (sal_uInt16 src)
 
sal_uInt16 TranslateChar15 (sal_uInt16 src)
 
sal_uInt16 TranslateChar16 (sal_uInt16 src)
 
template<class GEOMETRY >
static GEOMETRY lcl_convert (const MapMode &_rSource, const MapMode &_rDest, OutputDevice *_pPixelConversion, const GEOMETRY &_rObject)
 
static std::unique_ptr< RegionBandImplCreateRegionBandFromPolyPolygon (const tools::PolyPolygon &rPolyPolygon)
 
SvStreamReadRegion (SvStream &rIStrm, vcl::Region &rRegion)
 
SvStreamWriteRegion (SvStream &rOStrm, const vcl::Region &rRegion)
 
static bool ImplPolygonRectTest (const tools::Polygon &rPoly, tools::Rectangle *pRectOut=nullptr)
 
static UBool sameScript (int32_t scriptOne, int32_t scriptTwo)
 
 IMPL_LINK (EventPoster, DoEvent_Impl, void *,, void)
 
static bool lcl_ToolBoxTabStop (Window *pWindow)
 
static void ImplDlgCtrlUpdateDefButton (vcl::Window *pParent, vcl::Window *pFocusWindow, bool bGetFocus)
 
static MouseEvent ImplTranslateMouseEvent (const MouseEvent &rE, vcl::Window const *pSource, vcl::Window const *pDest)
 
static WindowImplGetLabeledBy (Window *pFrameWindow, WindowType nMyType, Window *pLabeled)
 
 IMPL_LINK_NOARG (Window, ImplGenerateMouseMoveHdl, void *, void)
 
static bool IsWindowFocused (const WindowImpl &rWinImpl)
 
 IMPL_LINK_NOARG (Window, ImplHandlePaintHdl, Timer *, void)
 
 IMPL_LINK_NOARG (Window, ImplHandleResizeTimerHdl, Timer *, void)
 
static SystemWindowImplGetLastSystemWindow (vcl::Window *pWin)
 
static sal_Int32 CountDPIScaleFactor (sal_Int32 nDPI)
 
 IMPL_LINK (Window, ImplTrackTimerHdl, Timer *, pTimer, void)
 
static long WinFloatRound (double fVal)
 
static void lcl_HandleScrollHelper (ScrollBar *pScrl, double nN, bool isMultiplyByLineSize)
 
css::uno::Reference< css::uno::XInterface > FontIdentificator_createInstance (css::uno::Reference< css::lang::XMultiServiceFactory > const &)
 
css::uno::Reference< css::uno::XInterface > DragSource_createInstance (css::uno::Reference< css::lang::XMultiServiceFactory > const &)
 
css::uno::Reference< css::uno::XInterface > DropTarget_createInstance (css::uno::Reference< css::lang::XMultiServiceFactory > const &)
 
const char * getLangBoost ()
 
vcl::WidgetThemeLibraryCreateWidgetThemeLibrary ()
 

Variables

static const char ICON_THEME_PACKAGE_PREFIX [] = "images_"
 
static const char EXTENSION_FOR_ICON_PACKAGES [] = ".zip"
 
const std::map< PointerStyle, OString > gaLOKPointerMap
 
static const sal_uInt8 mpDefaultColorTable [256]
 
static const char *const modname = "SunTypeTools-TT"
 
static const char *const modver = "1.0"
 
static const char *const modextra = "gelf"
 
struct {
   sal_uInt32   vcl::tag
 
   void(*   vcl::f )(TrueTypeTable *)
 
vtable1 []
 
struct {
   sal_uInt32   vcl::tag
 
   int(*   vcl::f )(TrueTypeTable *, sal_uInt8
      **, sal_uInt32 *, sal_uInt32 *)
 
vtable2 []
 
static ConverterCache aCC
 
constexpr int OS2_Legacy_length = 68
 
constexpr int OS2_V0_length = 78
 
constexpr int OS2_V1_length = 86
 
constexpr int OS2_usWeightClass_offset = 4
 
constexpr int OS2_usWidthClass_offset = 6
 
constexpr int OS2_fsType_offset = 8
 
constexpr int OS2_panose_offset = 32
 
constexpr int OS2_panoseNbBytes_offset = 10
 
constexpr int OS2_ulUnicodeRange1_offset = 42
 
constexpr int OS2_ulUnicodeRange2_offset = 46
 
constexpr int OS2_ulUnicodeRange3_offset = 50
 
constexpr int OS2_ulUnicodeRange4_offset = 54
 
constexpr int OS2_fsSelection_offset = 62
 
constexpr int OS2_typoAscender_offset = 68
 
constexpr int OS2_typoDescender_offset = 70
 
constexpr int OS2_typoLineGap_offset = 72
 
constexpr int OS2_winAscent_offset = 74
 
constexpr int OS2_winDescent_offset = 76
 
constexpr int OS2_ulCodePageRange1_offset = 78
 
constexpr int OS2_ulCodePageRange2_offset = 82
 
constexpr int HHEA_Length = 36
 
constexpr int HHEA_ascender_offset = 4
 
constexpr int HHEA_descender_offset = 6
 
constexpr int HHEA_lineGap_offset = 8
 
constexpr int HHEA_caretSlopeRise_offset = 18
 
constexpr int HHEA_caretSlopeRun_offset = 20
 
constexpr int POST_italicAngle_offset = 4
 
constexpr int POST_underlinePosition_offset = 8
 
constexpr int POST_underlineThickness_offset = 10
 
constexpr int POST_isFixedPitch_offset = 12
 
constexpr int HEAD_Length = 54
 
constexpr int HEAD_majorVersion_offset = 0
 
constexpr int HEAD_fontRevision_offset = 4
 
constexpr int HEAD_magicNumber_offset = 12
 
constexpr int HEAD_flags_offset = 16
 
constexpr int HEAD_unitsPerEm_offset = 18
 
constexpr int HEAD_created_offset = 20
 
constexpr int HEAD_xMin_offset = 36
 
constexpr int HEAD_yMin_offset = 38
 
constexpr int HEAD_xMax_offset = 40
 
constexpr int HEAD_yMax_offset = 42
 
constexpr int HEAD_macStyle_offset = 44
 
constexpr int HEAD_lowestRecPPEM_offset = 46
 
constexpr int HEAD_fontDirectionHint_offset = 48
 
constexpr int HEAD_indexToLocFormat_offset = 50
 
constexpr int HEAD_glyphDataFormat_offset = 52
 
constexpr int MAXP_Version1Length = 32
 
constexpr int MAXP_numGlyphs_offset = 4
 
constexpr int MAXP_maxPoints_offset = 6
 
constexpr int MAXP_maxContours_offset = 8
 
constexpr int MAXP_maxCompositePoints_offset = 10
 
constexpr int MAXP_maxCompositeContours_offset = 12
 
constexpr int GLYF_Length = 10
 
constexpr int GLYF_numberOfContours_offset = 0
 
constexpr int GLYF_xMin_offset = 2
 
constexpr int GLYF_yMin_offset = 4
 
constexpr int GLYF_xMax_offset = 6
 
constexpr int GLYF_yMax_offset = 8
 
constexpr sal_uInt32 T_true = 0x74727565
 
constexpr sal_uInt32 T_ttcf = 0x74746366
 
constexpr sal_uInt32 T_otto = 0x4f54544f
 
constexpr sal_uInt32 T_maxp = 0x6D617870
 
constexpr sal_uInt32 T_glyf = 0x676C7966
 
constexpr sal_uInt32 T_head = 0x68656164
 
constexpr sal_uInt32 T_loca = 0x6C6F6361
 
constexpr sal_uInt32 T_name = 0x6E616D65
 
constexpr sal_uInt32 T_hhea = 0x68686561
 
constexpr sal_uInt32 T_hmtx = 0x686D7478
 
constexpr sal_uInt32 T_cmap = 0x636D6170
 
constexpr sal_uInt32 T_vhea = 0x76686561
 
constexpr sal_uInt32 T_vmtx = 0x766D7478
 
constexpr sal_uInt32 T_OS2 = 0x4F532F32
 
constexpr sal_uInt32 T_post = 0x706F7374
 
constexpr sal_uInt32 T_cvt = 0x63767420
 
constexpr sal_uInt32 T_prep = 0x70726570
 
constexpr sal_uInt32 T_fpgm = 0x6670676D
 
constexpr sal_uInt32 T_gsub = 0x47535542
 
constexpr sal_uInt32 T_CFF = 0x43464620
 
constexpr int O_maxp = 0
 
constexpr int O_glyf = 1
 
constexpr int O_head = 2
 
constexpr int O_loca = 3
 
constexpr int O_name = 4
 
constexpr int O_hhea = 5
 
constexpr int O_hmtx = 6
 
constexpr int O_cmap = 7
 
constexpr int O_vhea = 8
 
constexpr int O_vmtx = 9
 
constexpr int O_OS2 = 10
 
constexpr int O_post = 11
 
constexpr int O_cvt = 12
 
constexpr int O_prep = 13
 
constexpr int O_fpgm = 14
 
constexpr int O_gsub = 15
 
constexpr int O_CFF = 16
 
constexpr int NUM_TAGS = 17
 

Typedef Documentation

typedef sal_Int32 vcl::F16Dot16

fixed: 16.16

Definition at line 56 of file sft.hxx.

typedef void*(* vcl::GetSvtAccessibilityComponentFactory) ()

a function which is able to create a factory for the standard Accessible/Context components needed for standard toolkit controls

The returned pointer denotes an instance of the IAccessibleFactory, which has been acquired once. The caller is responsible for holding this reference as long as it needs the factory, and release it afterwards.

Definition at line 67 of file accessiblefactory.hxx.

typedef std::vector< RoadmapItem* > vcl::HL_Vector

Definition at line 36 of file roadmap.cxx.

typedef std::pair<const OString, const OString> vcl::LOKPayloadItem

Definition at line 23 of file IDialogRenderable.hxx.

typedef sal_uInt32 vcl::LOKWindowId

Definition at line 25 of file IDialogRenderable.hxx.

Definition at line 3159 of file window.cxx.

typedef std::unordered_map< OUString, OUString > vcl::OUStrMap

Definition at line 32 of file configsettings.hxx.

Definition at line 61 of file menu.hxx.

Definition at line 34 of file quickselectionengine.hxx.

Definition at line 96 of file WidgetThemeLibrary.hxx.

Enumeration Type Documentation

This enumeration contains a constant for each kind of accessible object of a BrowseBox.

Enumerator
BBTYPE_BROWSEBOX 
BBTYPE_TABLE 

The BrowseBox itself.

BBTYPE_ROWHEADERBAR 

The data table.

BBTYPE_COLUMNHEADERBAR 

The row header bar ("handle column").

BBTYPE_TABLECELL 

The horizontal column header bar.

BBTYPE_ROWHEADERCELL 

A cell of the data table.

BBTYPE_COLUMNHEADERCELL 

A cell of the row header bar.

BBTYPE_CHECKBOXCELL 

A cell of the column header bar.

A cell with a checkbox.

Definition at line 28 of file AccessibleBrowseBoxObjType.hxx.

Enumerator
BBINDEX_COLUMNHEADERBAR 

Child index of the column header bar (first row).

Exists always.

BBINDEX_ROWHEADERBAR 

Child index of the row header bar ("handle column").

Exists always.

BBINDEX_TABLE 

Child index of the data table.

BBINDEX_FIRSTCONTROL 

Child index of the first additional control.

Definition at line 35 of file accessibletableprovider.hxx.

Enumerator
CMAP_NOT_USABLE 
CMAP_MS_Symbol 
CMAP_MS_Unicode 
CMAP_MS_ShiftJIS 
CMAP_MS_PRC 
CMAP_MS_Big5 
CMAP_MS_Wansung 
CMAP_MS_Johab 

Definition at line 1016 of file sft.cxx.

Composite glyph flags definition.

Enumerator
ARG_1_AND_2_ARE_WORDS 
ARGS_ARE_XY_VALUES 
ROUND_XY_TO_GRID 
WE_HAVE_A_SCALE 
MORE_COMPONENTS 
WE_HAVE_AN_X_AND_Y_SCALE 
WE_HAVE_A_TWO_BY_TWO 
WE_HAVE_INSTRUCTIONS 
USE_MY_METRICS 
OVERLAP_COMPOUND 

Definition at line 100 of file sft.hxx.

enum vcl::ImageType
strong
Enumerator
Size16 
Size26 
Size32 
Small 
LAST 

Definition at line 37 of file image.hxx.

enum vcl::NupOrderType
strong
Enumerator
LRTB 
TBLR 
TBRL 
RLTB 

Definition at line 387 of file print.hxx.

Enumerator
PS_NOOP 
PS_MOVETO 
PS_LINETO 
PS_CURVETO 
PS_CLOSEPATH 

Definition at line 57 of file sft.cxx.

enum vcl::SFErrCodes
strong

Return value of OpenTTFont() and CreateT3FromTTGlyphs()

Enumerator
Ok 

no error

BadFile 

file not found

FileIo 

file I/O error

Memory 

memory allocation error

GlyphNum 

incorrect number of glyphs

BadArg 

incorrect arguments

TtFormat 

incorrect TrueType font format

FontNo 

incorrect logical font number of a TTC font

Definition at line 60 of file sft.hxx.

Error codes for most functions.

Enumerator
TTCR_OK 

no error

TTCR_ZEROGLYPHS 

At least one glyph should be defined.

TTCR_UNKNOWN 

Unknown TrueType table.

TTCR_NONAMES 

'name' table does not contain any names

TTCR_NAMETOOLONG 

'name' table is too long (string data > 64K)

TTCR_POSTFORMAT 

unsupported format of a 'post' table

Definition at line 48 of file ttcr.hxx.

Value of the weight member of the TTGlobalFontInfo struct.

Enumerator
FW_THIN 

Thin.

FW_EXTRALIGHT 

Extra-light (Ultra-light)

FW_LIGHT 

Light.

FW_NORMAL 

Normal (Regular)

FW_MEDIUM 

Medium.

FW_SEMIBOLD 

Semi-bold (Demi-bold)

FW_BOLD 

Bold.

FW_EXTRABOLD 

Extra-bold (Ultra-bold)

FW_BLACK 

Black (Heavy)

Definition at line 73 of file sft.hxx.

Enumerator
RECTANGLE 
LINE 
IMAGE 
EXTERNAL 

Definition at line 26 of file WidgetDefinition.hxx.

Value of the width member of the TTGlobalFontInfo struct.

Enumerator
FWIDTH_ULTRA_CONDENSED 

50% of normal

FWIDTH_EXTRA_CONDENSED 

62.5% of normal

FWIDTH_CONDENSED 

75% of normal

FWIDTH_SEMI_CONDENSED 

87.5% of normal

FWIDTH_NORMAL 

Medium, 100%.

FWIDTH_SEMI_EXPANDED 

112.5% of normal

FWIDTH_EXPANDED 

125% of normal

FWIDTH_EXTRA_EXPANDED 

150% of normal

FWIDTH_ULTRA_EXPANDED 

200% of normal

Definition at line 87 of file sft.hxx.

Function Documentation

void vcl::AddTable ( TrueTypeCreator _this,
TrueTypeTable table 
)

Adds a TrueType table to the TrueType creator.

Definition at line 153 of file ttcr.cxx.

References listAppend(), and vcl::TrueTypeCreator::tables.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and ProcessTables().

static void vcl::allocTrueTypeFont ( TrueTypeFont **  ttf)
static

Definition at line 1349 of file sft.cxx.

References vcl::TrueTypeFont::fname.

Referenced by OpenTTFontBuffer(), and OpenTTFontFile().

template<size_t N>
static void vcl::append ( std::bitset< N > &  rSet,
size_t const  nOffset,
sal_uInt32 const  nValue 
)
static

Definition at line 2582 of file sft.cxx.

References i.

Referenced by WindowUIObject::dumpState(), and getTTCoverage().

static int vcl::BSplineToPSPath ( ControlPoint const *  srcA,
int  srcCount,
PSPathElement **  path 
)
static
static sal_uInt32 vcl::CheckSum ( sal_uInt32 *  ptr,
sal_uInt32  length 
)
static

Definition at line 113 of file ttcr.cxx.

Referenced by StreamToMemory().

css::uno::Reference< css::lang::XSingleServiceFactory > vcl::Clipboard_createFactory ( )

Definition at line 231 of file dtranscomp.cxx.

Referenced by vcl_component_getFactory().

OUString vcl::Clipboard_getImplementationName ( )

Definition at line 214 of file dtranscomp.cxx.

Referenced by vcl_component_getFactory().

void vcl::cmapAdd ( TrueTypeTable table,
sal_uInt32  id,
sal_uInt32  c,
sal_uInt32  g 
)
static sal_Int32 vcl::CountDPIScaleFactor ( sal_Int32  nDPI)
static

Definition at line 910 of file window.cxx.

References void().

Referenced by vcl::Window::ImplInit(), and vcl::Window::ImplInitResolutionSettings().

vcl::WidgetThemeLibrary* vcl::CreateWidgetThemeLibrary ( )
static void vcl::DisposeNameRecord ( void ptr)
static

Definition at line 962 of file ttcr.cxx.

References vcl::NameRecord::sptr.

Referenced by TrueTypeTableNew_name().

static SFErrCodes vcl::doOpenTTFont ( sal_uInt32  facenum,
TrueTypeFont t 
)
static
css::uno::Reference<css::uno::XInterface> vcl::DragSource_createInstance ( css::uno::Reference< css::lang::XMultiServiceFactory > const &  )
Reference< XInterface > vcl::DragSource_createInstance ( const Reference< XMultiServiceFactory > &  )
OUString vcl::DragSource_getImplementationName ( )

Definition at line 315 of file dtranscomp.cxx.

Referenced by vcl_component_getFactory().

css::uno::Sequence< OUString > vcl::DragSource_getSupportedServiceNames ( )

Definition at line 304 of file dtranscomp.cxx.

Referenced by vcl_component_getFactory().

css::uno::Reference<css::uno::XInterface> vcl::DropTarget_createInstance ( css::uno::Reference< css::lang::XMultiServiceFactory > const &  )
Reference< XInterface > vcl::DropTarget_createInstance ( const Reference< XMultiServiceFactory > &  )
OUString vcl::DropTarget_getImplementationName ( )

Definition at line 416 of file dtranscomp.cxx.

Referenced by vcl_component_getFactory().

css::uno::Sequence< OUString > vcl::DropTarget_getSupportedServiceNames ( )
static void vcl::DumpSfnts ( FILE *  outf,
sal_uInt8 sfntP,
sal_uInt32  sfntLen 
)
static
static void vcl::FindCmap ( TrueTypeFont ttf)
static
static StringEntryIdentifier vcl::findMatchingEntry ( const OUString &  _searchString,
QuickSelectionEngine_Data const &  _engineData 
)
static
static int vcl::findname ( const sal_uInt8 name,
sal_uInt16  n,
sal_uInt16  platformID,
sal_uInt16  encodingID,
sal_uInt16  languageID,
sal_uInt16  nameID 
)
static

Definition at line 854 of file sft.cxx.

References GetUInt32(), and i.

Referenced by GetNames().

static TrueTypeTable* vcl::FindTable ( TrueTypeCreator tt,
sal_uInt32  tag 
)
static

Definition at line 1184 of file ttcr.cxx.

References listCurrent(), listIsEmpty(), listNext(), listToFirst(), and vcl::TrueTypeCreator::tables.

Referenced by ProcessTables().

static F16Dot16 vcl::fixedDiv ( F16Dot16  a,
F16Dot16  b 
)
static

Definition at line 201 of file sft.cxx.

References f.

Referenced by fixedMulDiv().

static F16Dot16 vcl::fixedMul ( F16Dot16  a,
F16Dot16  b 
)
static

Definition at line 175 of file sft.cxx.

Referenced by fixedMulDiv(), and GetCompoundTTOutline().

static F16Dot16 vcl::fixedMulDiv ( F16Dot16  a,
F16Dot16  b,
F16Dot16  c 
)
static

Definition at line 228 of file sft.cxx.

References fixedDiv(), and fixedMul().

Referenced by GetCompoundTTOutline().

css::uno::Reference<css::uno::XInterface> vcl::FontIdentificator_createInstance ( css::uno::Reference< css::lang::XMultiServiceFactory > const &  )
Reference< XInterface > vcl::FontIdentificator_createInstance ( const Reference< XMultiServiceFactory > &  )

Definition at line 157 of file fontident.cxx.

Referenced by vcl_component_getFactory().

OUString vcl::FontIdentificator_getImplementationName ( )
css::uno::Sequence< OUString > vcl::FontIdentificator_getSupportedServiceNames ( )
static void vcl::FreeGlyphData ( void ptr)
static

Definition at line 356 of file ttcr.cxx.

References vcl::GlyphData::ptr.

Referenced by TrueTypeTableNew_glyf().

static F16Dot16 vcl::fromF2Dot14 ( sal_Int16  n)
static

Definition at line 473 of file sft.cxx.

Referenced by GetCompoundTTOutline().

static sal_uInt16 vcl::GEbinsearch ( sal_uInt16 const *  ar,
sal_uInt16  length,
sal_uInt16  toSearch 
)
static

Definition at line 1116 of file sft.cxx.

References Int16FromMOTA().

Referenced by getGlyph4().

static int vcl::GetCompoundTTOutline ( TrueTypeFont ttf,
sal_uInt32  glyphID,
ControlPoint **  pointArray,
TTGlyphMetrics metrics,
std::vector< sal_uInt32 > &  glyphlist 
)
static
static sal_uInt32 vcl::getGlyph0 ( const sal_uInt8 cmap,
sal_uInt32  ,
sal_uInt32  c 
)
static

Definition at line 1029 of file sft.cxx.

References MISSING_GLYPH_INDEX.

Referenced by FindCmap().

static sal_uInt32 vcl::getGlyph12 ( const sal_uInt8 pCmap,
sal_uInt32  ,
sal_uInt32  cChar 
)
static

Definition at line 1177 of file sft.cxx.

References Int32FromMOTA(), MISSING_GLYPH_INDEX, and nLength.

Referenced by FindCmap().

static sal_uInt32 vcl::getGlyph2 ( const sal_uInt8 cmap,
const sal_uInt32  nMaxCmapSize,
sal_uInt32  c 
)
static

Definition at line 1044 of file sft.cxx.

References vcl::subHeader2::idRangeOffset, Int16FromMOTA(), and MISSING_GLYPH_INDEX.

Referenced by FindCmap().

static sal_uInt32 vcl::getGlyph4 ( const sal_uInt8 cmap,
const sal_uInt32  nMaxCmapSize,
sal_uInt32  c 
)
static

Definition at line 1137 of file sft.cxx.

References GEbinsearch(), i, Int16FromMOTA(), and MISSING_GLYPH_INDEX.

Referenced by FindCmap().

static sal_uInt32 vcl::getGlyph6 ( const sal_uInt8 cmap,
sal_uInt32  ,
sal_uInt32  c 
)
static

Definition at line 1102 of file sft.cxx.

References count(), Int16FromMOTA(), and MISSING_GLYPH_INDEX.

Referenced by FindCmap().

static sal_Int16 vcl::GetInt16 ( const sal_uInt8 ptr,
sal_uInt32  offset 
)
static

Definition at line 49 of file ttcr.cxx.

References t.

static sal_Int16 vcl::GetInt16 ( const sal_uInt8 ptr,
size_t  offset 
)
static
static sal_Int32 vcl::GetInt32 ( const sal_uInt8 ptr,
size_t  offset 
)
static

Definition at line 141 of file sft.cxx.

References t.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), doOpenTTFont(), and GetTTGlobalFontInfo().

const char* vcl::getLangBoost ( )
static void vcl::GetMetrics ( TrueTypeFont const *  ttf,
sal_uInt32  glyphID,
TTGlyphMetrics metrics 
)
static
static void vcl::GetNames ( TrueTypeFont t)
static
int vcl::GetRawData ( TrueTypeTable ,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)

This function converts the data of a TrueType table to a raw array of bytes.

It may allocates the memory for it and returns the size of the raw data in bytes. If memory is allocated it does not need to be freed by the caller of this function, since the pointer to it is stored in the TrueTypeTable and it is freed by the destructor

Returns
TTCRErrCode

Definition at line 1032 of file ttcr.cxx.

References i, vcl::TrueTypeTable::rawdata, SAL_N_ELEMENTS, vcl::TrueTypeTable::tag, TTCR_UNKNOWN, and vtable2.

Referenced by StreamToMemory().

static int vcl::GetRawData_cmap ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static
static int vcl::GetRawData_generic ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static

Definition at line 481 of file ttcr.cxx.

References vcl::TrueTypeTable::data, and TTCR_OK.

static int vcl::GetRawData_glyf ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static
static int vcl::GetRawData_head ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static

Definition at line 493 of file ttcr.cxx.

References vcl::TrueTypeTable::data, HEAD_Length, T_head, and TTCR_OK.

static int vcl::GetRawData_hhea ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static

Definition at line 502 of file ttcr.cxx.

References vcl::TrueTypeTable::data, HHEA_Length, T_hhea, and TTCR_OK.

static int vcl::GetRawData_loca ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static
static int vcl::GetRawData_maxp ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static

Definition at line 528 of file ttcr.cxx.

References vcl::TrueTypeTable::data, MAXP_Version1Length, T_maxp, and TTCR_OK.

static int vcl::GetRawData_name ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static
static int vcl::GetRawData_post ( TrueTypeTable _this,
sal_uInt8 **  ptr,
sal_uInt32 *  len,
sal_uInt32 *  tag 
)
static
bool vcl::GetSfntTable ( TrueTypeFont const *  ttf,
int  nSubtableIndex,
const sal_uInt8 **  ppRawBytes,
int pRawLength 
)

provide access to the raw data of a SFNT-container's subtable

Definition at line 2284 of file sft.cxx.

References NUM_TAGS, vcl::TrueTypeFont::tables, and vcl::TrueTypeFont::tlens.

Referenced by FontSubsetInfo::CreateFontSubsetFromSfnt().

static int vcl::GetSimpleTTOutline ( TrueTypeFont const *  ttf,
sal_uInt32  glyphID,
ControlPoint **  pointArray,
TTGlyphMetrics metrics 
)
static
static const sal_uInt8* vcl::getTable ( TrueTypeFont const *  ttf,
sal_uInt32  ord 
)
static
static sal_uInt32 vcl::getTableSize ( TrueTypeFont const *  ttf,
sal_uInt32  ord 
)
static
bool VCL_DLLPUBLIC vcl::getTTCoverage ( boost::optional< std::bitset< UnicodeCoverage::MAX_UC_ENUM >> &  rUnicodeRange,
boost::optional< std::bitset< CodePageCoverage::MAX_CP_ENUM >> &  rCodePageRange,
const unsigned char *  pTable,
size_t  nLength 
)
VCL_DLLPUBLIC int vcl::GetTTGlyphCount ( TrueTypeFont const *  ttf)

returns the number of glyphs in a font

Definition at line 2279 of file sft.cxx.

References vcl::TrueTypeFont::nglyphs.

static int vcl::GetTTGlyphOutline ( TrueTypeFont ttf,
sal_uInt32  glyphID,
ControlPoint **  pointArray,
TTGlyphMetrics metrics,
std::vector< sal_uInt32 > *  glyphlist 
)
static
static sal_uInt16 vcl::GetUInt16 ( const sal_uInt8 ptr,
sal_uInt32  offset 
)
static

Definition at line 56 of file ttcr.cxx.

References t.

static sal_uInt16 vcl::GetUInt16 ( const sal_uInt8 ptr,
size_t  offset 
)
static
static sal_uInt32 vcl::GetUInt32 ( const sal_uInt8 ptr,
size_t  offset 
)
static
sal_uInt32 vcl::glyfAdd ( TrueTypeTable ,
GlyphData glyphdata,
TrueTypeFont fnt 
)

Add a glyph to a glyf table.

Returns
glyphID of the glyph in the new font

NOTE: This function does not duplicate GlyphData, so memory will be deallocated in the table destructor

Definition at line 1123 of file ttcr.cxx.

References vcl::TrueTypeTable::data, GetTTGlyphComponents(), GetTTRawGlyphData(), vcl::GlyphData::glyphID, listAppend(), listCount(), listCurrent(), listNext(), listToFirst(), listToLast(), vcl::GlyphData::newID, T_glyf, and vcl::TrueTypeTable::tag.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

sal_uInt32 vcl::glyfCount ( const TrueTypeTable )

Query the number of glyphs currently stored in the 'glyf' table.

Definition at line 1177 of file ttcr.cxx.

References vcl::TrueTypeTable::data, listCount(), T_glyf, and vcl::TrueTypeTable::tag.

Referenced by CreateT42FromTTGlyphs().

static void vcl::GlyphOffsetsDispose ( GlyphOffsets _this)
static

Definition at line 2045 of file sft.cxx.

References vcl::GlyphOffsets::offs.

Referenced by DumpSfnts().

static GlyphOffsets* vcl::GlyphOffsetsNew ( sal_uInt8 sfntP,
sal_uInt32  sfntLen 
)
static
static void vcl::HexFmtBlockWrite ( HexFmt _this,
const void ptr,
sal_uInt32  size 
)
static
static void vcl::HexFmtCloseString ( HexFmt _this)
static

Definition at line 284 of file sft.cxx.

References HexFmtFlush(), and vcl::HexFmt::o.

Referenced by DumpSfnts(), and HexFmtBlockWrite().

static void vcl::HexFmtDispose ( HexFmt _this)
static

Definition at line 290 of file sft.cxx.

References HexFmtFlush().

Referenced by DumpSfnts().

static bool vcl::HexFmtFlush ( HexFmt _this)
static

Definition at line 268 of file sft.cxx.

References vcl::HexFmt::buffer, vcl::HexFmt::bufpos, and vcl::HexFmt::o.

Referenced by HexFmtBlockWrite(), HexFmtCloseString(), and HexFmtDispose().

static HexFmt* vcl::HexFmtNew ( FILE *  outf)
static

Definition at line 260 of file sft.cxx.

References vcl::HexFmt::bufpos, vcl::HexFmt::o, smalloc(), and vcl::HexFmt::total.

Referenced by DumpSfnts().

static void vcl::HexFmtOpenString ( HexFmt _this)
static

Definition at line 279 of file sft.cxx.

References vcl::HexFmt::o.

Referenced by DumpSfnts(), and HexFmtBlockWrite().

vcl::IMPL_LINK ( EventPoster  ,
DoEvent_Impl  ,
void ,
void   
)

Definition at line 48 of file evntpost.cxx.

References DBG_TESTSOLARMUTEX.

vcl::IMPL_LINK ( Window  ,
ImplTrackTimerHdl  ,
Timer ,
pTimer  ,
void   
)
vcl::IMPL_LINK ( ORoadmap  ,
ImplClickHdl  ,
HyperLabel ,
CurHyperLabel  ,
void   
)

Definition at line 625 of file roadmap.cxx.

vcl::IMPL_LINK ( RoadmapWizardMachine  ,
OnRoadmapItemSelected  ,
const OString &  ,
rCurItemId  ,
bool   
)

Definition at line 669 of file roadmapwizard.cxx.

References DBG_ASSERT.

vcl::IMPL_LINK_NOARG ( QuickSelectionEngine_Data  ,
SearchStringTimeout  ,
Timer ,
void   
)

Definition at line 69 of file quickselectionengine.cxx.

vcl::IMPL_LINK_NOARG ( RoadmapWizard  ,
ImplHandleWizardLayoutTimerHdl  ,
Timer ,
void   
)

Definition at line 144 of file wizardmachine.cxx.

vcl::IMPL_LINK_NOARG ( Window  ,
ImplGenerateMouseMoveHdl  ,
void ,
void   
)
vcl::IMPL_LINK_NOARG ( RoadmapWizard  ,
OnRoadmapItemSelected  ,
LinkParamNone ,
void   
)

Definition at line 629 of file roadmapwizard.cxx.

References DBG_ASSERT.

vcl::IMPL_LINK_NOARG ( Window  ,
ImplHandlePaintHdl  ,
Timer ,
void   
)

Definition at line 637 of file paint.cxx.

References comphelper::LibreOfficeKit::isActive().

vcl::IMPL_LINK_NOARG ( Window  ,
ImplHandleResizeTimerHdl  ,
Timer ,
void   
)

Definition at line 663 of file paint.cxx.

vcl::IMPL_LINK_NOARG ( RoadmapWizard  ,
OnFinish  ,
Button ,
void   
)

Definition at line 726 of file wizardmachine.cxx.

References vcl::WizardTypes::eFinish.

vcl::IMPL_LINK_NOARG ( RoadmapWizard  ,
OnPrevPage  ,
Button ,
void   
)

Definition at line 883 of file wizardmachine.cxx.

vcl::IMPL_LINK_NOARG ( RoadmapWizard  ,
OnNextPage  ,
Button ,
void   
)

Definition at line 891 of file wizardmachine.cxx.

vcl::IMPL_LINK_NOARG ( WizardMachine  ,
OnFinish  ,
weld::Button ,
void   
)

Definition at line 1138 of file wizardmachine.cxx.

References vcl::WizardTypes::eFinish.

vcl::IMPL_LINK_NOARG ( WizardMachine  ,
OnCancel  ,
weld::Button ,
void   
)

Definition at line 1150 of file wizardmachine.cxx.

References RET_CANCEL.

vcl::IMPL_LINK_NOARG ( WizardMachine  ,
OnPrevPage  ,
weld::Button ,
void   
)

Definition at line 1380 of file wizardmachine.cxx.

vcl::IMPL_LINK_NOARG ( WizardMachine  ,
OnNextPage  ,
weld::Button ,
void   
)

Definition at line 1388 of file wizardmachine.cxx.

static std::unique_ptr<RegionBand> vcl::ImplCreateRegionBandFromPolyPolygon ( const tools::PolyPolygon rPolyPolygon)
static
static void vcl::ImplDlgCtrlUpdateDefButton ( vcl::Window pParent,
vcl::Window pFocusWindow,
bool  bGetFocus 
)
static
static Window* vcl::ImplGetLabeledBy ( Window pFrameWindow,
WindowType  nMyType,
Window pLabeled 
)
static
static SystemWindow* vcl::ImplGetLastSystemWindow ( vcl::Window pWin)
static

Definition at line 815 of file stacking.cxx.

References vcl::Window::GetParent(), and vcl::Window::IsSystemWindow().

Referenced by vcl::Window::SetParent().

static bool vcl::ImplPolygonRectTest ( const tools::Polygon rPoly,
tools::Rectangle pRectOut = nullptr 
)
static
static MouseEvent vcl::ImplTranslateMouseEvent ( const MouseEvent rE,
vcl::Window const *  pSource,
vcl::Window const *  pDest 
)
static
VCL_DLLPUBLIC bool vcl::ImportPDF ( SvStream rStream,
Bitmap rBitmap,
size_t  nPageIndex,
std::vector< sal_Int8 > &  rPdfData,
sal_uInt64  nPos,
sal_uInt64  nSize,
const double  fResolutionDPI 
)

Imports a PDF stream into rGraphic as a GDIMetaFile.

Definition at line 224 of file pdfread.cxx.

References SvStream::ReadBytes(), SvStream::Seek(), STREAM_SEEK_TO_BEGIN, and SvMemoryStream::TellEnd().

Referenced by GraphicFilter::ImportGraphic().

VCL_DLLPUBLIC bool vcl::ImportPDF ( SvStream rStream,
Graphic rGraphic,
const double  fResolutionDPI 
)
VCL_DLLPUBLIC size_t vcl::ImportPDF ( const OUString &  rURL,
std::vector< Bitmap > &  rBitmaps,
std::vector< sal_Int8 > &  rPdfData,
const double  fResolutionDPI 
)
VCL_DLLPUBLIC size_t vcl::ImportPDFUnloaded ( const OUString &  rURL,
std::vector< std::pair< Graphic, Size >> &  rGraphics,
double  fResolutionDPI = 96. 
)

Import PDF as Graphic images (1 per page), all unloaded.

Since Graphic is unloaded, we need to return the page size (in pixels) separately. Does not set rPdfData if no conversion is done. Returns the number of pages read.

Definition at line 283 of file pdfread.cxx.

References utl::UcbStreamHelper::CreateStream(), NativePdf, pointToPixel(), SvStream::ReadBytes(), SvStream::Seek(), Graphic::SetGfxLink(), Graphic::setPageNumber(), Graphic::setPdfData(), STREAM_SEEK_TO_BEGIN, STREAM_SEEK_TO_END, SvStream::Tell(), void(), and xStream.

static sal_uInt16 vcl::Int16FromMOTA ( sal_uInt16  a)
static

Definition at line 167 of file sft.cxx.

Referenced by GEbinsearch(), getGlyph2(), getGlyph4(), and getGlyph6().

static sal_uInt32 vcl::Int32FromMOTA ( sal_uInt32  a)
static

Definition at line 170 of file sft.cxx.

Referenced by getGlyph12().

static bool vcl::IsWindowFocused ( const WindowImpl rWinImpl)
static
template<class GEOMETRY >
static GEOMETRY vcl::lcl_convert ( const MapMode _rSource,
const MapMode _rDest,
OutputDevice _pPixelConversion,
const GEOMETRY &  _rObject 
)
static
static void vcl::lcl_HandleScrollHelper ( ScrollBar pScrl,
double  nN,
bool  isMultiplyByLineSize 
)
static
static bool vcl::lcl_ToolBoxTabStop ( Window pWindow)
static
static char* vcl::nameExtract ( const sal_uInt8 name,
int  nTableSize,
int  n,
int  dbFlag,
sal_Unicode **  ucs2result 
)
static

Definition at line 813 of file sft.cxx.

References GetUInt16(), and i.

Referenced by GetNames().

static int vcl::NameRecordCompareF ( const void l,
const void r 
)
static
static NameRecord* vcl::NameRecordNewCopy ( NameRecord const *  nr)
static

Definition at line 971 of file ttcr.cxx.

References vcl::NameRecord::slen, smalloc(), and vcl::NameRecord::sptr.

Referenced by TrueTypeTableNew_name().

static sal_uInt8* vcl::PackCmap ( CmapSubTable const *  s,
sal_uInt32 *  length 
)
static

Definition at line 626 of file ttcr.cxx.

References vcl::CmapSubTable::n, PackCmapType0(), PackCmapType6(), and vcl::CmapSubTable::xg.

Referenced by GetRawData_cmap().

static sal_uInt8* vcl::PackCmapType0 ( CmapSubTable const *  s,
sal_uInt32 *  length 
)
static

Definition at line 575 of file ttcr.cxx.

References i, vcl::CmapSubTable::n, PutUInt16(), smalloc(), vcl::CmapSubTable::xc, and vcl::CmapSubTable::xg.

Referenced by PackCmap().

static sal_uInt8* vcl::PackCmapType6 ( CmapSubTable const *  s,
sal_uInt32 *  length 
)
static

Definition at line 599 of file ttcr.cxx.

References i, vcl::CmapSubTable::n, PutUInt16(), smalloc(), vcl::CmapSubTable::xc, and vcl::CmapSubTable::xg.

Referenced by PackCmap().

static void vcl::ProcessTables ( TrueTypeCreator tt)
static
static void vcl::PutInt16 ( sal_Int16  val,
sal_uInt8 ptr,
sal_uInt32  offset 
)
static

Definition at line 63 of file ttcr.cxx.

Referenced by ProcessTables().

static void vcl::PutUInt16 ( sal_uInt16  val,
sal_uInt8 ptr,
sal_uInt32  offset 
)
static
static void vcl::PutUInt32 ( sal_uInt32  val,
sal_uInt8 ptr,
sal_uInt32  offset 
)
static
SvStream& vcl::ReadRegion ( SvStream rIStrm,
vcl::Region rRegion 
)
void vcl::RemoveTable ( TrueTypeCreator _this,
sal_uInt32  tag 
)

Removes a TrueType table from the TrueType creator if it is stored there.

It also calls a TrueTypeTable destructor. Note: all generic tables (with tag 0) will be removed if this function is called with the second argument of 0.

Returns
value of SFErrCodes type

Definition at line 160 of file ttcr.cxx.

References listCount(), listCurrent(), listNext(), listRemove(), listToFirst(), and vcl::TrueTypeCreator::tables.

Referenced by ProcessTables().

VCL_DLLPUBLIC size_t vcl::RenderPDFBitmaps ( const void pBuffer,
int  nSize,
std::vector< Bitmap > &  rBitmaps,
const size_t  nFirstPage,
int  nPages,
const double  fResolutionDPI 
)

Fills the rBitmaps vector with rendered pages.

Definition at line 151 of file pdfread.cxx.

References BitmapWriteAccess::CopyScanline(), N32BitTcBgra, pointToPixel(), and void().

Referenced by ReadImpGraphic().

static UBool vcl::sameScript ( int32_t  scriptOne,
int32_t  scriptTwo 
)
static

Definition at line 140 of file scrptrun.cxx.

Referenced by vcl::ScriptRun::next().

static void* vcl::scalloc ( size_t  n,
size_t  size 
)
static
static void* vcl::scalloc ( sal_uInt32  n,
sal_uInt32  size 
)
static

Definition at line 130 of file ttcr.cxx.

static void* vcl::smalloc ( size_t  size)
static
static void* vcl::smalloc ( sal_uInt32  size)
static

Definition at line 123 of file ttcr.cxx.

SFErrCodes vcl::StreamToFile ( TrueTypeCreator _this,
const char *  fname 
)

Writes a TrueType font generated by the TrueTypeCreator to a file.

Returns
value of SFErrCodes type

Definition at line 263 of file ttcr.cxx.

References BadFile, FileIo, length, Ok, and StreamToMemory().

Referenced by CreateTTFromTTGlyphs().

SFErrCodes vcl::StreamToMemory ( TrueTypeCreator _this,
sal_uInt8 **  ptr,
sal_uInt32 *  length 
)

Writes a TrueType font generated by the TrueTypeCreator to a segment of memory that this method allocates.

When it is not needed anymore the caller is supposed to call free() on it.

Returns
value of SFErrCodes type

Definition at line 184 of file ttcr.cxx.

References CheckSum(), vcl::TableEntry::data, GetRawData(), i, vcl::TableEntry::length, listCount(), listCurrent(), listIsEmpty(), listNext(), listToFirst(), Ok, ProcessTables(), PutUInt16(), PutUInt32(), scalloc(), smalloc(), T_head, TableEntryCompareF(), vcl::TrueTypeCreator::tables, vcl::TrueTypeCreator::tag, vcl::TableEntry::tag, tag, and TtFormat.

Referenced by CreateT42FromTTGlyphs(), and StreamToFile().

static int vcl::TableEntryCompareF ( const void l,
const void r 
)
static

Definition at line 89 of file ttcr.cxx.

References tag.

Referenced by StreamToMemory().

static char vcl::toHex ( sal_uInt8  nIndex)
static

Definition at line 252 of file sft.cxx.

References SAL_N_ELEMENTS.

Referenced by HexFmtBlockWrite().

sal_uInt16 vcl::TranslateChar12 ( sal_uInt16  src)

Definition at line 116 of file xlat.cxx.

sal_uInt16 vcl::TranslateChar13 ( sal_uInt16  src)

Definition at line 121 of file xlat.cxx.

sal_uInt16 vcl::TranslateChar14 ( sal_uInt16  src)

Definition at line 126 of file xlat.cxx.

sal_uInt16 vcl::TranslateChar15 ( sal_uInt16  src)

Definition at line 131 of file xlat.cxx.

sal_uInt16 vcl::TranslateChar16 ( sal_uInt16  src)

Definition at line 136 of file xlat.cxx.

void vcl::TrueTypeCreatorNewEmpty ( sal_uInt32  tag,
TrueTypeCreator **  _this 
)

TrueTypeCreator constructor.

Allocates all internal structures.

Definition at line 141 of file ttcr.cxx.

References listNewEmpty(), listSetElementDtor(), smalloc(), vcl::TrueTypeCreator::tables, vcl::TrueTypeCreator::tag, tag, and TrueTypeTableDispose().

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

static void vcl::TrueTypeTableDispose_cmap ( TrueTypeTable _this)
static

Definition at line 419 of file ttcr.cxx.

References vcl::TrueTypeTable::data, i, vcl::table_cmap::m, vcl::table_cmap::s, and t.

static void vcl::TrueTypeTableDispose_generic ( TrueTypeTable _this)
static
static void vcl::TrueTypeTableDispose_glyf ( TrueTypeTable _this)
static

Definition at line 411 of file ttcr.cxx.

References vcl::TrueTypeTable::data, and listDispose().

static void vcl::TrueTypeTableDispose_head ( TrueTypeTable _this)
static

Definition at line 375 of file ttcr.cxx.

References vcl::TrueTypeTable::data.

static void vcl::TrueTypeTableDispose_hhea ( TrueTypeTable _this)
static

Definition at line 383 of file ttcr.cxx.

References vcl::TrueTypeTable::data.

static void vcl::TrueTypeTableDispose_loca ( TrueTypeTable _this)
static

Definition at line 391 of file ttcr.cxx.

References vcl::TrueTypeTable::data, and vcl::tdata_loca::ptr.

static void vcl::TrueTypeTableDispose_maxp ( TrueTypeTable _this)
static

Definition at line 403 of file ttcr.cxx.

References vcl::TrueTypeTable::data.

static void vcl::TrueTypeTableDispose_name ( TrueTypeTable _this)
static

Definition at line 438 of file ttcr.cxx.

References vcl::TrueTypeTable::data, and listDispose().

static void vcl::TrueTypeTableDispose_post ( TrueTypeTable _this)
static

Definition at line 446 of file ttcr.cxx.

References vcl::TrueTypeTable::data, and vcl::tdata_post::format.

TrueTypeTable * vcl::TrueTypeTableNew ( sal_uInt32  tag,
sal_uInt32  nbytes,
const sal_uInt8 ptr 
)

Creates a new raw TrueType table.

The difference between this constructor and TrueTypeTableNew_tag constructors is that the latter create structured tables while this constructor just copies memory pointed to by ptr to its buffer and stores its length. This constructor is suitable for data that is not supposed to be processed in any way, just written to the resulting TTF file.

Definition at line 817 of file ttcr.cxx.

References vcl::TrueTypeTable::data, vcl::tdata_generic::nbytes, vcl::tdata_generic::ptr, vcl::TrueTypeTable::rawdata, smalloc(), table, vcl::TrueTypeTable::tag, vcl::tdata_generic::tag, tag, and ttmalloc().

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and ProcessTables().

TrueTypeTable * vcl::TrueTypeTableNew_cmap ( )
TrueTypeTable * vcl::TrueTypeTableNew_glyf ( )
TrueTypeTable * vcl::TrueTypeTableNew_head ( sal_uInt32  fontRevision,
sal_uInt16  flags,
sal_uInt16  unitsPerEm,
const sal_uInt8 created,
sal_uInt16  macStyle,
sal_uInt16  lowestRecPPEM,
sal_Int16  fontDirectionHint 
)

Creates a new 'head' table for a TrueType font.

Allocates memory for it. Since a lot of values in the 'head' table depend on the rest of the tables in the TrueType font this table should be the last one added to the font.

Definition at line 839 of file ttcr.cxx.

References vcl::TrueTypeTable::data, HEAD_Length, PutUInt16(), PutUInt32(), vcl::TrueTypeTable::rawdata, smalloc(), T_head, table, vcl::TrueTypeTable::tag, and ttmalloc().

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

TrueTypeTable * vcl::TrueTypeTableNew_hhea ( sal_Int16  ascender,
sal_Int16  descender,
sal_Int16  linegap,
sal_Int16  caretSlopeRise,
sal_Int16  caretSlopeRun 
)

Creates a new 'hhea' table for a TrueType font.

Allocates memory for it and stores it in the hhea pointer.

Definition at line 871 of file ttcr.cxx.

References vcl::TrueTypeTable::data, HHEA_Length, PutUInt16(), PutUInt32(), vcl::TrueTypeTable::rawdata, smalloc(), T_hhea, table, vcl::TrueTypeTable::tag, and ttmalloc().

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

TrueTypeTable * vcl::TrueTypeTableNew_loca ( )

Creates a new empty 'loca' table for a TrueType font.

INTERNAL: gets called only from ProcessTables();

Definition at line 900 of file ttcr.cxx.

References vcl::TrueTypeTable::data, vcl::TrueTypeTable::rawdata, smalloc(), T_loca, table, and vcl::TrueTypeTable::tag.

Referenced by ProcessTables().

TrueTypeTable * vcl::TrueTypeTableNew_maxp ( const sal_uInt8 maxp,
int  size 
)

Creates a new 'maxp' table based on an existing maxp table.

If maxp is 0, a new empty maxp table is created size specifies the size of existing maxp table for error-checking purposes

Definition at line 914 of file ttcr.cxx.

References vcl::TrueTypeTable::data, MAXP_Version1Length, vcl::TrueTypeTable::rawdata, smalloc(), T_maxp, table, vcl::TrueTypeTable::tag, and ttmalloc().

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

TrueTypeTable * vcl::TrueTypeTableNew_name ( int  n,
NameRecord const *  nr 
)

Creates a new 'name' table.

If n != 0 the table gets populated by the Name Records stored in the nr array. This function allocates memory for its own copy of NameRecords, so nr array has to be explicitly deallocated when it is not needed.

Definition at line 985 of file ttcr.cxx.

References vcl::TrueTypeTable::data, DisposeNameRecord(), i, listAppend(), listNewEmpty(), listSetElementDtor(), NameRecordNewCopy(), vcl::TrueTypeTable::rawdata, smalloc(), T_name, table, and vcl::TrueTypeTable::tag.

Referenced by CreateTTFromTTGlyphs().

TrueTypeTable * vcl::TrueTypeTableNew_post ( sal_Int32  format,
sal_Int32  italicAngle,
sal_Int16  underlinePosition,
sal_Int16  underlineThickness,
sal_uInt32  isFixedPitch 
)
static sal_uInt8* vcl::ttmalloc ( sal_uInt32  nbytes)
static
static long vcl::WinFloatRound ( double  fVal)
static

Definition at line 374 of file window2.cxx.

Referenced by vcl::Window::CalcZoom(), and vcl::Window::SetZoomedPointFont().

SvStream& vcl::WriteRegion ( SvStream rOStrm,
const vcl::Region rRegion 
)
static int vcl::XUnits ( int  unitsPerEm,
int  n 
)
static

Variable Documentation

ConverterCache vcl::aCC
static

Definition at line 114 of file xlat.cxx.

const char vcl::EXTENSION_FOR_ICON_PACKAGES[] = ".zip"
static

Definition at line 44 of file IconThemeInfo.cxx.

int(* vcl::f) (TrueTypeTable *, sal_uInt8 **, sal_uInt32 *, sal_uInt32 *)
const std::map< PointerStyle, OString > vcl::gaLOKPointerMap

Definition at line 28 of file ITiledRenderable.cxx.

Referenced by vcl::Window::SetPointer().

constexpr int vcl::GLYF_Length = 10

Definition at line 420 of file sft.hxx.

constexpr int vcl::GLYF_numberOfContours_offset = 0

Definition at line 422 of file sft.hxx.

Referenced by GetCompoundTTOutline(), and GetSimpleTTOutline().

constexpr int vcl::GLYF_xMax_offset = 6

Definition at line 425 of file sft.hxx.

Referenced by GetCompoundTTOutline(), and GetSimpleTTOutline().

constexpr int vcl::GLYF_xMin_offset = 2

Definition at line 423 of file sft.hxx.

Referenced by GetCompoundTTOutline(), and GetSimpleTTOutline().

constexpr int vcl::GLYF_yMax_offset = 8

Definition at line 426 of file sft.hxx.

Referenced by GetCompoundTTOutline(), and GetSimpleTTOutline().

constexpr int vcl::GLYF_yMin_offset = 4

Definition at line 424 of file sft.hxx.

Referenced by GetCompoundTTOutline(), and GetSimpleTTOutline().

constexpr int vcl::HEAD_created_offset = 20

Definition at line 367 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

constexpr int vcl::HEAD_flags_offset = 16

Definition at line 365 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

constexpr int vcl::HEAD_fontDirectionHint_offset = 48

Definition at line 374 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

constexpr int vcl::HEAD_fontRevision_offset = 4

Definition at line 363 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

constexpr int vcl::HEAD_glyphDataFormat_offset = 52

Definition at line 376 of file sft.hxx.

constexpr int vcl::HEAD_indexToLocFormat_offset = 50

Definition at line 375 of file sft.hxx.

Referenced by doOpenTTFont(), and ProcessTables().

constexpr int vcl::HEAD_Length = 54

Definition at line 360 of file sft.hxx.

Referenced by doOpenTTFont(), GetRawData_head(), and TrueTypeTableNew_head().

constexpr int vcl::HEAD_lowestRecPPEM_offset = 46

Definition at line 373 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

constexpr int vcl::HEAD_macStyle_offset = 44

Definition at line 372 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and GetTTGlobalFontInfo().

constexpr int vcl::HEAD_magicNumber_offset = 12

Definition at line 364 of file sft.hxx.

constexpr int vcl::HEAD_majorVersion_offset = 0

Definition at line 362 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs().

constexpr int vcl::HEAD_unitsPerEm_offset = 18

Definition at line 366 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr int vcl::HEAD_xMax_offset = 40

Definition at line 370 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), GetTTGlobalFontInfo(), and ProcessTables().

constexpr int vcl::HEAD_xMin_offset = 36

Definition at line 368 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), GetTTGlobalFontInfo(), and ProcessTables().

constexpr int vcl::HEAD_yMax_offset = 42

Definition at line 371 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), GetTTGlobalFontInfo(), and ProcessTables().

constexpr int vcl::HEAD_yMin_offset = 38

Definition at line 369 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), GetTTGlobalFontInfo(), and ProcessTables().

constexpr int vcl::HHEA_ascender_offset = 4
constexpr int vcl::HHEA_caretSlopeRise_offset = 18

Definition at line 313 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

constexpr int vcl::HHEA_caretSlopeRun_offset = 20

Definition at line 314 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), and CreateTTFromTTGlyphs().

constexpr int vcl::HHEA_descender_offset = 6
constexpr int vcl::HHEA_Length = 36

Definition at line 308 of file sft.hxx.

Referenced by GetRawData_hhea(), and TrueTypeTableNew_hhea().

constexpr int vcl::HHEA_lineGap_offset = 8
const char vcl::ICON_THEME_PACKAGE_PREFIX[] = "images_"
static

Definition at line 42 of file IconThemeInfo.cxx.

constexpr int vcl::MAXP_maxCompositeContours_offset = 12

Definition at line 402 of file sft.hxx.

Referenced by ProcessTables().

constexpr int vcl::MAXP_maxCompositePoints_offset = 10

Definition at line 401 of file sft.hxx.

Referenced by ProcessTables().

constexpr int vcl::MAXP_maxContours_offset = 8

Definition at line 400 of file sft.hxx.

Referenced by ProcessTables().

constexpr int vcl::MAXP_maxPoints_offset = 6

Definition at line 399 of file sft.hxx.

Referenced by ProcessTables().

constexpr int vcl::MAXP_numGlyphs_offset = 4

Definition at line 398 of file sft.hxx.

Referenced by ProcessTables().

constexpr int vcl::MAXP_Version1Length = 32

Definition at line 396 of file sft.hxx.

Referenced by GetRawData_maxp(), and TrueTypeTableNew_maxp().

const char* const vcl::modextra = "gelf"
static

Definition at line 53 of file sft.cxx.

const char* const vcl::modname = "SunTypeTools-TT"
static

Definition at line 51 of file sft.cxx.

const char* const vcl::modver = "1.0"
static

Definition at line 52 of file sft.cxx.

const sal_uInt8 vcl::mpDefaultColorTable[256]
static
Initial value:
=
{ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff
}

Definition at line 53 of file pngread.cxx.

constexpr int vcl::NUM_TAGS = 17

Definition at line 721 of file sft.hxx.

Referenced by doOpenTTFont(), and GetSfntTable().

constexpr int vcl::O_CFF = 16

Definition at line 720 of file sft.hxx.

Referenced by FontSubsetInfo::CreateFontSubsetFromSfnt(), and doOpenTTFont().

constexpr int vcl::O_cmap = 7

Definition at line 711 of file sft.hxx.

Referenced by doOpenTTFont(), and FindCmap().

constexpr int vcl::O_cvt = 12

Definition at line 716 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr int vcl::O_fpgm = 14

Definition at line 718 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr int vcl::O_glyf = 1
constexpr int vcl::O_gsub = 15

Definition at line 719 of file sft.hxx.

Referenced by doOpenTTFont().

constexpr int vcl::O_head = 2
constexpr int vcl::O_hhea = 5
constexpr int vcl::O_hmtx = 6

Definition at line 710 of file sft.hxx.

Referenced by doOpenTTFont(), GetMetrics(), GetTTRawGlyphData(), and GetTTSimpleGlyphMetrics().

constexpr int vcl::O_loca = 3

Definition at line 707 of file sft.hxx.

Referenced by doOpenTTFont().

constexpr int vcl::O_maxp = 0

Definition at line 704 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr int vcl::O_name = 4

Definition at line 708 of file sft.hxx.

Referenced by doOpenTTFont(), GetNames(), and GetTTNameRecords().

constexpr int vcl::O_OS2 = 10

Definition at line 714 of file sft.hxx.

Referenced by doOpenTTFont(), and GetTTGlobalFontInfo().

constexpr int vcl::O_post = 11

Definition at line 715 of file sft.hxx.

Referenced by CreateTTFromTTGlyphs(), doOpenTTFont(), and GetTTGlobalFontInfo().

constexpr int vcl::O_prep = 13

Definition at line 717 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr int vcl::O_vhea = 8

Definition at line 712 of file sft.hxx.

Referenced by doOpenTTFont(), and GetTTGlobalFontInfo().

constexpr int vcl::O_vmtx = 9

Definition at line 713 of file sft.hxx.

Referenced by doOpenTTFont(), GetMetrics(), and GetTTSimpleGlyphMetrics().

constexpr int vcl::OS2_fsSelection_offset = 62

Definition at line 272 of file sft.hxx.

Referenced by GetTTFontMetrics().

constexpr int vcl::OS2_fsType_offset = 8

Definition at line 265 of file sft.hxx.

Referenced by GetTTGlobalFontInfo().

constexpr int vcl::OS2_Legacy_length = 68

Definition at line 259 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_panose_offset = 32

Definition at line 266 of file sft.hxx.

Referenced by GetTTGlobalFontInfo().

constexpr int vcl::OS2_panoseNbBytes_offset = 10

Definition at line 267 of file sft.hxx.

Referenced by GetTTGlobalFontInfo().

constexpr int vcl::OS2_typoAscender_offset = 68

Definition at line 273 of file sft.hxx.

Referenced by GetTTFontMetrics(), and GetTTGlobalFontInfo().

constexpr int vcl::OS2_typoDescender_offset = 70

Definition at line 274 of file sft.hxx.

Referenced by GetTTFontMetrics(), and GetTTGlobalFontInfo().

constexpr int vcl::OS2_typoLineGap_offset = 72

Definition at line 275 of file sft.hxx.

Referenced by GetTTFontMetrics(), and GetTTGlobalFontInfo().

constexpr int vcl::OS2_ulCodePageRange1_offset = 78

Definition at line 278 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_ulCodePageRange2_offset = 82

Definition at line 279 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_ulUnicodeRange1_offset = 42

Definition at line 268 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_ulUnicodeRange2_offset = 46

Definition at line 269 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_ulUnicodeRange3_offset = 50

Definition at line 270 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_ulUnicodeRange4_offset = 54

Definition at line 271 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_usWeightClass_offset = 4

Definition at line 263 of file sft.hxx.

Referenced by GetTTGlobalFontInfo().

constexpr int vcl::OS2_usWidthClass_offset = 6

Definition at line 264 of file sft.hxx.

Referenced by GetTTGlobalFontInfo().

constexpr int vcl::OS2_V0_length = 78

Definition at line 260 of file sft.hxx.

Referenced by GetTTFontMetrics(), and GetTTGlobalFontInfo().

constexpr int vcl::OS2_V1_length = 86

Definition at line 261 of file sft.hxx.

Referenced by getTTCoverage().

constexpr int vcl::OS2_winAscent_offset = 74

Definition at line 276 of file sft.hxx.

Referenced by GetTTFontMetrics(), and GetTTGlobalFontInfo().

constexpr int vcl::OS2_winDescent_offset = 76

Definition at line 277 of file sft.hxx.

Referenced by GetTTFontMetrics(), and GetTTGlobalFontInfo().

constexpr int vcl::POST_isFixedPitch_offset = 12

Definition at line 331 of file sft.hxx.

Referenced by CreateTTFromTTGlyphs(), and GetTTGlobalFontInfo().

constexpr int vcl::POST_italicAngle_offset = 4

Definition at line 328 of file sft.hxx.

Referenced by CreateTTFromTTGlyphs(), and GetTTGlobalFontInfo().

constexpr int vcl::POST_underlinePosition_offset = 8

Definition at line 329 of file sft.hxx.

Referenced by CreateTTFromTTGlyphs().

constexpr int vcl::POST_underlineThickness_offset = 10

Definition at line 330 of file sft.hxx.

Referenced by CreateTTFromTTGlyphs().

constexpr sal_uInt32 vcl::T_CFF = 0x43464620

Definition at line 449 of file sft.hxx.

Referenced by doOpenTTFont().

constexpr sal_uInt32 vcl::T_cmap = 0x636D6170

Definition at line 440 of file sft.hxx.

Referenced by cmapAdd(), doOpenTTFont(), GetRawData_cmap(), and TrueTypeTableNew_cmap().

constexpr sal_uInt32 vcl::T_cvt = 0x63767420

Definition at line 445 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr sal_uInt32 vcl::T_fpgm = 0x6670676D

Definition at line 447 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr sal_uInt32 vcl::T_glyf = 0x676C7966
constexpr sal_uInt32 vcl::T_gsub = 0x47535542

Definition at line 448 of file sft.hxx.

Referenced by doOpenTTFont().

constexpr sal_uInt32 vcl::T_head = 0x68656164
constexpr sal_uInt32 vcl::T_hhea = 0x68686561

Definition at line 438 of file sft.hxx.

Referenced by doOpenTTFont(), GetRawData_hhea(), ProcessTables(), and TrueTypeTableNew_hhea().

constexpr sal_uInt32 vcl::T_hmtx = 0x686D7478

Definition at line 439 of file sft.hxx.

Referenced by doOpenTTFont(), and ProcessTables().

constexpr sal_uInt32 vcl::T_loca = 0x6C6F6361
constexpr sal_uInt32 vcl::T_maxp = 0x6D617870

Definition at line 433 of file sft.hxx.

Referenced by doOpenTTFont(), GetRawData_maxp(), ProcessTables(), and TrueTypeTableNew_maxp().

constexpr sal_uInt32 vcl::T_name = 0x6E616D65

Definition at line 437 of file sft.hxx.

Referenced by doOpenTTFont(), GetRawData_name(), and TrueTypeTableNew_name().

constexpr sal_uInt32 vcl::T_OS2 = 0x4F532F32

Definition at line 443 of file sft.hxx.

Referenced by doOpenTTFont().

constexpr sal_uInt32 vcl::T_otto = 0x4f54544f

Definition at line 430 of file sft.hxx.

Referenced by doOpenTTFont().

constexpr sal_uInt32 vcl::T_post = 0x706F7374

Definition at line 444 of file sft.hxx.

Referenced by doOpenTTFont(), GetRawData_post(), and TrueTypeTableNew_post().

constexpr sal_uInt32 vcl::T_prep = 0x70726570

Definition at line 446 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr sal_uInt32 vcl::T_true = 0x74727565

Definition at line 428 of file sft.hxx.

Referenced by CreateT42FromTTGlyphs(), CreateTTFromTTGlyphs(), and doOpenTTFont().

constexpr sal_uInt32 vcl::T_ttcf = 0x74746366

Definition at line 429 of file sft.hxx.

Referenced by CountTTCFonts(), and doOpenTTFont().

constexpr sal_uInt32 vcl::T_vhea = 0x76686561

Definition at line 441 of file sft.hxx.

Referenced by doOpenTTFont().

constexpr sal_uInt32 vcl::T_vmtx = 0x766D7478

Definition at line 442 of file sft.hxx.

Referenced by doOpenTTFont().

sal_uInt32 vcl::tag
struct { ... } vcl::vtable1[]
Initial value:
=
{
}
constexpr sal_uInt32 T_head
Definition: sft.hxx:435
static void TrueTypeTableDispose_cmap(TrueTypeTable *_this)
Definition: ttcr.cxx:419
constexpr sal_uInt32 T_hhea
Definition: sft.hxx:438
static void TrueTypeTableDispose_maxp(TrueTypeTable *_this)
Definition: ttcr.cxx:403
constexpr sal_uInt32 T_loca
Definition: sft.hxx:436
constexpr sal_uInt32 T_cmap
Definition: sft.hxx:440
static void TrueTypeTableDispose_post(TrueTypeTable *_this)
Definition: ttcr.cxx:446
static void TrueTypeTableDispose_name(TrueTypeTable *_this)
Definition: ttcr.cxx:438
constexpr sal_uInt32 T_maxp
Definition: sft.hxx:433
constexpr sal_uInt32 T_glyf
Definition: sft.hxx:434
static void TrueTypeTableDispose_generic(TrueTypeTable *_this)
Definition: ttcr.cxx:363
static void TrueTypeTableDispose_head(TrueTypeTable *_this)
Definition: ttcr.cxx:375
static void TrueTypeTableDispose_loca(TrueTypeTable *_this)
Definition: ttcr.cxx:391
constexpr sal_uInt32 T_name
Definition: sft.hxx:437
constexpr sal_uInt32 T_post
Definition: sft.hxx:444
static void TrueTypeTableDispose_glyf(TrueTypeTable *_this)
Definition: ttcr.cxx:411
static void TrueTypeTableDispose_hhea(TrueTypeTable *_this)
Definition: ttcr.cxx:383

Referenced by TrueTypeTableDispose().

struct { ... } vcl::vtable2[]
Initial value:
=
{
}
constexpr sal_uInt32 T_head
Definition: sft.hxx:435
static int GetRawData_glyf(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:537
constexpr sal_uInt32 T_hhea
Definition: sft.hxx:438
constexpr sal_uInt32 T_loca
Definition: sft.hxx:436
static int GetRawData_generic(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:481
constexpr sal_uInt32 T_cmap
Definition: sft.hxx:440
static int GetRawData_head(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:493
static int GetRawData_maxp(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:528
constexpr sal_uInt32 T_maxp
Definition: sft.hxx:433
constexpr sal_uInt32 T_glyf
Definition: sft.hxx:434
static int GetRawData_loca(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:511
static int GetRawData_name(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:684
constexpr sal_uInt32 T_name
Definition: sft.hxx:437
constexpr sal_uInt32 T_post
Definition: sft.hxx:444
static int GetRawData_post(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:755
static int GetRawData_hhea(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:502
static int GetRawData_cmap(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag)
Definition: ttcr.cxx:634

Referenced by GetRawData().