Text Module

Types

A3DPDFTextData
A3DPDFTextDataEx
A3DPDFEFontName
A3DPDFELanguage
A3DPDFETableTextHorizontalAlign
A3DPDFETableTextVerticalAlign

Fields

kA3DPDFFontTimesRoman
kA3DPDFFontTimesItalic
kA3DPDFFontTimesBold
kA3DPDFFontTimesBoldItalic
kA3DPDFFontHelvetica
kA3DPDFFontHelveticaOblique
kA3DPDFFontHelveticaBold
kA3DPDFFontHelveticaBoldOblique
kA3DPDFFontCourier
kA3DPDFFontCourierOblique
kA3DPDFFontCourierBold
kA3DPDFFontCourierBoldOblique
kA3DPDFFontSymbol
kA3DPDFFontZapfDingbats
kA3DPDFASCII
kA3DPDFEastEuropeanRoman
kA3DPDFCyrillic
kA3DPDFGreek
kA3DPDFTurkish
kA3DPDFHebrew
kA3DPDFArabic
kA3DPDFBaltic
kA3DPDFChineseTraditional
kA3DPDFChineseSimplified
kA3DPDFJapanese
kA3DPDFKorean
kA3DPDFSymbol
kA3DPDFLangAutoDetect
kA3DPDFTableAlignHInherit
kA3DPDFTableAlignHLeft
kA3DPDFTableAlignHCentered
kA3DPDFTableAlignHRight
kA3DPDFTableAlignVInherit
kA3DPDFTableAlignVTop
kA3DPDFTableAlignVMiddle
kA3DPDFTableAlignVBottom

Functions

A3DStatus A3DPDFTextCreate()
A3DStatus A3DPDFTextCreateEx()
A3DStatus A3DPDFTextGetWidth()
A3DStatus A3DPDFPageInsertText()
A3DStatus A3DPDFPageInsertTextInTable()

Detailed Description

group a3d_pdf_text_module

Adds text lines in the page.

This module describes the functions and structures that allow you to add Text lines in the page. Text lines can only be added on a page, and cannot be retrieved from an existing page.

Type Documentation

enum A3DPDFEFontName

Different predefined fonts.

The PDF format includes a set of 14 standard fonts that can be used without prior definition. HOOPS Publish can set text using the base 14 fonts, even if the fonts do not exist on the local system. These fonts are automatically supported by default by Adobe Reader. Nothing specific is required to display these fonts. The font will be referenced (not embedded), which is an appropriate method for a Base14 font references. Any viewer should be able to display the resulting text, either in the referenced font or in a suitable substitute.

To have the set of characters supported by these fonts, please refer to the PDF norm annex D.2 for latin fonts and D.6 for symbol fonts. Symbol and Zapfindgbats fonts have built-in encodings. Other latin fonts (Times, Courier, Helvetica) are encoded with WinAnsiEncoding.

Version
4.1

Values:

enumerator kA3DPDFFontTimesRoman

Adobe standard Times font, with a normal face.

enumerator kA3DPDFFontTimesItalic

Adobe standard Times font, with a italic face.

enumerator kA3DPDFFontTimesBold

Adobe standard Times font, with a bold face.

enumerator kA3DPDFFontTimesBoldItalic

Adobe standard Times font, with a bold-italic face.

enumerator kA3DPDFFontHelvetica

Adobe standard Helvetica font, with a normal face.

enumerator kA3DPDFFontHelveticaOblique

Adobe standard Helvetica font, with a italic face.

enumerator kA3DPDFFontHelveticaBold

Adobe standard Helvetica font, with a bold face.

enumerator kA3DPDFFontHelveticaBoldOblique

Adobe standard Helvetica font, with a bold-italic face.

enumerator kA3DPDFFontCourier

Adobe standard Courier font, with a normal face.

enumerator kA3DPDFFontCourierOblique

Adobe standard Courier font, with a italic face.

enumerator kA3DPDFFontCourierBold

Adobe standard Courier font, with a bold face.

enumerator kA3DPDFFontCourierBoldOblique

Adobe standard Courier font, with a bold-italic face.

enumerator kA3DPDFFontSymbol

Adobe standard Symbol font.

enumerator kA3DPDFFontZapfDingbats

Adobe standard ZapfDingbats font.

enum A3DPDFELanguage

Languages supported for text strings.

Version
5.0

Values:

enumerator kA3DPDFASCII

ASCII.

enumerator kA3DPDFEastEuropeanRoman

East European Roman.

enumerator kA3DPDFCyrillic

Cyrillic.

enumerator kA3DPDFGreek

Greek.

enumerator kA3DPDFTurkish

Turkish.

enumerator kA3DPDFHebrew

Hebrew.

enumerator kA3DPDFArabic

Arabic.

enumerator kA3DPDFBaltic

Baltic.

enumerator kA3DPDFChineseTraditional

Traditional Chinese.

enumerator kA3DPDFChineseSimplified

Simplified Chinese.

enumerator kA3DPDFJapanese

Japanese.

enumerator kA3DPDFKorean

Korean.

enumerator kA3DPDFSymbol

Symbols.

enumerator kA3DPDFLangAutoDetect

Automatic language detection depending on font used.

enum A3DPDFETableTextHorizontalAlign

Horizontal alignements supported for text strings in a table.

Version
23.0

Values:

enumerator kA3DPDFTableAlignHInherit

The alignement is inherited from upper level style.

enumerator kA3DPDFTableAlignHLeft

The text is left justified.

enumerator kA3DPDFTableAlignHCentered

The text is centered.

enumerator kA3DPDFTableAlignHRight

The text is right justified.

enum A3DPDFETableTextVerticalAlign

Vertical alignements supported for text strings in a table.

Version
23.0

Values:

enumerator kA3DPDFTableAlignVInherit

The alignement is inherited from upper level style.

enumerator kA3DPDFTableAlignVTop

The text is vertically aligned to the top.

enumerator kA3DPDFTableAlignVMiddle

The text is vertically centered.

enumerator kA3DPDFTableAlignVBottom

The text is vertically aligned to the bottom.

Function Documentation