diff options
author | Nick Burch <nick@apache.org> | 2008-04-04 17:59:43 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2008-04-04 17:59:43 +0000 |
commit | 595525a03c83954bdf4ccc9cef009c120f7d6f6c (patch) | |
tree | b3f98d89f3e02b337c9637af72f505214332d0bd /src/ooxml/interfaces-jdk14/org | |
parent | b6a6618be792316957320ebc2e5475282b84cf3f (diff) | |
download | poi-595525a03c83954bdf4ccc9cef009c120f7d6f6c.tar.gz poi-595525a03c83954bdf4ccc9cef009c120f7d6f6c.zip |
Create Hyperlink interface, based on HSSFHyperlink. Stub out for XSSF, but have yet to implement. (See WithMoreVariousData.xlsx for all the different kinds when implementing)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644797 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/interfaces-jdk14/org')
-rw-r--r-- | src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Hyperlink.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Hyperlink.java b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Hyperlink.java new file mode 100644 index 0000000000..04d7dc40a8 --- /dev/null +++ b/src/ooxml/interfaces-jdk14/org/apache/poi/ss/usermodel/Hyperlink.java @@ -0,0 +1,40 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.ss.usermodel; + +public interface Hyperlink { + /** + * Link to a existing file or web page + */ + public static final int LINK_URL = 1; + + /** + * Link to a place in this document + */ + public static final int LINK_DOCUMENT = 2; + + /** + * Link to an E-mail address + */ + public static final int LINK_EMAIL = 3; + + /** + * Link to a file + */ + public static final int LINK_FILE = 4; +} |