summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/image
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /offapi/com/sun/star/image
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'offapi/com/sun/star/image')
-rw-r--r--offapi/com/sun/star/image/ImageMap.idl50
-rw-r--r--offapi/com/sun/star/image/ImageMapCircleObject.idl52
-rw-r--r--offapi/com/sun/star/image/ImageMapObject.idl71
-rw-r--r--offapi/com/sun/star/image/ImageMapPolygonObject.idl50
-rw-r--r--offapi/com/sun/star/image/ImageMapRectangleObject.idl49
5 files changed, 272 insertions, 0 deletions
diff --git a/offapi/com/sun/star/image/ImageMap.idl b/offapi/com/sun/star/image/ImageMap.idl
new file mode 100644
index 000000000..12685af7a
--- /dev/null
+++ b/offapi/com/sun/star/image/ImageMap.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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 .
+ */
+#ifndef __com_sun_star_image_ImageMap_idl__
+#define __com_sun_star_image_ImageMap_idl__
+
+#include <com/sun/star/container/XNamed.idl>
+#include <com/sun/star/container/XIndexContainer.idl>
+
+
+ module com { module sun { module star { module image {
+
+
+/** This service specifies a HTML image map.
+ */
+published service ImageMap
+{
+ /** an ImageMap can, optionally, have a name. */
+ interface ::com::sun::star::container::XNamed;
+
+ /** this container interface gives access to
+ the objects inside this image map.
+ @see ImageMapRectangleObject
+ @see ImageMapCircleObject
+ @see ImageMapPolygonObject
+ */
+ interface ::com::sun::star::container::XIndexContainer;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/image/ImageMapCircleObject.idl b/offapi/com/sun/star/image/ImageMapCircleObject.idl
new file mode 100644
index 000000000..d3fdec66d
--- /dev/null
+++ b/offapi/com/sun/star/image/ImageMapCircleObject.idl
@@ -0,0 +1,52 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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 .
+ */
+#ifndef __com_sun_star_image_ImageMapCircleObject_idl__
+#define __com_sun_star_image_ImageMapCircleObject_idl__
+
+#include <com/sun/star/image/ImageMapObject.idl>
+
+#include <com/sun/star/awt/Point.idl>
+
+
+ module com { module sun { module star { module image {
+
+
+/** this service describes a circular-shaped region inside
+ a HTML image map.
+ @see ImageMap
+ @see ImageMapObject
+*/
+published service ImageMapCircleObject
+{
+ /** The basic service for all image map objects. */
+ service ImageMapObject;
+
+ /** This is the center point of the circle in pixels */
+ [property] com::sun::star::awt::Point Center;
+
+ /** This is the radius of the circle in pixels */
+ [property] long Radius;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/image/ImageMapObject.idl b/offapi/com/sun/star/image/ImageMapObject.idl
new file mode 100644
index 000000000..8a9ea20dd
--- /dev/null
+++ b/offapi/com/sun/star/image/ImageMapObject.idl
@@ -0,0 +1,71 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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 .
+ */
+#ifndef __com_sun_star_image_ImageMapObject_idl__
+#define __com_sun_star_image_ImageMapObject_idl__
+
+#include <com/sun/star/beans/XPropertySet.idl>
+
+#include <com/sun/star/document/XEventsSupplier.idl>
+
+
+ module com { module sun { module star { module image {
+
+
+/** this is a base service for objects inside an image map.
+ @see ImageMap
+ @see ImageMapRectangleObject
+ @see ImageMapCircleObject
+ @see ImageMapPolygonObject
+*/
+published service ImageMapObject
+{
+ /** Interface to access the properties of this service. */
+ interface ::com::sun::star::beans::XPropertySet;
+
+ /** This interface gives access to the events bound to
+ this ImageMapObject.<p>
+
+ @see com::sun::star::document::Events
+ */
+ interface com::sun::star::document::XEventsSupplier;
+
+ /** This is the URL for this object */
+ [property] string URL;
+
+ /** This is an optional description text for the link. */
+ [property] string Description;
+
+ /** This is the target frame */
+ [property] string Target;
+
+ /** Optionally, objects could be named. */
+ [property] string Name;
+
+ /** If an object is not active, it is ignored when
+ the user clicks on the ImageMap.
+ */
+ [property] boolean IsActive;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/image/ImageMapPolygonObject.idl b/offapi/com/sun/star/image/ImageMapPolygonObject.idl
new file mode 100644
index 000000000..b472a1774
--- /dev/null
+++ b/offapi/com/sun/star/image/ImageMapPolygonObject.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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 .
+ */
+#ifndef __com_sun_star_image_ImageMapPolygonObject_idl__
+#define __com_sun_star_image_ImageMapPolygonObject_idl__
+
+#include <com/sun/star/image/ImageMapObject.idl>
+
+#include <com/sun/star/drawing/PointSequence.idl>
+
+
+ module com { module sun { module star { module image {
+
+
+/** this service describes a polygon-shaped region inside
+ a HTML image map.
+ @see ImageMap
+ @see ImageMapObject
+*/
+published service ImageMapPolygonObject
+{
+ /** The basic service for all image map objects. */
+ service ImageMapObject;
+
+ /** This sequence of points outlines the click area of
+ this image map object. */
+ [property] com::sun::star::drawing::PointSequence Polygon;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/image/ImageMapRectangleObject.idl b/offapi/com/sun/star/image/ImageMapRectangleObject.idl
new file mode 100644
index 000000000..fa8b21763
--- /dev/null
+++ b/offapi/com/sun/star/image/ImageMapRectangleObject.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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 .
+ */
+#ifndef __com_sun_star_image_ImageMapRectangleObject_idl__
+#define __com_sun_star_image_ImageMapRectangleObject_idl__
+
+#include <com/sun/star/image/ImageMapObject.idl>
+
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+ module com { module sun { module star { module image {
+
+
+/** this service describes a rectangular-shaped region inside
+ a HTML image map.
+ @see ImageMap
+ @see ImageMapObject
+*/
+published service ImageMapRectangleObject
+{
+ /** The basic service for all image map objects. */
+ service ImageMapObject;
+
+ /** This is the boundary of this rectangle object */
+ [property] com::sun::star::awt::Rectangle Boundary;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */