2 * Licensed to the Apache Software Foundation (ASF) under one or more
\r
3 * contributor license agreements. See the NOTICE file distributed with
\r
4 * this work for additional information regarding copyright ownership.
\r
5 * The ASF licenses this file to You under the Apache License, Version 2.0
\r
6 * (the "License"); you may not use this file except in compliance with
\r
7 * the License. You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
17 package org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline;
\r
19 import org.apache.pdfbox.cos.COSDictionary;
\r
22 * This represents an outline in a pdf document.
\r
24 * @author <a href="mailto:ben@benlitchfield.com">Ben Litchfield</a>
\r
25 * @version $Revision: 1.2 $
\r
27 public class PDDocumentOutline extends PDOutlineNode
\r
31 * Default Constructor.
\r
33 public PDDocumentOutline()
\r
36 node.setName( "Type", "Outlines" );
\r
40 * Constructor for an existing document outline.
\r
42 * @param dic The storage dictionary.
\r
44 public PDDocumentOutline( COSDictionary dic )
\r