InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IndexSectionHeader.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michel Hutinel
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// comments: Data class to store one Topic Section Header ('A' or 'B' or ...).
24
//
25
//========================================================================================
26
27
#ifndef __INDEXSECTIONHEADER__
28
#define __INDEXSECTIONHEADER__
29
30
#include "IPMStream.h"
31
32
#include "LanguageID.h"
33
#include "WideString.h"
34
39
class
IndexSectionHeader
40
{
41
public
:
42
typedef
object_type
data_type
;
43
46
IndexSectionHeader
():
47
fSortingHeader
(
""
),
48
fTextHeader
(
""
),
49
fUIHeader
(
""
),
50
fLanguage
(kLanguageUserDefault)
51
{}
52
55
bool16
operator==
(
const
IndexSectionHeader
& other)
const
56
{
57
return
( (
fSortingHeader
== other.
fSortingHeader
) &&
58
(
fTextHeader
== other.
fTextHeader
) &&
59
(
fUIHeader
== other.
fUIHeader
) &&
60
(
fLanguage
== other.
fLanguage
));
61
}
62
65
bool16
operator!=
(
const
IndexSectionHeader
& other)
const
66
{
67
return
( !(*
this
== other) );
68
}
69
73
void
ReadWrite
(
IPMStream
*s)
74
{
75
fSortingHeader
.ReadWrite(s);
76
77
fTextHeader
.ReadWrite(s);
78
79
fUIHeader
.
ReadWrite
(s);
80
81
s->
XferInt16
(
fLanguage
);
82
}
83
92
WideString
fSortingHeader
;
93
100
WideString
fTextHeader
;
101
104
PMString
fUIHeader
;
105
108
LanguageID
fLanguage
;
109
};
110
111
#endif // __INDEXSECTIONHEADER__
tmpdoxygeninput
IndexSectionHeader.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1