Skip to main content

SecurityLoadingOptions Class

The base class that contains security options for document loading.

Declaration

public abstract class SecurityLoadingOptions extends JavaObject

Remarks

Use security options to remove potentially unsafe content and restrict hyperlinks during document loading.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
SecurityLoadingOptions

Methods

getRemoveActiveXContent() Method

Returns whether the API removes ActiveX content when it loads a document.

Declaration

public boolean getRemoveActiveXContent()

Returns

Type Description
boolean

true if the API removes ActiveX content when it loads a document; otherwise, false.

getRemoveCustomXMLParts() Method

Returns whether the API removes custom XML parts when it loads a document.

Declaration

public boolean getRemoveCustomXMLParts()

Returns

Type Description
boolean

true if the API removes custom XML parts when it loads a document; otherwise, false.

getRemoveExternalImages() Method

Returns whether the API removes external images when it loads a document.

Declaration

public boolean getRemoveExternalImages()

Returns

Type Description
boolean

true if the API removes external images when it loads a document; otherwise, false.

getRemoveMacros() Method

Returns whether the API removes macros when it loads a document.

Declaration

public boolean getRemoveMacros()

Returns

Type Description
boolean

true if the API removes macros when it loads a document; otherwise, false.

getRemoveOleObjects() Method

Returns whether the API removes OLE objects when it loads a document.

Declaration

public boolean getRemoveOleObjects()

Returns

Type Description
boolean

true if the API removes OLE objects when it loads a document; otherwise, false.

getRestrictedHyperlinkRemovalMode() Method

Returns the action that the API applies to restricted hyperlinks when it loads a document.

Declaration

public RestrictedHyperlinkRemovalMode getRestrictedHyperlinkRemovalMode()

Returns

Type Description
RestrictedHyperlinkRemovalMode

The action that the API applies to restricted hyperlinks when it loads a document.

setRemoveActiveXContent(boolean value) Method

Sets whether to remove ActiveX content when the API loads a document.

Declaration

public void setRemoveActiveXContent(boolean value)

Parameters

Name Type Description
value boolean

true to remove ActiveX content when the API loads a document; otherwise, false.

setRemoveCustomXMLParts(boolean value) Method

Sets whether to remove custom XML parts when the API loads a document.

Declaration

public void setRemoveCustomXMLParts(boolean value)

Parameters

Name Type Description
value boolean

true to remove custom XML parts when the API loads a document; otherwise, false.

setRemoveExternalImages(boolean value) Method

Sets whether to remove external images when the API loads a document.

Declaration

public void setRemoveExternalImages(boolean value)

Parameters

Name Type Description
value boolean

true to remove external images when the API loads a document; otherwise, false.

setRemoveMacros(boolean value) Method

Sets whether to remove macros when the API loads a document.

Declaration

public void setRemoveMacros(boolean value)

Parameters

Name Type Description
value boolean

true to remove macros when the API loads a document; otherwise, false.

setRemoveOleObjects(boolean value) Method

Sets whether to remove OLE objects when the API loads a document.

Declaration

public void setRemoveOleObjects(boolean value)

Parameters

Name Type Description
value boolean

true to remove OLE objects when the API loads a document; otherwise, false.

setRestrictedHyperlinkRemovalMode(RestrictedHyperlinkRemovalMode value) Method

Sets the action that the API applies to restricted hyperlinks when it loads a document.

Declaration

public void setRestrictedHyperlinkRemovalMode(RestrictedHyperlinkRemovalMode value)

Parameters

Name Type Description
value RestrictedHyperlinkRemovalMode

The action that the API applies to restricted hyperlinks when it loads a document.