/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * 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 . */ package com.sun.star.report; import java.awt.Dimension; import java.io.InputStream; /** * * @author oj93728 */ public interface ImageService { /** * @param image * @return the mime-type of the image as string. * @throws ReportExecutionException */ String getMimeType(final InputStream image) throws ReportExecutionException; /** * @param image * @return the mime-type of the image as string. * @throws ReportExecutionException */ String getMimeType(final byte[] image) throws ReportExecutionException; /** * @param image * @returns the dimension in 100th mm. * * @throws ReportExecutionException * @return*/ Dimension getImageSize(final InputStream image) throws ReportExecutionException; /** * @param image * @returns the dimension in 100th mm. * * @throws ReportExecutionException * @return*/ Dimension getImageSize(final byte[] image) throws ReportExecutionException; } office-6-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-06-20 15:35:09 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-06-21 13:11:04 +0100
commitda6c3d4bdd069f8125277a54c93fa5cfdf87b70c (patch)
tree477d00d963117d53dffe3c4f1db2d83791aa2b50 /qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java
parent0f12c5de67869593cfbc36760957467a122bf81a (diff)
re-work to test the effect of boost elision.