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

Public Types | |
| enum | { kDefaultIID = IID_ISERVERSETTINGS } |
Public Member Functions | |
| virtual void | SetImagePreview (bool16 imagePreview)=0 |
| virtual bool16 | GetImagePreview ()=0 |
| virtual void | SetJavaScriptUI (bool16 javaScriptUI)=0 |
| virtual bool16 | GetJavaScriptUI ()=0 |
| virtual bool16 | GetHasConsole ()=0 |
| virtual PMString | GetIORFile ()=0 |
| virtual bool16 | GetLogToEventLog ()=0 |
| virtual int32 | GetMaxErrors ()=0 |
| virtual void | SetMaxErrors (int32 maxErrors)=0 |
| virtual PMString | GetPluginPath ()=0 |
| virtual bool16 | GetSendCrashLogs ()=0 |
| virtual bool16 | GetUseErrorList ()=0 |
| virtual void | SetUseErrorList (bool16 buseErrorList)=0 |
| virtual bool16 | GetUseSEH ()=0 |
| virtual int32 | GetPortNumber ()=0 |
| virtual PMString | GetConfigurationName ()=0 |
| virtual bool16 | GetOnMainThreadExecutionMode ()=0 |
| virtual bool16 | IsSessionSupportLoggingEnabled ()=0 |
| virtual int32 | GetSessionTimeout ()=0 |
| virtual int32 | GetAdminPortNumber ()=0 |
| virtual int32 | GetHeartbeatUpdateInterval ()=0 |
| virtual PMString | GetHostName ()=0 |
| virtual bool16 | IsSessionSupportNonBlocking ()=0 |
| virtual void | SetIsSessionSupportNonBlocking (bool16 bSSNonBlocking)=0 |
| virtual uint16 | GetMaximumWaitForBeginSession ()=0 |
| virtual void | SetMaximumWaitForBeginSession (uint16 inMaxWaitTime)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Settings used by InDesign Server to increase performance and control UI for debugging.
The undo state is referenced when creating new documents and is used to control the document's command mgr undo state. Changing the undo state with IServerSettings has no effect on the current undo state of a document, only new ones. By default the undo state is kFalse for increased performance.
The image preview state is referenced during import of images and determines whether a preview will be generated for the newly imported image. If the document being created will not be opened by an end user in InDesign than there are significant advantages to turning of image preview support. With image previews turned off graphics will appear in InDesign as gray boxes until re-linked. By default, image previews are turned off in the server.
The JavaScript UI setting controls whether JavaScript native dialogs will display. Sometimes it is useful while debugging to have access to these dialogs. By default JavaScript UI is turned off in the Server.
| pure virtual |
Which port is open for admin messages?
| pure virtual |
What is configuration name is being used?
| pure virtual |
Did this instance of InDesignServer start a console window?
| pure virtual |
| pure virtual |
What is the host name this instance is running on?
| pure virtual |
Get the value of the image preview state.
| pure virtual |
Get the path to the IOR file.
| pure virtual |
Get the value of the JavaScript UI state.
| pure virtual |
Is this instance logging to the event log?
| pure virtual |
Get the maximum size of the error list.
| pure virtual |
| pure virtual |
| pure virtual |
Get the string of paths to additional plugin directories.
| pure virtual |
Which port is IDS listening on for SOAP messages?
| pure virtual |
Will crashes cause crash logs to be sent to Adobe?
| pure virtual |
| pure virtual |
Should errors be saved in the error list?
| pure virtual |
Did a structured event handler get installed on launch?
| pure virtual |
| pure virtual |
| pure virtual |
Set the value of JavaScript UI. Setting the state to kTrue will allow JavaScript native UI dialogs to be displayed.
| javaScriptUI | indicates whether JavaScript native UI dialogs will be displayed. |
| pure virtual |
Set the maximum size of the error list.
| maxErrors | maximum size the error list can grow to |
| pure virtual |
| inMaxWaitTime | wait time in secs for non blocking begin session |
| pure virtual |
Set the value of the Use Error List state.
| if | kTrue, errors up to the value set via SetMaxErrors are saved. The default value is kFalse. |