@Role
public interface ExtendedRenderingConfiguration
RenderingConfiguration
with XWiki-specific configuration properties.Modifier and Type | Method and Description |
---|---|
List<org.xwiki.rendering.syntax.Syntax> |
getConfiguredSyntaxes() |
default org.xwiki.rendering.syntax.Syntax |
getDefaultContentSyntax() |
List<org.xwiki.rendering.syntax.Syntax> |
getDisabledSyntaxes() |
int |
getImageHeightLimit()
One way to improve page load speed is to resize images on the server side just before rendering the page.
|
int |
getImageWidthLimit()
One way to improve page load speed is to resize images on the server side just before rendering the page.
|
boolean |
isImageDimensionsIncludedInImageURL() |
boolean isImageDimensionsIncludedInImageURL()
true
to include the image dimensions extracted from the image parameters in the image URL,
false
otherwise; when image dimensions are included in the image URL the image can be resized on
the server side before being downloaded.int getImageWidthLimit()
The default value is -1
which means image width is not limited by default. Use a value greater than 0 to
limit the image width (pixels). Note that the aspect ratio is kept even when both the width and the height of the
image are limited.
isImageDimensionsIncludedInImageURL()
int getImageHeightLimit()
The default value is -1
which means image height is not limited by default. Use a value greater than 0 to
limit the image height (pixels). Note that the aspect ratio is kept even when both the width and the height of
the image are limited.
isImageDimensionsIncludedInImageURL()
List<org.xwiki.rendering.syntax.Syntax> getConfiguredSyntaxes()
List<org.xwiki.rendering.syntax.Syntax> getDisabledSyntaxes()
default org.xwiki.rendering.syntax.Syntax getDefaultContentSyntax()
Copyright © 2004–2021 XWiki. All rights reserved.