如何使用特定页面的书签调整PDF页面的大小?

时间:2017-07-06 20:18:11

标签: java apache pdfbox

如何调整特定PDF页面的页面大小?我是否必须使用书签来挑选我想要调整大小的特定页面?如果是,我该怎么做?

以下是我尝试调整大小并使用apache pdf框的代码。

{
    "source": { "file": { "path": "C:/Users/Muuna/Desktop/files/H.csv" } },
    "extractor": { "csv": {
        "separator": ",",
        "columnsOnFirstLine": true,
                "ignoreEmptyLines": true,
    "columns": ["id:Integer","p1:String","p2:String","s:Integer"] } },
    "transformers": [
        { "command": { "command": "CREATE EDGE HAS_S FROM (SELECT FROM H WHERE p='${input.p1}') TO (SELECT FROM H WHERE p='${input.p2}') set score=${input.s}"} }
    ],
    "loader": {
        "orientdb": {
            "dbURL": "PLOCAL:C:/orientdb/databases/Graph",
            "dbUser": "admin",
            "dbPassword": "admin",
            "dbType": "graph",
            "classes": [
                {"name": "H", "extends": "V"},
                {"name": "HAS_S", "extends": "E"}
            ],"indexes": [ {"class":"H", "fields":["p:String"], "type":"UNIQUE" }]
        }
    }
}

0 个答案:

没有答案