InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDocOptimizer.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Bernd Paradies
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 __IDocOptimizer__
25
#define __IDocOptimizer__
26
27
#include "IPMUnknown.h"
28
#include "DocumentID.h"
29
30
class
IDocument
;
31
class
PMString
;
32
class
ProgressBarAccessor;
33
class
ICommand
;
34
35
/*
36
The IDocOptimizer is used in ServicerImportProvider.cpp for optimizing text wrap of imported Quark documents.
37
For more details see my build notes for change list 14893, job000799 from 05/11/1999:
38
39
Integration of Quark Import Wrap Optimizer
40
41
I created a new interface IDocOptimizer, that is used by the ServicerImportProvider
42
after the document is imported. Only the QX3Reader and QX4Reader support IDocOptimizer.
43
They use the ZOrderWrapOptimizer implementation which is provided by the StandOff
44
plugin. The source for ZOrderWrapOptimizer is basically the old test menu code that
45
has been tested by QA. I only added support for the progress bar.
46
The text that shows up during ZOrderWrapOptimizer::CreateOptimizeCommand() is:
47
"Converting text wrap...".
48
*/
49
56
class
IDocOptimizer
:
public
IPMUnknown
57
{
58
public
:
59
60
enum
{ kDefaultIID = IID_IDOCOPTIMIZER };
61
68
virtual
ICommand
*
CreateOptimizeCommand
(
IDocument
*pDocument,
const
PMString
*pFlags = nil )
const
= 0;
69
};
70
71
#endif //__IDocOptimizer__
72
73
tmpdoxygeninput
IDocOptimizer.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1