summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-25acc. check: implement goto for OLE/Graphic objectsfeature/accessibilitycheckTomaž Vajngerl
This implements goto function for Graphic/OLE objects that are reported in a AccessibilityCheckResult. So this enables to go to the object inside a document for which we have reported an accessibility issue. Change-Id: I699966b116a76ea032cb1acc9a431687fa204e07
2019-12-25pdf: Add option for PDF/UA to the PDF export dialogTomaž Vajngerl
This is adding PDF/UA option to the PDF export dialog. When PDF/UA support is enabled, it automatically enables PDFTag support as it is required for PDF/UA. Change-Id: Ib3dece964523d4ed9884c98a6022a91120c6065f
2019-12-25acc. check: add "goto" button to see the acc. issue in documentTomaž Vajngerl
This adds the UI for the goto functionality to the UI, but currently no goto implementation to jump to the specific issue area in the document is written. Change-Id: I5b326a000e62231c491c179b1ff8accde15e1e98
2019-12-25acc. check: add writer specific accessibility check resultTomaž Vajngerl
This adds sw::AccessibilityCheckResult and refactors the existing code to work with it. In addition adds AccessibilityCheckResultCollection which holds the vector of results. Change-Id: Ide0fdbdba337bbf8c2fd18770895fb63a22528b6
2019-12-25pdf: support for PDF/UA in PDFWriter, write flag to the metadataTomaž Vajngerl
This adds support for PDF/UA to the PDFWriter in form of a bool flag and writes into the XmpMetadata that the document is supposed to be PDF/UA compliant (even if it may not be). Change-Id: If187152d3860397fc629e272c5b3888fca34e790
2019-12-25pdf: extract XMP metadata writing and use XmlWriterTomaž Vajngerl
Instead of writing XMP metadata with a string buffer, change to use XmlWriter instead. Extract XMP metadata writing into its own class vcl::pdf::XmpMetadata. This also needs a change to the XmlWriter to not write a classic XML header: '<?xml version="1.0" ... ?>' Change-Id: I95ea0e7ba58e7c43a0c707bf9c676994210ff104
2019-12-25acc. check: check for endnotes and footnotesTomaž Vajngerl
Endnotes and footnotes cause problems for accessibility and should be avoided. Change-Id: Ibbce4d246f76feb8d389a7ba588836e2fef8f5d5
2019-12-25acc. check: check for blinking textTomaž Vajngerl
Change-Id: If023c9b6c6225a3889f2fd68b8ed62abb4365d48
2019-12-25acc. check: text vs. background contrast checkTomaž Vajngerl
Contrast between text and background shouldn't be too low (under 4.5). The way how to calculate the contrast is defined by the WCAG21. Change-Id: Ic52ab68ba0ec6a4ab58e6b01afe74e8e7eeae104
2019-12-25acc. check: introduce AccessibilityCheckTest + document testTomaž Vajngerl
This adds AccessibilityCheckTest to test that AccessibilityCheck returns correct issues for documents. This in addition adds 2 tests for document title and document/style language. Change-Id: I71f3b0de0af7a08507f2b90b46847010948bc8cb
2019-12-25acc. check: check document contains a document title (metadata)Tomaž Vajngerl
Change-Id: I09dd2143153e787730d1528de030d8777edcb05f
2019-12-25acc. check: check document default language and style languageTomaž Vajngerl
This checks hat the defualt language of the document is set and in addition that the used styles also have the default language set. Accessibility requires the language always be set. Change-Id: I6ea36e6e8b30289cdb35311da9470f856a847b38
2019-12-25acc. check: check hyperlink text doesn't contain the linkTomaž Vajngerl
The hyperlink text shouldn't be the URL too - for example the text shouldn't be "http://www.example.com" Change-Id: I69f7a742705aaa25da1a832ab05922d138b8ea0f
2019-12-25acc. check: detect fake numberingTomaž Vajngerl
Detect fake numbering, where numbering is not done using the Writer integrated numbering. This is done by checking the pattern how the paragraphs start. If paragraph starts with "2." (for example) and previous paragraph starts with "1.", then this is possible a fake numbering. Currently checking "1.", "(1)", "1)", "a.", "a)", "(a)". Change-Id: Ibdb725d944f50208c6c951531e291183244f38e8
2019-12-25acc. check: simplify var. name for acc. result check collectionTomaž Vajngerl
m_aAccessibilityCheckResultCollection to m_aResultCollection Change-Id: I979d60aaf5963c0fa0fb58fc2e0a89b77858110b
2019-12-25acc. check: Introduce NodeCheck for accessibility checks on nodesTomaž Vajngerl
NodeCheck responsibility is to check a node for accessibility issues. For each node there are multiple node checks executed and currently there are 2 node check implementations: - NoTextNodeAltTextCheck - TableNodeMergeSplitCheck These 2 checks are converted from the current checks in the code. Change-Id: Idde7092536f094d936aa3d353f4512949ca36a60
2019-12-25AccessibilityCheck iface, namespaces, move AccessibilitCheckResultTomaž Vajngerl
This adds AccessibilityCheck interface into svx, which also requires addition of namespaces as there is now AccessibilityCheck interface and the implementation in sw (sw::AccessibilityCheck). As the AccessibilityCheck requires AccessibilitCheckResult, move that into svx too. Change-Id: If7065cdab90b02478c57f22afb7ca716d70b8dce
2019-12-25acc. check: add check for TablesTomaž Vajngerl
Tables shouldn't use splitted or merge cells. Change-Id: Ife6726413d9dd1ead098c081e03f4f82540f1012
2019-12-25extract accessibility checks to it's own functionTomaž Vajngerl
Change-Id: I986b863d152b515927c62785bfed39354559a743
2019-12-25accessibility check dialogTomaž Vajngerl
This adds the accessibility check dialog which is responsible to show all the accessibility check issues in the current document. Currently this just shows the text message in a list that comes from AccessibilityCheck. Change-Id: I8fd27038e3d85cd31fe172eee5e391fd4b7243ae
2019-12-25accessibility check base functionalityTomaž Vajngerl
This adds AccessibilityCheck class to writer, which perfors the accessibility check of the current document to make the document conform to PDF/UA requirements. The first check this adds is check for the "alt" (sometimes also called "title") to be present for graphics, OLE objects (charts) and shapes. Change-Id: I98dcca787099bdb17cab9291546074cdde2ae5a8
2019-12-25Add accessibility check to the Writer menuTomaž Vajngerl
Change-Id: I7e4c3267288b238583822489c8098e64319dda16
2019-12-25use FastParser in starmathNoel Grandin
Change-Id: I5633b8e17d3150fac356ac7f7c0369d119a2af60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85790 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-24update cppunit to 1.15.1Markus Mohrhard
Change-Id: Ic27a77addb409a8d63ea44136a8d2410ee40c4d2 Reviewed-on: https://gerrit.libreoffice.org/85539 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2019-12-24sal_Char->char in unoxmlNoel Grandin
Change-Id: Ie14ea8349e5dc698a11b3447429b3ca7cbab9bb3 Reviewed-on: https://gerrit.libreoffice.org/85774 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-24no need to use shared_ptr hereNoel Grandin
when we are really just sharing a single global lock object Change-Id: I30d6f4cbd30cb7ee849f20a6c15615a94f67d7d8 Reviewed-on: https://gerrit.libreoffice.org/85768 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-24Fix grammarAndrea Gelmini
Change-Id: Ib66bb311002292dbed0a91452849d9192039c89c Reviewed-on: https://gerrit.libreoffice.org/85780 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-24ImplementationInfo can be inlinedNoel Grandin
no need to hold by shared_ptr, it is never shared Change-Id: I4818c08e4beab57d777e90d181d92a3edddffbf5 Reviewed-on: https://gerrit.libreoffice.org/85772 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-24sal_Char->char in vclNoel Grandin
Change-Id: I4359b7042f98586e2c9f5529d83d769cdf3d033c Reviewed-on: https://gerrit.libreoffice.org/85775 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-24Fix grammarAndrea Gelmini
Change-Id: I5536e94dfd502558b00a0ed3d9d97fdf00eb4854 Reviewed-on: https://gerrit.libreoffice.org/85625 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-12-23Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' - tdf#129517 add some missing words to a heading Change-Id: I77b6e447aa1fcb04a86ba0f29e6a29cac3676325 Reviewed-on: https://gerrit.libreoffice.org/85604 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-23Update git submodulesLibreOfficiant
* Update helpcontent2 from branch 'master' - tdf#62326 &o &h literal notations &b notation isn't supported Change-Id: Ic1dd13326e13623d74c4bf70c6cdb01a33733b44 Reviewed-on: https://gerrit.libreoffice.org/85590 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-23Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' - corrections in help for Table of Contents dialog box Change-Id: I9a9f5527dcb3c267d4aaa758ec9849c9786d3bf2 Reviewed-on: https://gerrit.libreoffice.org/85697 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-23call gtk_widget_size_allocate explicitlyCaolán McNamara
otherwise native gtk sidebar widgets are not initially positioned automatically Change-Id: I835c63c9c18ebc37be57e605b82f748bcff5d1a2 Reviewed-on: https://gerrit.libreoffice.org/85761 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-23reorganize ToolbarUnoDispatcher to be useful for sidebarCaolán McNamara
Change-Id: If129d4832f04758705e121bff88ea7d2e45bf96b Reviewed-on: https://gerrit.libreoffice.org/85755 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-23sal_Char->char in ucbNoel Grandin
Change-Id: Ib8b14df44da17fb0ebb12f160b66573183f7a17e Reviewed-on: https://gerrit.libreoffice.org/85745 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-23sal_Char->char in toolsNoel Grandin
Change-Id: Id8be02e445ac439439b2f78ba4a7376dd19ce360 Reviewed-on: https://gerrit.libreoffice.org/85744 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-23sal_Char->char in toolkitNoel Grandin
Change-Id: I3016c8c672beb5a2d5f772f8a2ddc0047088e1da Reviewed-on: https://gerrit.libreoffice.org/85743 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-23use recording window as parentCaolán McNamara
Change-Id: I28a13fa7052579b90afcda22f78e831bf684667b Reviewed-on: https://gerrit.libreoffice.org/85754 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-23tdf#129514 sw: DOCX export: write separator for CH_TXT_ATR_FORMELEMENTMichael Stahl
... fieldmarks; the input DOC file has no separators, like: ^S FORMCHECKBOX ^A^U but adding the separator doesn't appear to hurt and the DocxAttributeOutput gets confused by the lack of it and puts the run that should be after the field into the field. (regression from 94e0b8407b02d76b27324b8b08012eb024aca9e9) Change-Id: Ibeb1bb2ad3a4ed9c0ac9c3e90cc193debf7ad5db Reviewed-on: https://gerrit.libreoffice.org/85753 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2019-12-23Revert "Drawing calc grid misses pixels on bottom and right; fix."Thorsten Behrens
This reverts commit 24e7208306fa1c60eb0a0cee5c49b6454cad9df3. Code is used for Draw/Impress, too. Change-Id: I799162d0e7040a27cddfbca94e191fa2d037ee9b Reviewed-on: https://gerrit.libreoffice.org/85751 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-23drawinglayer: rename PenDataNonCenter to PenAlignment, use PenAlignmentToStringChris Sherlock
Change-Id: I700f1b164e065b42928b05a4ead493c8ce2c57c2 Reviewed-on: https://gerrit.libreoffice.org/84838 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2019-12-23tdf#129490 Fix enter key in combo boxSamuel Mehrbrodt
Follow-up fix for 7de9417d5f65d35227c7f80f6d587c2a56bde4e0 Change-Id: I0b05f11b79d5fcd4e4823c1e31c087724ebc85f8 Reviewed-on: https://gerrit.libreoffice.org/85748 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-12-23Fix typo in codeAndrea Gelmini
Here it passed "make check" on Linux Change-Id: I334509d22495e4cf8c49ed5d885bd85e938ff9aa Reviewed-on: https://gerrit.libreoffice.org/85741 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-23Fix typoAndrea Gelmini
Change-Id: I3482df53126f94f8ffd9a37f7fc2a2ce0ab45ed3 Reviewed-on: https://gerrit.libreoffice.org/85739 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-23drawinglayer: read EmfPlusPointR points in EmfPlusPath recordChris Sherlock
Change-Id: Iecb0fbd85fd5ceb1d9d9904a6a5482385f8d8622 Reviewed-on: https://gerrit.libreoffice.org/84842 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2019-12-23drawinglayer: improve logging - DashedLineCapTypeToString()Chris Sherlock
Change-Id: I9d7250980b833b8f45bef337c83b3592ca52ae3c Reviewed-on: https://gerrit.libreoffice.org/84837 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2019-12-23Fix typoAndrea Gelmini
Change-Id: Ib375009bd87b458a71ead8438a40f7c1e32c1234 Reviewed-on: https://gerrit.libreoffice.org/85738 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-23Fix typoAndrea Gelmini
Vim editing? Change-Id: I79f610ba48a4f68f48ea6dfd4652a8a4670294b8 Reviewed-on: https://gerrit.libreoffice.org/85740 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-23tdf#129520 xmloff: fix ODF import of multi-paragraph fieldmarkMichael Stahl
The problem is that inserting PARAGRAPH_BREAK also calls AppendTextNode() internally, not SplitNode(). (regression from 6eb1c2304d257d16858b7b51cad63f1dc2bde88b) Change-Id: I2d33819a973c956ea04925458c904ce36ccb55a3 Reviewed-on: https://gerrit.libreoffice.org/85627 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>