LibreOffice Module emfio (master) 1
|
Namespaces | |
namespace | emfreader |
Classes | |
struct | BSaveStruct |
class | EmfReader |
struct | GDIObj |
struct | LOGFONTW |
class | MtfTools |
struct | SaveStruct |
class | ScaledFontDetectCorrectHelper |
class | WinMtfClipPath |
struct | WinMtfFillStyle |
struct | WinMtfFontStyle |
struct | WinMtfLineStyle |
struct | WinMtfPalette |
class | WinMtfPathObj |
class | WmfReader |
struct | XForm |
Enumerations | |
enum class | RegionMode : sal_uInt32 { RGN_AND = 0x01 , RGN_OR = 0x02 , RGN_XOR = 0x03 , RGN_DIFF = 0x04 , RGN_COPY = 0x05 } |
enum class | BackgroundMode : sal_uInt32 { NONE = 0 , Transparent = 1 , OPAQUE = 2 } |
enum class | ModifyWorldTransformMode : sal_uInt32 { MWT_IDENTITY = 0x01 , MWT_LEFTMULTIPLY = 0x02 , MWT_RIGHTMULTIPLY = 0x03 , MWT_SET = 0x04 } |
enum class | StockObject : sal_uInt32 { WHITE_BRUSH = 0 , LTGRAY_BRUSH = 1 , GRAY_BRUSH = 2 , DKGRAY_BRUSH = 3 , BLACK_BRUSH = 4 , NULL_BRUSH = 5 , WHITE_PEN = 6 , BLACK_PEN = 7 , NULL_PEN = 8 , ANSI_FIXED_FONT = 11 , ANSI_VAR_FONT = 12 , SYSTEM_FIXED_FONT = 16 } |
enum class | WMFRasterOp : sal_uInt16 { NONE = 0 , Black = 1 , Not = 6 , XorPen = 7 , Nop = 11 , CopyPen = 13 } |
enum | MappingMode : sal_uInt32 { MM_TEXT = 0x01 , MM_LOMETRIC = 0x02 , MM_HIMETRIC = 0x03 , MM_LOENGLISH = 0x04 , MM_HIENGLISH = 0x05 , MM_TWIPS = 0x06 , MM_ISOTROPIC = 0x07 , MM_ANISOTROPIC = 0x08 } |
enum class | GraphicsMode : sal_uInt32 { GM_COMPATIBLE = 0x00000001 , GM_ADVANCED = 0x00000002 } |
enum class | StretchMode : sal_uInt16 { BLACKONWHITE = 0x0001 , WHITEONBLACK = 0x0002 , COLORONCOLOR = 0x0003 , HALFTONE = 0x0004 , STRETCH_ANDSCANS = BLACKONWHITE , STRETCH_ORSCANS = WHITEONBLACK , STRETCH_DELETESCANS = COLORONCOLOR } |
enum | TextAlignmentMode : sal_uInt16 { TA_NOUPDATECP = 0x0000 , TA_UPDATECP = 0x0001 , TA_LEFT = 0x0000 , TA_RIGHT = 0x0002 , TA_CENTER = 0x0006 , TA_RIGHT_CENTER = (TA_RIGHT | TA_CENTER) , TA_TOP = 0x0000 , TA_BOTTOM = 0x0008 , TA_BASELINE = 0x0010 , TA_RTLREADING = 0x0100 } |
enum | TernaryRasterOperation : sal_uInt32 { SRCCOPY = 0x00CC0020L , SRCPAINT = 0x00EE0086L , SRCAND = 0x008800C6L , SRCINVERT = 0x00660046L , SRCERASE = 0x00440328L , PATCOPY = 0x00F00021L , PATINVERT = 0x005A0049L , BLACKNESS = 0x00000042L , WHITENESS = 0x00FF0062L } |
enum | PenStyle : sal_uInt32 { PS_COSMETIC = 0x00000000 , PS_SOLID = 0x00000000 , PS_DASH = 0x00000001 , PS_DOT = 0x00000002 , PS_DASHDOT = 0x00000003 , PS_DASHDOTDOT = 0x00000004 , PS_NULL = 0x00000005 , PS_INSIDEFRAME = 0x00000006 , PS_USERSTYLE = 0x00000007 , PS_ALTERNATE = 0x00000008 , PS_STYLE_MASK = 0x0000000F , PS_ENDCAP_ROUND = 0x00000000 , PS_ENDCAP_SQUARE = 0x00000100 , PS_ENDCAP_FLAT = 0x00000200 , PS_ENDCAP_STYLE_MASK = 0x00000F00 , PS_JOIN_ROUND = 0x00000000 , PS_JOIN_BEVEL = 0x00001000 , PS_JOIN_MITER = 0x00002000 , PS_JOIN_STYLE_MASK = 0x0000F000 , PS_GEOMETRIC = 0x00010000 } |
enum | CharacterSet : sal_uInt8 { ANSI_CHARSET = 0x00000000 , DEFAULT_CHARSET = 0x00000001 , SYMBOL_CHARSET = 0x00000002 , SHIFTJIS_CHARSET = 0x00000080 , HANGUL_CHARSET = 0x00000081 , GB2312_CHARSET = 0x00000086 , CHINESEBIG5_CHARSET = 0x00000088 , OEM_CHARSET = 0x000000FF , MAC_CHARSET = 0x0000004D , JOHAB_CHARSET = 0x00000082 , GREEK_CHARSET = 0x000000A1 , TURKISH_CHARSET = 0x000000A2 , VIETNAMESE_CHARSET = 0x000000A3 , HEBREW_CHARSET = 0x000000B1 , ARABIC_CHARSET = 0x000000B2 , BALTIC_CHARSET = 0x000000BA , RUSSIAN_CHARSET = 0x000000CC , THAI_CHARSET = 0x000000DE , EASTEUROPE_CHARSET = 0x000000EE } |
enum | ExtTextOutOptions : sal_uInt32 { ETO_OPAQUE = 0x0002 , ETO_CLIPPED = 0x0004 , ETO_GLYPH_INDEX = 0x0010 , ETO_RTLREADING = 0x0080 , ETO_NO_RECT = 0x0100 , ETO_PDY = 0x2000 } |
enum | PitchFont : sal_uInt8 { DEFAULT_PITCH = 0 , FIXED_PITCH = 1 , VARIABLE_PITCH = 2 } |
enum | FamilyFont : sal_uInt8 { FF_DONTCARE = 0x00 , FF_ROMAN = 0x01 , FF_SWISS = 0x02 , FF_MODERN = 0x03 , FF_SCRIPT = 0x04 , FF_DECORATIVE = 0x05 } |
enum | WeightFont { 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_ULTRALIGHT = 200 , FW_ULTRABOLD = 800 , FW_BLACK = 900 } |
enum class | BrushStyle : sal_uInt16 { BS_SOLID = 0 , BS_NULL = 1 , BS_HOLLOW = 1 , BS_HATCHED = 2 , BS_PATTERN = 3 , BS_INDEXED = 4 , BS_DIBPATTERN = 5 , BS_DIBPATTERNPT = 6 , BS_PATTERN8X8 = 7 , BS_DIBPATTERN8X8 = 8 , BS_MONOPATTERN = 9 } |
enum class | WinMtfFillStyleType { Solid , Pattern } |
Functions | |
static SvStream & | operator>> (SvStream &rStream, sal_Int16 &n) |
static SvStream & | operator>> (SvStream &rStream, sal_Int32 &n) |
SvStream & | operator>> (SvStream &rInStream, XForm &rXForm) |
Variables | |
const sal_uInt32 | EMR_COMMENT_BEGINGROUP = 0x00000002 |
const sal_uInt32 | EMR_COMMENT_ENDGROUP = 0x00000003 |
const sal_uInt32 | EMR_COMMENT_MULTIFORMATS = 0x40000004 |
const sal_uInt32 | EMR_COMMENT_WINDOWS_METAFILE = 0x80000001 |
const tools::Long | aMaxWidth = 1024 |
constexpr sal_uInt32 | ENHMETA_STOCK_OBJECT = 0x80000000 |
constexpr sal_Int32 | LF_FACESIZE = 32 |
constexpr sal_Int32 | RDH_RECTANGLES = 1 |
constexpr sal_Int32 | W_MFCOMMENT = 15 |
constexpr sal_Int32 | PRIVATE_ESCAPE_UNICODE = 2 |
constexpr sal_Int32 | UNDOCUMENTED_WIN_RCL_RELATION = 32 |
constexpr sal_Int32 | MS_FIXPOINT_BITCOUNT_28_4 = 4 |
|
strong |
Enumerator | |
---|---|
NONE | |
Transparent | |
OPAQUE |
Definition at line 46 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
BS_SOLID | |
BS_NULL | |
BS_HOLLOW | |
BS_HATCHED | |
BS_PATTERN | |
BS_INDEXED | |
BS_DIBPATTERN | |
BS_DIBPATTERNPT | |
BS_PATTERN8X8 | |
BS_DIBPATTERN8X8 | |
BS_MONOPATTERN |
Definition at line 307 of file mtftools.hxx.
enum emfio::CharacterSet : sal_uInt8 |
Definition at line 233 of file mtftools.hxx.
enum emfio::ExtTextOutOptions : sal_uInt32 |
Enumerator | |
---|---|
ETO_OPAQUE | |
ETO_CLIPPED | |
ETO_GLYPH_INDEX | |
ETO_RTLREADING | |
ETO_NO_RECT | |
ETO_PDY |
Definition at line 259 of file mtftools.hxx.
enum emfio::FamilyFont : sal_uInt8 |
Enumerator | |
---|---|
FF_DONTCARE | |
FF_ROMAN | |
FF_SWISS | |
FF_MODERN | |
FF_SCRIPT | |
FF_DECORATIVE |
Definition at line 281 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
GM_COMPATIBLE | |
GM_ADVANCED |
Definition at line 115 of file mtftools.hxx.
enum emfio::MappingMode : sal_uInt32 |
Enumerator | |
---|---|
MM_TEXT | |
MM_LOMETRIC | |
MM_HIMETRIC | |
MM_LOENGLISH | |
MM_HIENGLISH | |
MM_TWIPS | |
MM_ISOTROPIC | |
MM_ANISOTROPIC |
Definition at line 98 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
MWT_IDENTITY | |
MWT_LEFTMULTIPLY | |
MWT_RIGHTMULTIPLY | |
MWT_SET |
Definition at line 55 of file mtftools.hxx.
enum emfio::PenStyle : sal_uInt32 |
Definition at line 204 of file mtftools.hxx.
enum emfio::PitchFont : sal_uInt8 |
Enumerator | |
---|---|
DEFAULT_PITCH | |
FIXED_PITCH | |
VARIABLE_PITCH |
Definition at line 273 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
RGN_AND | |
RGN_OR | |
RGN_XOR | |
RGN_DIFF | |
RGN_COPY |
Definition at line 36 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
WHITE_BRUSH | |
LTGRAY_BRUSH | |
GRAY_BRUSH | |
DKGRAY_BRUSH | |
BLACK_BRUSH | |
NULL_BRUSH | |
WHITE_PEN | |
BLACK_PEN | |
NULL_PEN | |
ANSI_FIXED_FONT | |
ANSI_VAR_FONT | |
SYSTEM_FIXED_FONT |
Definition at line 67 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
BLACKONWHITE | |
WHITEONBLACK | |
COLORONCOLOR | |
HALFTONE | |
STRETCH_ANDSCANS | |
STRETCH_ORSCANS | |
STRETCH_DELETESCANS |
Definition at line 123 of file mtftools.hxx.
enum emfio::TernaryRasterOperation : sal_uInt32 |
Enumerator | |
---|---|
SRCCOPY | |
SRCPAINT | |
SRCAND | |
SRCINVERT | |
SRCERASE | |
PATCOPY | |
PATINVERT | |
BLACKNESS | |
WHITENESS |
Definition at line 190 of file mtftools.hxx.
enum emfio::TextAlignmentMode : sal_uInt16 |
Enumerator | |
---|---|
TA_NOUPDATECP | |
TA_UPDATECP | |
TA_LEFT | |
TA_RIGHT | |
TA_CENTER | |
TA_RIGHT_CENTER | |
TA_TOP | |
TA_BOTTOM | |
TA_BASELINE | |
TA_RTLREADING |
Definition at line 171 of file mtftools.hxx.
enum emfio::WeightFont |
Enumerator | |
---|---|
FW_THIN | |
FW_EXTRALIGHT | |
FW_LIGHT | |
FW_NORMAL | |
FW_MEDIUM | |
FW_SEMIBOLD | |
FW_BOLD | |
FW_EXTRABOLD | |
FW_ULTRALIGHT | |
FW_ULTRABOLD | |
FW_BLACK |
Definition at line 291 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
Solid | |
Pattern |
Definition at line 397 of file mtftools.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
Black | |
Not | |
XorPen | |
Nop | |
CopyPen |
Definition at line 85 of file mtftools.hxx.
Definition at line 50 of file mtftools.cxx.
References emfio::XForm::eDx, emfio::XForm::eDy, emfio::XForm::eM11, emfio::XForm::eM12, emfio::XForm::eM21, emfio::XForm::eM22, and SvStream::ReadFloat().
Definition at line 629 of file emfreader.cxx.
References n, and SvStream::ReadInt16().
Definition at line 634 of file emfreader.cxx.
References n, and SvStream::ReadInt32().
const tools::Long emfio::aMaxWidth = 1024 |
Definition at line 1341 of file wmfreader.cxx.
Referenced by emfio::WmfReader::GetPlaceableBound(), and emfio::WmfReader::ReadHeader().
const sal_uInt32 emfio::EMR_COMMENT_BEGINGROUP = 0x00000002 |
Definition at line 415 of file emfreader.cxx.
Referenced by emfio::EmfReader::ReadGDIComment().
const sal_uInt32 emfio::EMR_COMMENT_ENDGROUP = 0x00000003 |
Definition at line 416 of file emfreader.cxx.
Referenced by emfio::EmfReader::ReadGDIComment().
const sal_uInt32 emfio::EMR_COMMENT_MULTIFORMATS = 0x40000004 |
Definition at line 417 of file emfreader.cxx.
Referenced by emfio::EmfReader::ReadGDIComment().
const sal_uInt32 emfio::EMR_COMMENT_WINDOWS_METAFILE = 0x80000001 |
Definition at line 418 of file emfreader.cxx.
Referenced by emfio::EmfReader::ReadGDIComment().
|
constexpr |
Definition at line 63 of file mtftools.hxx.
Referenced by emfio::MtfTools::CreateObjectIndexed(), emfio::MtfTools::DeleteObject(), emfio::EmfReader::ReadEnhWMF(), and emfio::MtfTools::SelectObject().
|
constexpr |
Definition at line 134 of file mtftools.hxx.
Referenced by emfio::EmfReader::ReadEnhWMF(), and emfio::WmfReader::ReadRecordParams().
|
constexpr |
Definition at line 328 of file mtftools.hxx.
Referenced by emfio::MtfTools::SetDevByWin().
|
constexpr |
Definition at line 324 of file mtftools.hxx.
Referenced by emfio::WmfReader::ReadRecordParams().
|
constexpr |
Definition at line 322 of file mtftools.hxx.
|
constexpr |
Definition at line 327 of file mtftools.hxx.
Referenced by emfio::MtfTools::ImplScale().
|
constexpr |
Definition at line 323 of file mtftools.hxx.
Referenced by emfio::WmfReader::ReadRecordParams().