InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHTMLPageItemSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Stephens
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: Selection suite for multimedia page items
24 //
25 //========================================================================================
26 
27 #ifndef _IHTMLPageItemSuite_
28 #define _IHTMLPageItemSuite_
29 
30 #include "HTMLPGTID.h"
31 
36 {
37 public:
38  enum { kDefaultIID = IID_IHTMLPAGEITEMSUITE};
39 
40 
44  virtual bool32 IsHTMLSelection() const = 0;
45 
49  virtual bool32 CanEditHTML() const = 0;
50 
54  virtual WideString GetHTML() const = 0;
55 
61  virtual ErrorCode SetHTML(const WideString& html) const = 0;
62 
65  virtual void Refresh() const = 0;
66 
70  virtual bool32 CanInsertHTMLPageItem() const = 0;
71 
76  virtual ErrorCode InsertHTMLPageItem(bool32 openEditDialog) const = 0;
77 
78 };
79 
80 
81 #endif // _IHTMLPageItemSuite_