All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wiki.xsx.core.pdf.doc.XEasyPdfPrintStyle Maven / Gradle / Ivy

There is a newer version: 2.11.10
Show newest version
package wiki.xsx.core.pdf.doc;

/**
 * pdf打印形式
 *
 * @author xsx
 * @date 2020/11/14
 * @since 1.8
 * 

* Copyright (c) 2020-2022 xsx All Rights Reserved. * x-easypdf is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * http://license.coscl.org.cn/MulanPSL2 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. * See the Mulan PSL v2 for more details. *

*/ public enum XEasyPdfPrintStyle { /** * 横向 */ LANDSCAPE(0), /** * 纵向 */ PORTRAIT(1), /** * 反向横向 */ REVERSE_LANDSCAPE(2); /** * 方向 */ private final int orientation; /** * 有参构造 * * @param orientation 方向 */ XEasyPdfPrintStyle(int orientation) { this.orientation = orientation; } /** * 获取方向 * * @return 返回方向 */ public int getOrientation() { return orientation; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy