public interface InlinePreviewConstraints
project specific inline preview constraints
.Project.getInlinePreviewConstraints()
Modifier and Type | Interface and Description |
---|---|
static class |
InlinePreviewConstraints.DefaultAppFileExtensions
The default application engines file name extensions used for (bound to) a specific engine type.
|
static class |
InlinePreviewConstraints.InlinePreviewControlOption
Inline preview control option
|
Modifier and Type | Method and Description |
---|---|
String |
getBrowserEngineFileExtensions()
Returns a comma separated list file name extensions.
|
Pair<String,String> |
getGDataAPiCredentials()
Deprecated.
since 5.2.180904 - no replacement
|
String |
getGraphicsEngineFileExtensions()
Returns a comma separated list file name extensions.
|
GraphicsEngineType |
getGraphicsEngineType()
Deprecated.
since 5.2.191201 - no replacement
|
InlinePreviewConstraints.InlinePreviewControlOption |
getInlinePreviewControlOption()
Returns the default respectively fixed
content highlighting mode ,
depending on return value of isInlinePreviewControlAdjustable() . |
String |
getMediaPlayerFileExtensions()
Returns a comma separated list file name extensions.
|
String |
getOfficeEngineFileExtensions()
Deprecated.
since 5.2.191201 - no replacement
|
String |
getTextEditorFileExtensions()
Returns a comma separated list file name extensions.
|
float |
getZoomFactor()
Returns the browsers default respectively fixed zoom factor,
depending on return value of
isZoomFactorAdjustable() . |
boolean |
isGraphicsEngineActive()
Indicated the activation state of the graphics engine for this project.
|
boolean |
isInlineMediaPreviewEnabled()
Returns
true if inline preview for media is enabled, false otherwise. |
boolean |
isInlinePreviewControlAdjustable()
Returns
true if the content highlighting mode is adjustable by user, false otherwise. |
boolean |
isInlinePreviewEnabled()
Returns
true if inline preview for contents is enabled, false otherwise. |
boolean |
isZoomFactorAdjustable()
Returns
true if the browsers zoom factor is adjustable by user, false otherwise. |
void |
setBrowserEngineFileExtensions(String fileExtensions)
Set the file name extensions bound to the integrated office application engine.
|
void |
setGDataApiCredentials(Pair<String,String> credentials)
Deprecated.
since 5.2.180904 - no replacement
|
void |
setGraphicsEngineActive(boolean activate)
Activate the internal graphics engine.
|
void |
setGraphicsEngineFileExtensions(String fileExtensions)
Set the file name extensions bound to the integrated office application engine.
|
void |
setInlineMediaPreviewEnabled(boolean enable)
Provide
true if inline preview for media should be enabled, false otherwise. |
void |
setInlinePreviewControlAdjustable(boolean adjustable)
Provide
true if the content highlighting mode should be adjustable by user, false otherwise. |
void |
setInlinePreviewControlOption(InlinePreviewConstraints.InlinePreviewControlOption option)
Provide the default respectively fixed
content highlighting mode . |
void |
setInlinePreviewEnabled(boolean enable)
Provide
true if inline preview for contents should be enabled, false otherwise. |
void |
setMediaPlayerFileExtensions(String fileExtensions)
Set the file name extensions bound to the integrated office application engine.
|
void |
setOfficeEngineFileExtensions(String fileExtensions)
Deprecated.
since 5.2.191201 - no replacement
|
void |
setTextEditorFileExtensions(String fileExtensions)
"png,jpg,jpeg,bmp,gif,psd"
Set the file name extensions bound to the integrated office application engine.
|
void |
setZoomFactor(float zoomFactor)
Provide the browsers default respectively fixed zoom factor.
|
void |
setZoomFactorAdjustable(boolean adjustable)
Provide
true if the browsers zoom factor should be adjustable by user, false otherwise. |
boolean isInlinePreviewEnabled()
true
if inline preview for contents is enabled, false
otherwise.true
if enabled otherwise false
void setInlinePreviewEnabled(boolean enable)
true
if inline preview for contents should be enabled, false
otherwise.enable
- boolean isInlineMediaPreviewEnabled()
true
if inline preview for media is enabled, false
otherwise.true
if enabled otherwise false
void setInlineMediaPreviewEnabled(boolean enable)
true
if inline preview for media should be enabled, false
otherwise.enable
- boolean isZoomFactorAdjustable()
true
if the browsers zoom factor is adjustable by user, false
otherwise.true
if enabled otherwise false
void setZoomFactorAdjustable(boolean adjustable)
true
if the browsers zoom factor should be adjustable by user, false
otherwise.adjustable
- float getZoomFactor()
isZoomFactorAdjustable()
.true
if enabled otherwise false
void setZoomFactor(float zoomFactor)
isZoomFactorAdjustable()
.zoomFactor
- boolean isInlinePreviewControlAdjustable()
true
if the content highlighting mode is adjustable by user, false
otherwise.true
if enabled otherwise false
HighlightingMode
void setInlinePreviewControlAdjustable(boolean adjustable)
true
if the content highlighting mode should be adjustable by user, false
otherwise.adjustable
- HighlightingMode
InlinePreviewConstraints.InlinePreviewControlOption getInlinePreviewControlOption()
content highlighting mode
,
depending on return value of isInlinePreviewControlAdjustable()
.void setInlinePreviewControlOption(InlinePreviewConstraints.InlinePreviewControlOption option)
content highlighting mode
.isInlinePreviewControlAdjustable()
.option
- @Deprecated void setOfficeEngineFileExtensions(String fileExtensions)
Important: This method does not have any effect!
fileExtensions
- a comma separated list of file name extension.@Deprecated String getOfficeEngineFileExtensions()
Important: This method always returns an empty string ("")!
void setBrowserEngineFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getBrowserEngineFileExtensions()
void setTextEditorFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getTextEditorFileExtensions()
void setMediaPlayerFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getMediaPlayerFileExtensions()
void setGraphicsEngineFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getGraphicsEngineFileExtensions()
@Deprecated void setGDataApiCredentials(Pair<String,String> credentials)
username
- the api user namepassword
- the api user password@Deprecated Pair<String,String> getGDataAPiCredentials()
boolean isGraphicsEngineActive()
true
if activated otherwise false
@Deprecated GraphicsEngineType getGraphicsEngineType()
Important: This method always returns GraphicsEngineType.IMAGEEDITOR
!
void setGraphicsEngineActive(boolean activate)
activate
- true
for activate otherwise false
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210