pl.vane.pdf.model.PDFFont.java Source code

Java tutorial

Introduction

Here is the source code for pl.vane.pdf.model.PDFFont.java

Source

/*
    
 Copyright (c) 2015-2015, Michal Szczepanski
 All rights reserved.
    
 This source code is licensed under the BSD-style license found in the
 LICENSE file in the root directory of this source tree.
    
 */

package pl.vane.pdf.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Author: Michal Szczepanski
 * Date: 23/03/15
 * Time: 23:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "json")
public class PDFFont implements Serializable {
    private int id;
    private String name;
    // TODO path for javascript - url location
    @JsonIgnore
    private String path;
}