net.sf.jasperreports.customvisualization.CVConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jasperreports-custom-visualization Show documentation
Show all versions of jasperreports-custom-visualization Show documentation
JasperReports Custom Visualization Component
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2023 Cloud Software Group, Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* JasperReports is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JasperReports is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with JasperReports. If not, see .
*/
package net.sf.jasperreports.customvisualization;
public class CVConstants
{
public static final long SERIAL_VERSION_UID = 1L;
public static final String NAMESPACE = "http://www.jaspersoft.com/cvcomponent";
public static final String XSD_LOCATION = "http://www.jaspersoft.com/cvcomponent/component.xsd";
public static final String XSD_RESOURCE = "net/sf/jasperreports/customvisualization/component.xsd";
protected static final String COMPONENT_NAME = "customvisualization";
public static final String CV_PREFIX = "com.jaspersoft.jasperreports.components.customvisualization.";
/**
* If JR is used to render a PNG, this property allows to set the minimum DPI of the rasterized image.
*
* com.jaspersoft.jasperreports.components.customvisualization.png.min.dpi
* Possible values: integer, usually between 72 and 300.
* Default value: 300 (see CV_PNG_MIN_DPI_DEFAULT_VALUE)
*/
public static final String CV_PNG_MIN_DPI = CV_PREFIX + "png.min.dpi";
/**
* If JR is used to render a PNG, this property allows to set the antialias on or off for the rasterized image.
*
* com.jaspersoft.jasperreports.components.customvisualization.png.antialias
* Possible values: true|false
* Default value: true
*/
public static final String CV_PNG_ANTIALIAS = CV_PREFIX + "png.antialias";
public static final int CV_PNG_MIN_DPI_DEFAULT_VALUE = 300;
public static final boolean CV_PNG_ANTIALIAS_DEFAULT_VALUE = true;
public static final String PROPERTY_ON_ERROR_TYPE = "onErrorType";
/**
* Boolean property to produce images instead of generic elements
*/
public static final String PROPERTY_GENERATE_IMAGE = CV_PREFIX + "generate.image";
/**
* Boolean property to produce images instead of HTML fragments during HTML export
*/
public static final String PROPERTY_HTML_GENERATE_IMAGE = CV_PREFIX + "html.generate.image";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy