Ответ: Управление InDesign с помощью OLE
Specialist сказал(а):
Кстати, Максим, гляньте SDK если он у вас есть. Дело в том, что метод Document`а задокументированный как document.print у меня импортировался как printOut. Кто облажался Адоба или Борланд? Речь, как всегда,
идет о ЦС3.
Document в SDK нет. Есть IDocument. Смотри!
IDocument Class Reference
List of all members.
Public Types
enum { kDefaultIID = IID_IDOCUMENT }
enum UndoSupport { kFullUndoSupport, kPartialUndoSupport }
Level of undo support for the open document. More...
Public Member Functions
virtual void Save ()=0
Save the document to the user file.
virtual void SaveAs (const IDFile &destFile)=0
Save the document to the specified file.
virtual void SaveACopy (const IDFile &destFile)=0
Save the document to the specified file.
virtual void Close ()=0
This doesn't close the document.
virtual bool16 IsSaved ()=0
Test if the document has ever been saved (not UNTITLEDxx.indd).
virtual bool16 IsRecovered ()=0
Return if a recovered document.
virtual bool16 IsConverted ()=0
Return if a converted document (from previous version or other type).
virtual void SetConverted ()=0
Set converted flag.
virtual bool16 IsReadOnly ()=0
Return if a ready only dccument.
virtual bool16 IsMissingPlugins ()=0
Return if the doc was opened in a missing plug-in state.
virtual void SetMissingPlugins ()=0
Set missing plugins flag.
virtual bool16 IsModified ()=0
Return if the document has been modified since the last save or open.
virtual void GetName (PMString &name) const =0
Return the name associated with the document.
virtual void SetName (const PMString &name)=0
Set the document name.
virtual UIDRef GetDocWorkSpace ()=0
Get document level work space.
virtual UndoSupport GetUndoSupport () const =0