com.groupdocs.annotation.config
Class ServiceConfigurationBase

java.lang.Object
  extended by com.groupdocs.annotation.config.ServiceConfigurationBase
All Implemented Interfaces:
IServiceConfiguration, com.groupdocs.viewer.config.ServiceConfigurationBase

public abstract class ServiceConfigurationBase
extends Object
implements IServiceConfiguration

Base class for service configuration

Author:
Alex Bobkov

Constructor Summary
ServiceConfigurationBase()
           
 
Method Summary
 String getBackgroundColor()
          Get background color
 String getCurrentSearchHighlightColor()
          Get current search highlight color
 int getMinimumImageWidth()
          Get minimum of image width
 int getPenColor()
          Get pen color
 int getPenStyle()
          Get pen style
 int getPenWidth()
          Get pen width
 String getSearchHighlightColor()
          Get search highlight color
 String getThumbnailsContainerBackgroundColor()
          Background color of Thumbnails container
 String getThumbnailsContainerBorderRightColor()
          Border color of Thumbnails container
 int getThumbnailsContainerWidth()
          Width of thumbnails container
 String getToolbarBorderBottomColor()
          Color of toolbar bottom border color
 String getToolbarButtonBorderColor()
          Color of toolbar button border
 String getToolbarButtonBorderHoverColor()
          Hover color of toolbar button border
 String getToolbarButtonsBoxShadowHoverStyle()
          Toolbar buttons box shadow hower style
 String getToolbarButtonsBoxShadowStyle()
          Toolbar buttons box shadow style
 String getToolbarInputFieldBorderColor()
          Color of input field border
 int getViewerStyle()
          Get viewer style
 String getWatermarkColor()
          Get watermark color
 String getWatermarkText()
          Get watermark text
 boolean isDownloadPdfFile()
          Is download pdf file
 boolean isEnableStandardErrorHandling()
          Is enable standard error handling
 boolean isLoadAllPagesOnSearch()
          Is load all pages on search
 boolean isOnlyShrinkLargePages()
          Is only shrink large pages
 boolean isPreventTouchEventsBubbling()
          Is prevent touch events building
 boolean isSearchForSeparateWords()
          Is search for separate words
 boolean isShowDownload()
          Check that download button will be showed
 boolean isShowDownloadErrorsInPopup()
          Is show download errors in popup
 boolean isShowFolderBrowser()
          Check that folder button will be showed
 boolean isShowImageWidth()
          Is show width of images
 boolean isShowOnePageInRow()
          Is show one page in row
 boolean isShowSearch()
          Check that search field will be showed
 boolean isShowViewerStyleControl()
          Is show viewer style controls
 boolean isSupportPageReordering()
          Is support page reordering
 boolean isSupportTextSelection()
          Check that text selection functional will enabled
 boolean isTreatPhrasesInDoubleQuotesAsExactPhrases()
          Is treat phrases in double quotes as exact phrases
 boolean isUseHtmlBasedEngine()
          Is use html based engine
 boolean isUseImageBasedPrinting()
          Is use image based printing
 boolean isUseInnerThumbnails()
          Is use inner thumbnails
 boolean isUsePdfPrinting()
          Is use pdf printing
 boolean isUsePngImagesForHtmlBasedEngine()
          Is use png images for html based engine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.groupdocs.annotation.config.IServiceConfiguration
getConnectorPosition, getEnabledTools, getGraphicsContainerSelector, getMode, getSelectionContainerSelector, getSidebarContainerSelector, getStrikeOutColor, getStrikeoutMode, getWidgetId, isClickableAnnotations, isCreateMarkup, isDisconnectUncommented, isEnableRightClickMenu, isEnableSidePanel, isRightPanelEnabled, isSaveReplyOnFocusLoss, isScrollOnFocus, isShowFileExplorer, isShowToolbar, isTextSelectionSynchronousCalculation, isUndoEnabled, isUse_pdf, isUseEmScaling, isUsePageNumberInUrlHash, isVariableHeightPageSupport
 
Methods inherited from interface com.groupdocs.viewer.config.ServiceConfigurationBase
getApplicationPath, getBasePath, getEncryptionKey, getExpirationDate, getHeight, getInitialZoom, getLicensePath, getLocalesPath, getPreloadPagesCount, getQuality, getUploadPath, getWidth, isOpenThumbnails, isShowHeader, isShowPaging, isShowPrint, isShowThumbnails, isShowZoom, isUseAuthorization, isUseBrowserCache, isUseCache, isZoomToFitHeight, isZoomToFitWidth
 

Constructor Detail

ServiceConfigurationBase

public ServiceConfigurationBase()
Method Detail

getBackgroundColor

public String getBackgroundColor()
Get background color

Specified by:
getBackgroundColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
background color

isShowFolderBrowser

public boolean isShowFolderBrowser()
Check that folder button will be showed

Specified by:
isShowFolderBrowser in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is folder button will be showed

isShowDownload

public boolean isShowDownload()
Check that download button will be showed

Specified by:
isShowDownload in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is download button will be showed

isShowViewerStyleControl

public boolean isShowViewerStyleControl()
Is show viewer style controls

Specified by:
isShowViewerStyleControl in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is show viewer style controlss

isShowSearch

public boolean isShowSearch()
Check that search field will be showed

Specified by:
isShowSearch in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is search field will be showed

getViewerStyle

public int getViewerStyle()
Get viewer style

Specified by:
getViewerStyle in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
viewer style

isSupportTextSelection

public boolean isSupportTextSelection()
Check that text selection functional will enabled

Specified by:
isSupportTextSelection in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is text selection functional will enabled

isUsePdfPrinting

public boolean isUsePdfPrinting()
Is use pdf printing

Specified by:
isUsePdfPrinting in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is use pdf printing

getToolbarButtonsBoxShadowStyle

public String getToolbarButtonsBoxShadowStyle()
Toolbar buttons box shadow style

Specified by:
getToolbarButtonsBoxShadowStyle in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
shadow style

getToolbarButtonsBoxShadowHoverStyle

public String getToolbarButtonsBoxShadowHoverStyle()
Toolbar buttons box shadow hower style

Specified by:
getToolbarButtonsBoxShadowHoverStyle in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
shadow hower style

getThumbnailsContainerBackgroundColor

public String getThumbnailsContainerBackgroundColor()
Background color of Thumbnails container

Specified by:
getThumbnailsContainerBackgroundColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
background color

getThumbnailsContainerBorderRightColor

public String getThumbnailsContainerBorderRightColor()
Border color of Thumbnails container

Specified by:
getThumbnailsContainerBorderRightColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
border color

getToolbarBorderBottomColor

public String getToolbarBorderBottomColor()
Color of toolbar bottom border color

Specified by:
getToolbarBorderBottomColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
bottom border color

getToolbarInputFieldBorderColor

public String getToolbarInputFieldBorderColor()
Color of input field border

Specified by:
getToolbarInputFieldBorderColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
border color

getToolbarButtonBorderColor

public String getToolbarButtonBorderColor()
Color of toolbar button border

Specified by:
getToolbarButtonBorderColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
border color

getToolbarButtonBorderHoverColor

public String getToolbarButtonBorderHoverColor()
Hover color of toolbar button border

Specified by:
getToolbarButtonBorderHoverColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
hover border color

getThumbnailsContainerWidth

public int getThumbnailsContainerWidth()
Width of thumbnails container

Specified by:
getThumbnailsContainerWidth in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
thumbnails container width

isShowDownloadErrorsInPopup

public boolean isShowDownloadErrorsInPopup()
Is show download errors in popup

Specified by:
isShowDownloadErrorsInPopup in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is show download errors in popup

isShowImageWidth

public boolean isShowImageWidth()
Is show width of images

Specified by:
isShowImageWidth in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is show width of images

getMinimumImageWidth

public int getMinimumImageWidth()
Get minimum of image width

Specified by:
getMinimumImageWidth in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
minimum image width

isEnableStandardErrorHandling

public boolean isEnableStandardErrorHandling()
Is enable standard error handling

Specified by:
isEnableStandardErrorHandling in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is enable standard error handling

isUseHtmlBasedEngine

public boolean isUseHtmlBasedEngine()
Is use html based engine

Specified by:
isUseHtmlBasedEngine in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is use html based engine

isUseImageBasedPrinting

public boolean isUseImageBasedPrinting()
Is use image based printing

Specified by:
isUseImageBasedPrinting in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is use image based printing

isDownloadPdfFile

public boolean isDownloadPdfFile()
Is download pdf file

Specified by:
isDownloadPdfFile in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is download pdf file

isSearchForSeparateWords

public boolean isSearchForSeparateWords()
Is search for separate words

Specified by:
isSearchForSeparateWords in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is search for separate words

isPreventTouchEventsBubbling

public boolean isPreventTouchEventsBubbling()
Is prevent touch events building

Specified by:
isPreventTouchEventsBubbling in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is prevent touch events building

isUseInnerThumbnails

public boolean isUseInnerThumbnails()
Is use inner thumbnails

Specified by:
isUseInnerThumbnails in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is use inner thumbnails

getWatermarkText

public String getWatermarkText()
Get watermark text

Specified by:
getWatermarkText in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
watermark text

getWatermarkColor

public String getWatermarkColor()
Get watermark color

Specified by:
getWatermarkColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
watermark color

isSupportPageReordering

public boolean isSupportPageReordering()
Is support page reordering

Specified by:
isSupportPageReordering in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
support page reordering

isOnlyShrinkLargePages

public boolean isOnlyShrinkLargePages()
Is only shrink large pages

Specified by:
isOnlyShrinkLargePages in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is only shrink large pages

getSearchHighlightColor

public String getSearchHighlightColor()
Get search highlight color

Specified by:
getSearchHighlightColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
search highlight color

getCurrentSearchHighlightColor

public String getCurrentSearchHighlightColor()
Get current search highlight color

Specified by:
getCurrentSearchHighlightColor in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
current search highlight color

isTreatPhrasesInDoubleQuotesAsExactPhrases

public boolean isTreatPhrasesInDoubleQuotesAsExactPhrases()
Is treat phrases in double quotes as exact phrases

Specified by:
isTreatPhrasesInDoubleQuotesAsExactPhrases in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is treat phrases in double quotes as exact phrases

isUsePngImagesForHtmlBasedEngine

public boolean isUsePngImagesForHtmlBasedEngine()
Is use png images for html based engine

Specified by:
isUsePngImagesForHtmlBasedEngine in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is use png images for html based engine

isShowOnePageInRow

public boolean isShowOnePageInRow()
Is show one page in row

Specified by:
isShowOnePageInRow in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is show one page in row

isLoadAllPagesOnSearch

public boolean isLoadAllPagesOnSearch()
Is load all pages on search

Specified by:
isLoadAllPagesOnSearch in interface com.groupdocs.viewer.config.ServiceConfigurationBase
Returns:
is load all pages on search

getPenWidth

public int getPenWidth()
Get pen width

Specified by:
getPenWidth in interface IServiceConfiguration
Returns:
pen width

getPenColor

public int getPenColor()
Get pen color

Specified by:
getPenColor in interface IServiceConfiguration
Returns:
pen color

getPenStyle

public int getPenStyle()
Get pen style

Specified by:
getPenStyle in interface IServiceConfiguration
Returns:
pen style


Copyright © 2014. All rights reserved.