InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
QuoteEntry.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Adnan_Sulejmanpasic
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
24
#ifndef __QuoteEntry__
25
#define __QuoteEntry__
26
27
#include "IPMUnknown.h"
28
#include "BaseType.h"
29
#include "K2Vector.h"
30
#include "ILanguage.h"
31
32
typedef
K2Vector<textchar>
QuoteList
;
33
34
class
QuoteEntry
35
{
36
public
:
37
38
QuoteEntry
() : fQuotes()
39
{
40
fQuotes.reserve(kNumQuotes);
41
}
42
43
QuoteEntry
(
InterfacePtr<ILanguage>
& pLanguage);
44
45
QuoteEntry
(
InterfacePtr<ILanguage>
& pLanguage,
const
UTF32TextChar
leftSingle,
const
UTF32TextChar
rightSingle,
const
UTF32TextChar
leftDouble,
const
UTF32TextChar
rightDouble);
46
47
QuoteEntry
(
const
QuoteEntry
& otherQuoteEntry);
48
49
void
ConstructorHelp(
InterfacePtr<ILanguage>
& pLanguage, bool16 defaultQuotes,
const
UTF32TextChar
leftSingle = 0,
const
UTF32TextChar
rightSingle = 0,
UTF32TextChar
leftDouble = 0,
const
UTF32TextChar
rightDouble = 0);
50
51
bool16 operator!=(
const
QuoteEntry
& otherQuoteEntry)
const
;
52
53
textchar GetTypographersQuotes(
const
ILanguage::QuotationType nType,
const
ILanguage::QuotationPosition nPosition)
const
;
54
55
void
ReadWrite(
IPMStream
*s);
56
57
private
:
58
PMString
fName;
59
QuoteList
fQuotes;
60
enum
{ kNumQuotes = 4 };
61
62
friend
class
QuoteTable;
63
friend
class
QuoteData;
64
friend
class
Quotes;
65
};
66
67
DECLARE_OBJECT_TYPE(
QuoteEntry
);
68
69
#endif
tmpdoxygeninput
QuoteEntry.h
Generated on Sat Jul 19 2025 02:54:17 for InDesign SDK by
1.8.3.1