debian/0000775000000000000000000000000012317543641007176 5ustar debian/libreoffice-accessodf.docs0000664000000000000000000000002212145262341014235 0ustar debian/user-guide debian/compat0000664000000000000000000000000212145254547010377 0ustar 7 debian/user-guide0000664000000000000000000001045312145254547011200 0ustar UserGuide This user guide was taken from http://sourceforge.net/p/accessodf/wiki/UserGuide/ please have a look there for an up-to-date version. User Guide 1. Introduction AccessODF helps authors evaluate and improve the accessibility of their documents in OpenOffice.org or LibreOffice Writer. A document may contain many problems that the author is unaware of but that can keep someone with a disability from accessing the content. This is true whether documents are accessed in Writer itself, or exported to a more common format like HTML or PDF. Thanks to the extensions odt2daisy and odt2braille, Writer documents can be a suitable source for formats specifically aimed at persons with disabilities. But in order to create valid and usable Braille or DAISY books, the source document needs to be accessible. You can do several things to increase the accessibility of ODT documents. The following documents give you a number of guidelines: • ODF Accessibility Guidelines by the Accessibility subcommittee of the OASIS Open Document Format for Office Applications (OpenDocument) TC • Authoring Techniques For Accessible Office Documents by the Accessible Digital Office Document (ADOD) Project • OpenOffice.org and Accessibility by Web Accessibility in Mind (WebAIM) AccessODF helps you to keep these rules in mind and makes it very easy to write accessible documents. Checking the accessibility is now as straightforward as checking the spelling: similar to the spelling checker alerting you to potential spelling errors, the accessibility checker helps you identify and resolve potential accessibility issues. 2. Installation AccessODF is available as an extension. The installation requires OpenOffice.org/LibreOffice 3.3. AccessODF runs on all platforms (Windows, Mac OS, Linux). 1. Download the installation file (OXT) 2. In Writer, go to Tools > Extension Manager... 3. Click Add... 4. Select the OXT file and click Open 5. Wait until the installation has finished, then click Close 6. Finally, restart Writer Warning: If you get an error dialog with the words com.sun.star.registry.CannotRegisterImplementationException in it when installing the extension on Ubuntu, open a command line and enter the command sudo apt-get install libreoffice-java-common. This solution may also work for other Linux distributions. 3. Evaluate accessibility The accessibility checker is shown in the Accessibility section of the Task Pane in Writer. The Accessibility section of the Task Pane You might have seen this Task Pane before in Impress, where it is used for Master Pages, Layouts, Custom Animations and Transitions. It is usually located at the right side of the workspace, but it can also be placed at the left or even undocked. To check the document for possible issues, do the following: 1. Open the document in Writer 2. Go to Tools > Accessibility Evaluation... The Accessibility Evaluation item in the Tools menu 3. Click Check The check button 4. Wait for the tool to scan the whole document The task pane displays all issues in a 'tree' view. While navigating the issues, focus will move to the relevant location in the document. Each issue is classified as an error or a warning. Selecting an issue shows information about why something might be inaccessible, and instructions on how to fix it. The accessibility checker gives an overview of all issues in a tree view You can include or exclude certain checks specific to the export to DAISY and Braille. To show these options, go to Tools > Options... > OpenOffice.org/LibreOffice Writer > Accessibility Checker. In order to do Braille-specific checks, odt2braille version 1.1.0 or later must be installed. The Options page 4. Resolve accessibility issues Each error or warning includes instructions on how to fix it manually. For some issues, you can also use the handy Repair button. This button either fixes the issue automatically, or it sends you in the right direction so that you can skip a few steps. It is also possible that the checker reports an issue where no problem exists. In this case, just ignore the issue with the Ignore button. 1. Select an issue 2. If this is not a real issue, click Ignore 3. Else, if the Repair button is enabled, use it to fix the issue (semi-)automatically 4. Else, fix the issue manually 5. Repeat this until no issues are left debian/libreoffice-accessodf.lintian-overrides0000664000000000000000000000006412145262341016751 0ustar libreoffice-accessodf binary: image-file-in-usr-lib debian/changelog0000664000000000000000000000414512317542540011051 0ustar accessodf (0.1-4ubuntu1) trusty; urgency=medium * fix for underdocumented change of published API inherited from https://issues.apache.org/ooo/show_bug.cgi?id=121544 (Closes: #743634) -- Bjoern Michaelsen Fri, 04 Apr 2014 16:42:06 +0200 accessodf (0.1-4) unstable; urgency=low * add Replaces/Breaks for new packages, to not coexist with older versions of the package -- Sebastian Humenda Mon, 20 May 2013 11:26:41 +0200 accessodf (0.1-3) unstable; urgency=low [ Sebastian Humenda ] * do not depend on openjdk-6 (Closes: #674578) * split package into a library and an extension, rename extension to libreoffice-accessodf (Closes: #684921) * bump standards-version [ Samuel Thibault ] * Fix duplicate installation of accessodf.jar. -- Sebastian Humenda Thu, 16 May 2013 17:13:16 +0200 accessodf (0.1-2) unstable; urgency=low * {pre,post}{inst|rm}: removed. The cleaner (now working) solution is to just unzip the package. This method won't leave unowned files behind. (Closes: #679717) -- Sebastian Humenda Mon, 21 Jan 2013 19:01:52 +0200 accessodf (0.1-1.3) unstable; urgency=low * Non-maintainer upload. * oops, forgot a unopkg in preinst, thanks Andreas Beckmann (closes: #679717) -- Rene Engelhard Fri, 02 Nov 2012 12:32:50 +0100 accessodf (0.1-1.2) unstable; urgency=low * Non-maintainer upload. * set $HOME explicitely in unopkg usage in maintainer scripts (closes: #679717) -- Rene Engelhard Tue, 23 Oct 2012 19:53:57 +0200 accessodf (0.1-1.1) unstable; urgency=low * Non-maintainer upload. * Build-depend and Depend on libcommons-collections3-java instead of libcommons-collections-java. * Depend on libreoffice-java-common (Closes: #668376) -- Samuel Thibault Sat, 30 Jun 2012 00:28:15 -0300 accessodf (0.1-1) unstable; urgency=low * Initial release, packaged as a dependency for odt2braille. (Closes: #668144) -- Sebastian Humenda Mon, 09 Apr 2012 11:21:13 +0200 debian/watch0000664000000000000000000000031312145254547010227 0ustar # The source can only be fetched via Mercurial. # This makes scanning for tar-gz-files difficult. # Please have a look at: # http://sourceforge.net/p/accessodf # or use # debian/rules get-orig-source debian/patches/0000775000000000000000000000000012317543136010624 5ustar debian/patches/debian_build_dependencies0000664000000000000000000000255212145254547015666 0ustar Description: Use Debian-specific build dependencies Upstream ships dependencies in lib/. Since on Debian system, dependencies are installed separately, build.debian.properties needs to be adjusted to point to the correct places. . accessodf (0.1-1) unstable; urgency=low . * Initial release, packaged as a dependency for odt2braille. (Closes: #630200) Author: Sebastian Humenda Bug-Debian: http://bugs.debian.org/630200 --- Origin: None Forwarded: no --- accessodf-0.1.orig/build.debian.properties +++ accessodf-0.1/build.debian.properties @@ -1,18 +1,18 @@ # These properties can be edited office.program.dir=/usr/lib/libreoffice/program -basis.dir=/usr/lib/libreoffice/basis3.3 -ure.dir=/usr/lib/libreoffice/basis3.3/ure-link -java.dir=/usr/lib/libreoffice/basis3.3/ure-link/share/java -classes.dir=/usr/lib/libreoffice/basis3.3/program/classes +basis.dir=/usr/lib/libreoffice +ure.dir=/usr/lib/libreoffice/ure-link +java.dir=/usr/lib/libreoffice/ure-link/share/java +classes.dir=/usr/lib/libreoffice/program/classes core.deploy.dir=/usr/share/java -#file.reference.commons-collections-3.2.1=... +file.reference.commons-collections-3.2.1=/usr/share/java/commons-collections3.jar # Optional -sdk.dir=/usr/lib/libreoffice/basis3.3/sdk +sdk.dir=/usr/lib/libreoffice/sdk # These properties should be left unchanged debian/patches/series0000664000000000000000000000005712317541762012046 0ustar debian_build_dependencies fix-for-i121544.diff debian/patches/remove-hgtags.diff0000664000000000000000000000113012145262341014214 0ustar Description: remove .hgtags and .hgignore from source tree Index: accessodf/.hgignore =================================================================== --- accessodf.orig/.hgignore 2012-03-01 22:50:55.000000000 +0100 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -syntax: glob -.DS_Store -build -dist Index: accessodf/.hgtags =================================================================== --- accessodf.orig/.hgtags 2012-03-01 22:50:55.000000000 +0100 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -65d27cf8b60a12a258bbc3fd83155c8440bb4e05 release-0.1.0 debian/patches/fix-for-i121544.diff0000664000000000000000000000214712317543136013743 0ustar From: Bjoern Michaelsen Date: Wed, 02 Apr 2014 11:49:08 +0200 Subject: adjust for underdocumented change of published API from i#121544 this was inherited from AOO see also: http://cgit.freedesktop.org/libreoffice/core/commit/?id=805c6101b3427cc98b53f1c48f22f705206c384d --- accessodf-0.1.orig/addon/be/docarch/accessodf/ooo/UnoAwtUtils.java +++ accessodf-0.1/addon/be/docarch/accessodf/ooo/UnoAwtUtils.java @@ -111,9 +111,7 @@ public class UnoAwtUtils { // Initialize the message box factory XMessageBoxFactory messageBoxFactory = (XMessageBoxFactory) UnoRuntime.queryInterface(XMessageBoxFactory.class, parentWindowPeer.getToolkit()); - Rectangle messageBoxRectangle = new Rectangle(); - - XMessageBox box = messageBoxFactory.createMessageBox(parentWindowPeer, messageBoxRectangle, messageBoxType, messageBoxButtons, messageBoxTitle, message); + XMessageBox box = messageBoxFactory.createMessageBox(parentWindowPeer, com.sun.star.awt.MessageBoxType.MESSAGEBOX, messageBoxButtons, messageBoxTitle, message); return box.execute(); } debian/source/0000775000000000000000000000000012145254547010501 5ustar debian/source/format0000664000000000000000000000001412145254547011707 0ustar 3.0 (quilt) debian/control0000664000000000000000000000677512317543630010616 0ustar Source: accessodf Section: java Priority: extra Maintainer: Sebastian Humenda Build-Depends: debhelper (>= 7.0.50~), ant (>= 1.8~), ant-optional, libcommons-collections3-java, libreoffice-java-common (>= 1:4.2.0~), unzip, default-jdk Standards-Version: 3.9.5 Homepage: http://sourceforge.net/p/accessodf Package: accessodf Architecture: all Section: oldlibs Depends: ${misc:Depends}, libreoffice-accessodf Description: Transitional package for accessodf to libreoffice-accessodf This package garantees a smooth upgrade to the new libreoffice-accessodf package. It can be removed after the upgrade. Package: libreoffice-accessodf Architecture: all Replaces: accessodf (<< 0.1-3) Breaks: accessodf (<< 0.1-3) Depends: ${misc:Depends}, libaccessodf-java Description: Libreoffice extension to check accessibility of ODF documents AccessODF is an extension that can be used in OpenOffice.org Writer and in LibreOffice Writer. It enables authors to find and repair accessibility issues in their documents, i.e. issues that make their documents difficult or even impossible to read for people with disabilities. This includes issues such as: * insufficient colour contrast between text and background, * missing text alternatives for images and other objects (such text alternatives are necessary for blind users and other users of text-to-speech software), * missing language identification for the document and for language changes inside the document (language information is needed for conversion into Braille and synthetic speech), * the use of proper Heading styles instead of big bold text to identify headings (this enables document navigation based on headings), * the use of proper tables instead of visually mimicking tables by using tabs or spaces, * the compatibility of images with DAISY, the de-facto standard for digital talking books. For each accessibility issue, AccessODF provides a description and repair suggestions. Package: libaccessodf-java Architecture: all Replaces: accessodf (<< 0.1-3) Breaks: accessodf (<< 0.1-3), libreoffice-java-common (<< 1:4.2.0~) Depends: ${misc:Depends}, libcommons-collections3-java, libreoffice-java-common (>= 1:4.2.0~), libreoffice-writer Description: library for checking accessibility in ODF/ODT documents using Libreoffice AccessODF is an extension that can be used in OpenOffice.org Writer and in LibreOffice Writer. It enables authors to find and repair accessibility issues in their documents, i.e. issues that make their documents difficult or even impossible to read for people with disabilities. This includes issues such as: * insufficient colour contrast between text and background, * missing text alternatives for images and other objects (such text alternatives are necessary for blind users and other users of text-to-speech software), * missing language identification for the document and for language changes inside the document (language information is needed for conversion into Braille and synthetic speech), * the use of proper Heading styles instead of big bold text to identify headings (this enables document navigation based on headings), * the use of proper tables instead of visually mimicking tables by using tabs or spaces, * the compatibility of images with DAISY, the de-facto standard for digital talking books. For each accessibility issue, AccessODF provides a description and repair suggestions. . This package just contains the library for use in other programs. debian/rules0000775000000000000000000000246112145262341010253 0ustar #!/usr/bin/make -f # -*- makefile -*- SRC_PACKAGE = accessodf SRC_VERSION = 0.1 TARBALL = $(SRC_PACKAGE)_$(SRC_VERSION).orig.tar.gz .PHONY: get-orig-source # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_clean: -rm -rf dist -rm -rf build override_dh_auto_build: ant -Don-debian=True uno-package override_dh_auto_install: mkdir -p debian/tmp/usr/lib/libreoffice/share/extensions/accessodf unzip -d debian/tmp/usr/lib/libreoffice/share/extensions/accessodf/ dist/AccessODF.oxt -rm -rf debian/tmp/usr/lib/libreoffice/share/extensions/accessodf/lib -rm -rf debian/tmp/usr/lib/libreoffice/share/extensions/accessodf/accessodf-addon.jar get-orig-source: git clone git://git.code.sf.net/p/accessodf/code \ $(SRC_PACKAGE)-$(SRC_VERSION).orig cd $(SRC_PACKAGE)-$(SRC_VERSION).orig; \ git checkout release-0.1.0 # Remove $SRC/lib and $SRC/ant-build/resources, because it's not necessary in Debian, dependencies are in Debian itself available, furthermore some scm-files rm -rf $(SRC_PACKAGE)-$(SRC_VERSION).orig/lib rm -rf $(SRC_PACKAGE)-$(SRC_VERSION).orig/.git rm -rf $(SRC_PACKAGE)-$(SRC_VERSION).orig/.gitignore rm -rf $(SRC_PACKAGE)-$(SRC_VERSION).orig/.hgignore tar czf ../$(TARBALL) $(SRC_PACKAGE)-$(SRC_VERSION).orig rm -rf $(SRC_PACKAGE)-$(SRC_VERSION).orig debian/libreoffice-accessodf.links0000664000000000000000000000015512145262341014434 0ustar /usr/share/accessodf/accessodf-addon.jar /usr/lib/libreoffice/share/extensions/accessodf/accessodf-addon.jar debian/libreoffice-accessodf.install0000664000000000000000000000014312145262341014757 0ustar dist/AccessODF.oxt usr/share/accessodf debian/tmp/usr/lib/libreoffice/share/extensions/accessodf/* debian/copyright0000664000000000000000000000252412145254547011137 0ustar This work was packaged for Debian by: Sebastian Humenda on Mon, 27 Jun 2011 16:34:49 +0200 It was downloaded from: http://sourceforge.net/p/accessodf/ The lib/ directory was removed, since they contained libraries which are already packaged within Debian. Copyright: 2012 by DocArch . License: This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU Lesser General Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". The Debian packaging is: Copyright (C) 2012 Sebastian Humenda and is licensed under the LGPL, as the library itself. Please see "/usr/share/common-licenses/GPL-3". debian/libaccessodf-java.install0000664000000000000000000000004612145262341014120 0ustar dist/lib/accessodf.jar usr/share/java debian/README.Debian0000664000000000000000000000056012145254547011243 0ustar AccessODF for Debian ----------------------- AccessODF -- a Libreoffice extension to check accessibility in ODF documents. There is not much documentation on the web. You find a summary and some details on usage at http://accessodf.sourceforge.net and http://sourceforge.net/p/accessodf/ -- Sebastian Humenda Thu, 02 Mar 2012 21:54:00 +0200