InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IQuoteData.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 __IQuoteData__
25 #define __IQuoteData__
26 
27 #include "IPMUnknown.h"
28 #include "QuoteEntry.h"
29 #include "LinguisticID.h"
30 
34 class IQuoteData : public IPMUnknown
35 {
36  public:
37 
38  enum { kDefaultIID = IID_IQUOTEDATA };
39 
40  /*******************************************************************************************************
41  **
42  ** Arguments: None
43  **
44  ** Description: Returns the Quote Entry object which contains four quotes, and the language IDs.
45  **
46  ********************************************************************************************************/
47 
48  virtual const QuoteEntry& GetTypographersQuotes() const = 0;
49 
50  /*******************************************************************************************************
51  **
52  ** Arguments: const QuoteEntry&
53  **
54  ** Description: Sets the internal quote entry to equal the argument
55  **
56  ********************************************************************************************************/
57 
58  virtual void SetTypographersQuotes(const QuoteEntry& newQuoteEntry) = 0;
59 
60  virtual void SetTypographersQuotes(InterfacePtr<ILanguage>& pLanguage, const UTF32TextChar leftSingle, const UTF32TextChar rightSingle,
61  const UTF32TextChar leftDouble, const UTF32TextChar rightDouble) = 0;
62 
63  /*******************************************************************************************************
64  **
65  ** Arguments: None
66  **
67  ** Description: Returns the language name associated with the quotes stored in this class
68  **
69  ********************************************************************************************************/
70 
71  virtual const PMString& GetLanguageName() const = 0;
72 };
73 
74 
75 #endif // __IQuoteData__