FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
TextEditorParaAttributes.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
22
24{
25public:
26 ARX_API_STATIC static wchar_t const kAlignmentChar;
27 ARX_API_STATIC static wchar_t const kFirstIndentChar;
28 ARX_API_STATIC static wchar_t const kLeftIndentChar;
29 ARX_API_STATIC static wchar_t const kLineSpacingChar;
30 ARX_API_STATIC static wchar_t const kMultiplierChar;
31 ARX_API_STATIC static wchar_t const kRightIndentChar;
32 ARX_API_STATIC static wchar_t const kSpaceAfterChar;
33 ARX_API_STATIC static wchar_t const kSpaceBeforeChar;
34 ARX_API_STATIC static wchar_t const kTabsChar;
35 ARX_API_STATIC static wchar_t const kZeroTabsChar;
36
37public:
43 bool scale_tabs(double);
44 bool scale_values(double);
47 TextEditorParaTabs const & tabs(void)const ;
48 double first_indent(void)const ;
49 double left_indent(void)const ;
50 double line_spacing_factor(void)const ;
51 double right_indent(void)const ;
52 double space_after(void)const ;
53 double space_before(void)const ;
54 int add_tab(double,bool);
55 int add_tab( TextEditorParaTab const &,bool);
56 int alignment(void)const ;
57 int compare( TextEditorParaAttributes const &,bool)const ;
58 int line_spacing_style(void)const ;
59 int const flags(void)const ;
60 static int __cdecl alignment_from_char(wchar_t);
64 TextEditorParaTab const & tab(int)const ;
65 void clean_tabs(void);
66 void rationalize_indents(int,double,double);
67 void remove_tab(double);
68 void remove_tab(int);
70 void reset_tabs(void);
71 void set_alignment(int);
72 void set_first_indent(double);
73 void set_flags(int);
74 void set_left_indent(double);
78 void set_right_indent(double);
79 void set_space_after(double);
80 void set_space_before(double);
82
83};
#define ARX_API_STATIC
Definition FxARXAPI.h:25
static ARX_API_STATIC wchar_t const kAlignmentChar
int const flags(void) const
void rationalize_indents(int, double, double)
static ARX_API_STATIC wchar_t const kRightIndentChar
static ARX_API_STATIC wchar_t const kSpaceBeforeChar
static ARX_API_STATIC wchar_t const kZeroTabsChar
void remove_tab(TextEditorParaTab const &)
double space_after(void) const
static ARX_API_STATIC wchar_t const kLeftIndentChar
TextEditorParaNumbering const & numbering(void) const
double line_spacing_factor(void) const
int alignment(void) const
double right_indent(void) const
void set_tabs(TextEditorParaTabs const &)
int compare(TextEditorParaAttributes const &, bool) const
static ARX_API_STATIC wchar_t const kMultiplierChar
double space_before(void) const
TextEditorParaTabs const & tabs(void) const
TextEditorParaAttributes(TextEditorParaAttributes const &)
static int __cdecl char_from_line_spacing_style(int)
static int __cdecl line_spacing_style_from_char(wchar_t)
static ARX_API_STATIC wchar_t const kFirstIndentChar
static ARX_API_STATIC wchar_t const kLineSpacingChar
int line_spacing_style(void) const
double first_indent(void) const
void set_space_before(double)
void set_left_indent(double)
int add_tab(double, bool)
void set_line_spacing_factor(double)
void set_line_spacing_style(int)
double left_indent(void) const
void set_right_indent(double)
bool operator!=(TextEditorParaAttributes const &) const
static ARX_API_STATIC wchar_t const kSpaceAfterChar
void set_numbering(TextEditorParaNumbering const &)
bool operator==(TextEditorParaAttributes const &) const
static int __cdecl alignment_from_char(wchar_t)
TextEditorParaAttributes & operator=(TextEditorParaAttributes const &)
static int __cdecl char_from_alignment(int)
void set_space_after(double)
TextEditorParaTab const & tab(int) const
void set_first_indent(double)
int add_tab(TextEditorParaTab const &, bool)
static ARX_API_STATIC wchar_t const kTabsChar