![]() | InDesign SDK 20.5 |
#include <IDocOptimizer.h>

Public Types | |
| enum | { kDefaultIID = IID_IDOCOPTIMIZER } |
Public Member Functions | |
| virtual ICommand * | CreateOptimizeCommand (IDocument *pDocument, const PMString *pFlags=nil) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IDocOptimizer is used by the ServicerImportProvider for optimizing text wrap of Quark documents after the document is imported. Only the QX3Reader and QX4Reader support IDocOptimizer. They use the ZOrderWrapOptimizer implementation which is provided by the StandOff plugin. The text that shows up during ZOrderWrapOptimizer::CreateOptimizeCommand() is: "Converting text wrap...".
| pure virtual |
Returns the parent file URL of a file URL.
| pDocument | IN. Document to optimize. |
| pFlags | optional IN. Optimization flags, free format. |