FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcFormatter.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\AcFdImp.h"
20#include "..\acdb17\AcValue.h"
21#include "..\acad\Acad.h"
22
23class AcCmColor;
24class AcDbObjectId;
25class AcString;
26class AcValue;
27class CStringArray;
28template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
29struct AcDataType;
30
32{
33public:
34 static bool __cdecl extract(wchar_t const *,int, AcString &, AcString &);
35 static bool __cdecl format( AcCmColor const &, CStringW const &, CStringW &);
37 static bool __cdecl format( AcValue const &,wchar_t const *,bool, AcDbObjectId const *, AcString &);
38 static bool __cdecl format( AcValue const &,wchar_t const *, AcString &);
39 static bool __cdecl format( AcValue const &,wchar_t const *, AcValue::FormatOption, AcString &);
40 static bool __cdecl format( AcValue const &,wchar_t const *,wchar_t * &);
41 static bool __cdecl format(wchar_t const *, CStringW const &,bool, AcDbObjectId const *, CStringW &);
42 static bool __cdecl format(wchar_t const *, CStringW const &, CStringW &);
43 static bool __cdecl hasFormat(wchar_t const *,int);
44 static bool __cdecl parseNextFormatFlag( CStringW &,int, CStringW &,int &,int &,int &, CStringArray &,int &,bool);
45 static bool __cdecl updateFormat( AcDataType const &, AcDataType const &, AcFdImp::UnitFormat, AcValue const *,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *, AcValue::ParseOption, AcString &);
47 static CStringW __cdecl stripMTextFormatting(wchar_t const *, AcDbObjectId const &, CStringW &);
48 static AcString __cdecl extractFormat(int,wchar_t const *, AcString *);
50 static Acad::ErrorStatus __cdecl applyFormat(wchar_t const *, AcString &);
51 static Acad::ErrorStatus __cdecl deleteFormat(int, AcString &,bool);
52
53};
UnitFormat
Definition AcFdImp.h:39
static bool __cdecl format(AcValue const &, AcFdImp::UnitFormat, AcString &)
static bool __cdecl parseNextFormatFlag(CStringW &, int, CStringW &, int &, int &, int &, CStringArray &, int &, bool)
static bool __cdecl extract(wchar_t const *, int, AcString &, AcString &)
static bool __cdecl format(AcCmColor const &, CStringW const &, CStringW &)
static bool __cdecl format(AcValue const &, wchar_t const *, AcValue::FormatOption, AcString &)
static AcString __cdecl extractFormat(int, wchar_t const *, AcString *)
static Acad::ErrorStatus __cdecl deleteFormat(int, AcString &, bool)
static bool __cdecl updateFormat(AcDataType const &, AcDataType const &, AcFdImp::UnitFormat, AcValue const *, wchar_t const *, wchar_t const *, wchar_t const *, wchar_t const *, wchar_t const *, wchar_t const *, wchar_t const *, AcValue::ParseOption, AcString &)
static CStringW __cdecl stripMTextFormatting(wchar_t const *, AcDbObjectId const &, CStringW &)
static Acad::ErrorStatus __cdecl applyFormat(wchar_t const *, AcString &)
static bool __cdecl format(AcValue const &, wchar_t const *, AcString &)
static bool __cdecl format(wchar_t const *, CStringW const &, bool, AcDbObjectId const *, CStringW &)
static bool __cdecl format(AcValue const &, wchar_t const *, bool, AcDbObjectId const *, AcString &)
static AcFdImp::UnitFormat __cdecl lUnitToFormatType(int)
static CStringW __cdecl getDefaultFormat(AcDataType const &, AcFdImp::UnitFormat)
static bool __cdecl hasFormat(wchar_t const *, int)
static bool __cdecl format(AcValue const &, wchar_t const *, wchar_t *&)
static bool __cdecl format(wchar_t const *, CStringW const &, CStringW &)
ParseOption
Definition AcValue.h:60
FormatOption
Definition AcValue.h:52