LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | Private Member Functions | List of all members
DXFRepresentation Class Reference

#include <dxfreprd.hxx>

Collaboration diagram for DXFRepresentation:
[legend]

Public Member Functions

 DXFRepresentation ()
 
 ~DXFRepresentation ()
 
rtl_TextEncoding getTextEncoding () const
 
void setTextEncoding (rtl_TextEncoding aEnc)
 
OUString ToOUString (std::string_view s) const
 
double getGlobalLineTypeScale () const
 
void setGlobalLineTypeScale (double fGlobalLineTypeScale)
 
bool Read (SvStream &rIStream)
 

Public Attributes

DXFPalette aPalette
 
DXFBoundingBox aBoundingBox
 
DXFTables aTables
 
DXFBlocks aBlocks
 
DXFEntities aEntities
 
rtl_TextEncoding mEnc
 
double mfGlobalLineTypeScale
 
bool mbInCalc
 

Private Member Functions

void ReadHeader (DXFGroupReader &rDGR)
 
void CalcBoundingBox (const DXFEntities &rEntities, DXFBoundingBox &rBox)
 
bool isTextEncodingSet () const
 

Detailed Description

Definition at line 70 of file dxfreprd.hxx.

Constructor & Destructor Documentation

◆ DXFRepresentation()

DXFRepresentation::DXFRepresentation ( )

Definition at line 122 of file dxfreprd.cxx.

References setGlobalLineTypeScale().

◆ ~DXFRepresentation()

DXFRepresentation::~DXFRepresentation ( )

Definition at line 129 of file dxfreprd.cxx.

Member Function Documentation

◆ CalcBoundingBox()

void DXFRepresentation::CalcBoundingBox ( const DXFEntities rEntities,
DXFBoundingBox rBox 
)
private

◆ getGlobalLineTypeScale()

double DXFRepresentation::getGlobalLineTypeScale ( ) const
inline

Definition at line 103 of file dxfreprd.hxx.

References mfGlobalLineTypeScale.

Referenced by DXF2GDIMetaFile::LTypeToDXFLineInfo(), and ReadHeader().

◆ getTextEncoding()

rtl_TextEncoding DXFRepresentation::getTextEncoding ( ) const

Definition at line 133 of file dxfreprd.cxx.

References isTextEncodingSet(), and mEnc.

Referenced by ToOUString().

◆ isTextEncodingSet()

bool DXFRepresentation::isTextEncodingSet ( ) const
inlineprivate

Definition at line 114 of file dxfreprd.hxx.

References mEnc.

Referenced by getTextEncoding(), and ReadHeader().

◆ Read()

bool DXFRepresentation::Read ( SvStream rIStream)

◆ ReadHeader()

void DXFRepresentation::ReadHeader ( DXFGroupReader rDGR)
private

◆ setGlobalLineTypeScale()

void DXFRepresentation::setGlobalLineTypeScale ( double  fGlobalLineTypeScale)
inline

Definition at line 104 of file dxfreprd.hxx.

References mfGlobalLineTypeScale.

Referenced by DXFRepresentation(), and ReadHeader().

◆ setTextEncoding()

void DXFRepresentation::setTextEncoding ( rtl_TextEncoding  aEnc)
inline

Definition at line 100 of file dxfreprd.hxx.

References mEnc.

Referenced by ReadHeader().

◆ ToOUString()

OUString DXFRepresentation::ToOUString ( std::string_view  s) const

Definition at line 437 of file dxfreprd.cxx.

References ch, getTextEncoding(), mEnc, pos, result, and u.

Referenced by DXF2GDIMetaFile::DrawAttribEntity(), and DXF2GDIMetaFile::DrawTextEntity().

Member Data Documentation

◆ aBlocks

DXFBlocks DXFRepresentation::aBlocks

◆ aBoundingBox

DXFBoundingBox DXFRepresentation::aBoundingBox

Definition at line 77 of file dxfreprd.hxx.

Referenced by DXF2GDIMetaFile::Convert(), Read(), and ReadHeader().

◆ aEntities

DXFEntities DXFRepresentation::aEntities

Definition at line 87 of file dxfreprd.hxx.

Referenced by DXF2GDIMetaFile::Convert(), and Read().

◆ aPalette

DXFPalette DXFRepresentation::aPalette

Definition at line 74 of file dxfreprd.hxx.

Referenced by DXF2GDIMetaFile::ConvertColor().

◆ aTables

DXFTables DXFRepresentation::aTables

◆ mbInCalc

bool DXFRepresentation::mbInCalc

Definition at line 94 of file dxfreprd.hxx.

Referenced by CalcBoundingBox().

◆ mEnc

rtl_TextEncoding DXFRepresentation::mEnc

◆ mfGlobalLineTypeScale

double DXFRepresentation::mfGlobalLineTypeScale

Definition at line 92 of file dxfreprd.hxx.

Referenced by getGlobalLineTypeScale(), and setGlobalLineTypeScale().


The documentation for this class was generated from the following files: