LibreOffice Module vcl (master) 1
|
#include <dxfreprd.hxx>
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 |
Definition at line 70 of file dxfreprd.hxx.
DXFRepresentation::DXFRepresentation | ( | ) |
Definition at line 122 of file dxfreprd.cxx.
References setGlobalLineTypeScale().
DXFRepresentation::~DXFRepresentation | ( | ) |
Definition at line 129 of file dxfreprd.cxx.
|
private |
Definition at line 272 of file dxfreprd.cxx.
References DXFBlock::aBasePoint, aBlocks, DXFBoundingBox::bEmpty, CalcBoundingBox(), DXF_3DFACE, DXF_ARC, DXF_ATTDEF, DXF_ATTRIB, DXF_CIRCLE, DXF_DIMENSION, DXF_HATCH, DXF_INSERT, DXF_LINE, DXF_LWPOLYLINE, DXF_POINT, DXF_POLYLINE, DXF_SEQEND, DXF_SHAPE, DXF_SOLID, DXF_TEXT, DXF_TRACE, DXF_VERTEX, DXFBasicEntity::eType, DXFBoundingBox::fMaxX, DXFBoundingBox::fMaxY, DXFBoundingBox::fMaxZ, DXFBoundingBox::fMinX, DXFBoundingBox::fMinY, DXFBoundingBox::fMinZ, DXFVector::fx, DXFVector::fy, DXFVector::fz, mbInCalc, pE, DXFEntities::pFirst, DXFBasicEntity::pSucc, DXFBlocks::Search(), and DXFBoundingBox::Union().
Referenced by CalcBoundingBox(), and Read().
|
inline |
Definition at line 103 of file dxfreprd.hxx.
References mfGlobalLineTypeScale.
Referenced by DXF2GDIMetaFile::LTypeToDXFLineInfo(), and ReadHeader().
rtl_TextEncoding DXFRepresentation::getTextEncoding | ( | ) | const |
Definition at line 133 of file dxfreprd.cxx.
References isTextEncodingSet(), and mEnc.
Referenced by ToOUString().
|
inlineprivate |
Definition at line 114 of file dxfreprd.hxx.
References mEnc.
Referenced by getTextEncoding(), and ReadHeader().
bool DXFRepresentation::Read | ( | SvStream & | rIStream | ) |
Definition at line 140 of file dxfreprd.cxx.
References aBlocks, aBoundingBox, aEntities, aTables, DXFBoundingBox::bEmpty, CalcBoundingBox(), DXFBlocks::Clear(), DXFEntities::Clear(), DXFTables::Clear(), DXFGroupReader::GetG(), DXFGroupReader::GetS(), DXFGroupReader::GetStatus(), DXFGroupReader::Read(), DXFBlocks::Read(), DXFEntities::Read(), DXFTables::Read(), ReadHeader(), and DXFGroupReader::SetError().
Referenced by ImportDxfGraphic().
|
private |
Definition at line 174 of file dxfreprd.cxx.
References aBoundingBox, DXFVector::fx, DXFVector::fy, DXFVector::fz, DXFGroupReader::GetF(), DXFGroupReader::GetG(), getGlobalLineTypeScale(), DXFGroupReader::GetS(), isTextEncodingSet(), mEnc, DXFGroupReader::Read(), setGlobalLineTypeScale(), setTextEncoding(), DXFBoundingBox::Union(), utl_getLocaleForGlobalDefaultEncoding(), and utl_getWinTextEncodingFromLangStr().
Referenced by Read().
|
inline |
Definition at line 104 of file dxfreprd.hxx.
References mfGlobalLineTypeScale.
Referenced by DXFRepresentation(), and ReadHeader().
|
inline |
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().
DXFBlocks DXFRepresentation::aBlocks |
Definition at line 84 of file dxfreprd.hxx.
Referenced by CalcBoundingBox(), DXF2GDIMetaFile::DrawDimensionEntity(), DXF2GDIMetaFile::DrawInsertEntity(), and Read().
DXFBoundingBox DXFRepresentation::aBoundingBox |
Definition at line 77 of file dxfreprd.hxx.
Referenced by DXF2GDIMetaFile::Convert(), Read(), and ReadHeader().
DXFEntities DXFRepresentation::aEntities |
Definition at line 87 of file dxfreprd.hxx.
Referenced by DXF2GDIMetaFile::Convert(), and Read().
DXFPalette DXFRepresentation::aPalette |
Definition at line 74 of file dxfreprd.hxx.
Referenced by DXF2GDIMetaFile::ConvertColor().
DXFTables DXFRepresentation::aTables |
Definition at line 81 of file dxfreprd.hxx.
Referenced by DXF2GDIMetaFile::Convert(), DXF2GDIMetaFile::DrawDimensionEntity(), DXF2GDIMetaFile::DrawInsertEntity(), DXF2GDIMetaFile::GetEntityColor(), DXF2GDIMetaFile::GetEntityDXFLineInfo(), DXF2GDIMetaFile::LTypeToDXFLineInfo(), and Read().
bool DXFRepresentation::mbInCalc |
Definition at line 94 of file dxfreprd.hxx.
Referenced by CalcBoundingBox().
rtl_TextEncoding DXFRepresentation::mEnc |
Definition at line 90 of file dxfreprd.hxx.
Referenced by getTextEncoding(), isTextEncodingSet(), ReadHeader(), setTextEncoding(), and ToOUString().
double DXFRepresentation::mfGlobalLineTypeScale |
Definition at line 92 of file dxfreprd.hxx.
Referenced by getGlobalLineTypeScale(), and setGlobalLineTypeScale().