FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
TextEditorColumns.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "..\acdb17\AcDbMText.h"
20
21class AcDbDwgFiler;
22class AcDbDxfFiler;
23class AcDbMText;
24
26{
27public:
28 ARX_API_STATIC static int const kMaxCount;
29
30public:
36 bool auto_height(void)const ;
37 bool flow_reversed(void)const ;
38 bool validate(double,double,double);
40 double gutter(void)const ;
41 double height(int)const ;
42 double width(void)const ;
44 int count(void)const ;
45 int num_heights(void)const ;
46 static bool __cdecl dxfIn( resbuf &, TextEditorColumns * &,int,int);
47 static bool __cdecl valid_auto_height(bool);
48 static bool __cdecl valid_count(int);
49 static bool __cdecl valid_flow_reversed(bool);
50 static bool __cdecl valid_gutter(double);
51 static bool __cdecl valid_height(double);
52 static bool __cdecl valid_type(int);
53 static bool __cdecl valid_width(double);
54 static double __cdecl def_gutter(double);
55 static double __cdecl min_width(double);
57 static void __cdecl dwgOut( AcDbDwgFiler *, TextEditorColumns const *);
58 static void __cdecl dxfOut( AcDbDxfFiler *, TextEditorColumns const *,int,int);
59 void calc_values(double,double);
60 void from_mtext( AcDbMText const *);
61 void reset_heights(void);
62 void set_auto_height(bool);
63 void set_count(int);
65 void set_gutter(double);
66 void set_height(int,double);
68 void set_width(double);
69 void to_mtext( AcDbMText *)const ;
70
71private:
72 void init_default(void);
73
74};
#define ARX_API_STATIC
Definition FxARXAPI.h:25
static bool __cdecl valid_gutter(double)
void set_flow_reversed(bool)
static bool __cdecl valid_count(int)
static bool __cdecl valid_height(double)
static bool __cdecl valid_type(int)
double height(int) const
double width(void) const
double gutter(void) const
static bool __cdecl dxfIn(resbuf &, TextEditorColumns *&, int, int)
void set_auto_height(bool)
void from_mtext(AcDbMText const *)
static bool __cdecl valid_width(double)
TextEditorColumns(TextEditorColumns const &)
static double __cdecl def_gutter(double)
int count(void) const
static double __cdecl min_width(double)
void set_height(int, double)
bool flow_reversed(void) const
static bool __cdecl valid_flow_reversed(bool)
void set_width(double)
AcDbMText::ColumnType type(void) const
static void __cdecl dwgOut(AcDbDwgFiler *, TextEditorColumns const *)
void to_mtext(AcDbMText *) const
void calc_values(double, double)
void reset_heights(void)
static void __cdecl dwgIn(AcDbDwgFiler *, TextEditorColumns *&)
TextEditorColumns(TextEditorColumns const *)
void set_count(int)
static ARX_API_STATIC int const kMaxCount
void set_type(AcDbMText::ColumnType)
TextEditorColumns & operator=(TextEditorColumns const &)
static void __cdecl dxfOut(AcDbDxfFiler *, TextEditorColumns const *, int, int)
int num_heights(void) const
bool auto_height(void) const
TextEditorColumns(AcDbMText const *)
static bool __cdecl valid_auto_height(bool)
bool validate(double, double, double)
void set_gutter(double)