From commits-return-248-apmail-poi-commits-archive=poi.apache.org@poi.apache.org Fri Feb 01 15:22:39 2008 Return-Path: Delivered-To: apmail-poi-commits-archive@locus.apache.org Received: (qmail 21116 invoked from network); 1 Feb 2008 15:22:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 15:22:39 -0000 Received: (qmail 61426 invoked by uid 500); 1 Feb 2008 15:21:27 -0000 Delivered-To: apmail-poi-commits-archive@poi.apache.org Received: (qmail 61382 invoked by uid 500); 1 Feb 2008 15:21:27 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 61372 invoked by uid 99); 1 Feb 2008 15:21:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 07:21:27 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 15:21:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7CA3C1A9832; Fri, 1 Feb 2008 07:21:01 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r617516 - in /poi/trunk/src: java/org/apache/poi/hssf/record/HyperlinkRecord.java testcases/org/apache/poi/hssf/record/TestHyperlinkRecord.java Date: Fri, 01 Feb 2008 15:20:59 -0000 To: commits@poi.apache.org From: nick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080201152101.7CA3C1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: nick Date: Fri Feb 1 07:20:55 2008 New Revision: 617516 URL: http://svn.apache.org/viewvc?rev=617516&view=rev Log: Make a start on the hyperlink record support - not finished yet though, so not enabled Added: poi/trunk/src/java/org/apache/poi/hssf/record/HyperlinkRecord.java (with props) poi/trunk/src/testcases/org/apache/poi/hssf/record/TestHyperlinkRecord.java (with props) Added: poi/trunk/src/java/org/apache/poi/hssf/record/HyperlinkRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/HyperlinkRecord.java?rev=617516&view=auto ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/HyperlinkRecord.java (added) +++ poi/trunk/src/java/org/apache/poi/hssf/record/HyperlinkRecord.java Fri Feb 1 07:20:55 2008 @@ -0,0 +1,350 @@ +/* ==================================================================== + Copyright 2002-2004 Apache Software Foundation + + Licensed 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. + ==================================================================== */ + +/* + * HyperlinkRecord + * + * Created on February 20th, 2005, 16:00 PM + */ +package org.apache.poi.hssf.record; + +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.poi.util.HexDump; +import org.apache.poi.util.LittleEndian; +import org.apache.poi.util.StringUtil; + +/**The HyperlinkRecord wraps an HLINK-record from the Excel-97 format + * + * @version 20-feb-2005 + * @author Mark Hissink Muller