2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 package org
.apache
.tika
.parser
.mspowerpoint
;
20 * Package protected class for the MS Powerpoint TextBox content
27 * Current id of a text box
29 protected transient final long currentID
;
34 protected String content
;
37 * Instantiates the text box object
42 public TextBox(final long textBoxId
) {
43 this.currentID
= textBoxId
;
48 * Instantiates the text box object
55 public TextBox(final long textBoxId
, final String content
) {
56 this.currentID
= textBoxId
;
57 this.content
= content
;
61 * Sets the content of the text box
66 public void setContent(final String content
) {
67 this.content
= content
;
71 * Returns the content of the text box
73 * @return content of text box
75 public String
getContent() {
80 * Returns the current text box id
84 public long getCurrentId() {
85 return this.currentID
;