summaryrefslogtreecommitdiff
path: root/winaccessibility
AgeCommit message (Collapse)AuthorFilesLines
2016-07-20Fix typosAndrea Gelmini4-4/+4
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
2016-07-12Remove excess newlinesChris Sherlock5-6/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> (cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89) Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
2015-11-24com::sun::star->css in winaccessibility/Noel Grandin55-299/+294
Change-Id: I644364fc6d8fc334044a3e53fcde24a6ef86c021 Reviewed-on: https://gerrit.libreoffice.org/20142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin1-2/+1
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin1-2/+2
Change-Id: I31a69a997098eb1807361b8049c3312a4f287d75
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann10-17/+17
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-02Allow non ASCII chars as accelerator keysNiklas Johansson1-26/+2
Non ASCII characters like åäö can be used as accelerator keys (Alt+<x>). This already works however at the moment it is not exposed properly to accessibility tools such as screen readers. After this patch at least NVDA gets information about accelerator keys that are non ascii. On Linux we need to adapt code in vcl/unx/atk/a11y/atkaction.cxx. There is also vcl/source/window/dlgctrl.cxx#Window::GetActivationKey should probably have similar treatment and I guess that it is related to accelerator keys in dialogs but I need to confirm that. I'm a bit unsure how to best do that so I'll save it for later. Change-Id: I1f1509a26d781011d217670266bd10b2107811d5 Reviewed-on: https://gerrit.libreoffice.org/19078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29Fix typosAndrea Gelmini2-2/+2
Change-Id: I4525b43fa823d743b86bf4136c56af35274085e6 Reviewed-on: https://gerrit.libreoffice.org/18995 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-19boost->stdCaolán McNamara1-2/+2
Change-Id: I5079e03f70370ed83a1158b2e278f48642108f08 Reviewed-on: https://gerrit.libreoffice.org/18692 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-15Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe3-6/+6
with the variadic variants. Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a Reviewed-on: https://gerrit.libreoffice.org/18580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-02dtrans, winaccessibility: consistently use $(gb_UWINAPI)Michael Stahl1-1/+1
Change-Id: Ica85fbd62bdc67d17b33a27e9bd67997495120a4
2015-07-19Fix typosAndrea Gelmini1-2/+2
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-09remove obsolete check for pre-MSVC2013 ATL library nameMichael Stahl1-1/+1
Change-Id: I52bba4d4c0558e6b87530e4577f4b1ef458b7012 Reviewed-on: https://gerrit.libreoffice.org/16888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-07-08Fix typosAndrea Gelmini2-4/+4
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-06-30Fix typosAndrea Gelmini1-1/+1
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-16Remove reference to AccessibleTextImpl.javaAndrea Gelmini1-1/+0
The file: infra\accessibility\bridge\org\openoffice\java\accessibility\AccessibleTextImpl.java was deleted on commit 130833f80e89774269108cf30b2d1155a00354ce Change-Id: I8cecee3f55fd472f0ff13a14ff9db9acc26cd6ac Reviewed-on: https://gerrit.libreoffice.org/16296 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-15cppcheck:redundantAssignmentNoel Grandin2-3/+1
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
2015-06-15Fix typosAndrea Gelmini1-1/+1
Change-Id: Id05ea8cf8aed878bedfe73c274df3c67b64bad37 Reviewed-on: https://gerrit.libreoffice.org/16263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-23winaccessibility: rename unhelpful string defines.Michael Meeks2-8/+8
Change-Id: Ib73ddecb9fd49a2e1a5bb690a0f4bbbc77d9047a
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin2-2/+2
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann3-4/+4
Change-Id: I718cbc10c992b0515d3c4e2a62e38a6331a288d0
2015-03-22presumably this will fix the mismatch of the service namesCaolán McNamara1-1/+1
Change-Id: I380a5d15cd253f9807fed90d961651f888f60639
2015-03-20Typo: (O/o)veride(n)->(O/o)verride(n)Julien Nabet19-21/+21
Change-Id: Ied81ede9aaf045866596adc40d357cbbddb3d704
2015-03-13Typos for descriptionJulien Nabet1-1/+1
Change-Id: I1579c4a79f8806d4580b282737e829462361af98
2015-02-03Typo accpet->acceptJulien Nabet2-11/+11
Change-Id: Ib9a5c131701e8240779be43af015ff4943d68ae8
2015-02-03Typo: selction/slection -> selectionJulien Nabet2-4/+4
Change-Id: I3f405d9525d3afb6534166fd733cabf7779a2846
2015-01-19fdo#39440 reduce scope of local variablesMichael Weghorn1-8/+8
This addresses some cppcheck warnings. Change-Id: If7ad3584b3124ed0b337836071af1a5bd0451d85 Reviewed-on: https://gerrit.libreoffice.org/13972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-02Adapt UAccCOM to X64 platformDavid Ostrovsky10-10/+10
Change-Id: I1fe8bea6c9463314ca0ea18615a48bac28cdda8f Reviewed-on: https://gerrit.libreoffice.org/13227 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini2-3/+3
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-06fdo#81264 Accessiblitiy focus not tracked for cells in CalcNiklas Johansson1-2/+14
When the accessibility roles for DOCUMENT_SPREADSHEET etc. was introduced the following places in Windows specific files where not updated to take these new roles into account. This patch should hopefully fix that. As a side effect the initial code for tracking cell movement in Calc works again. Well at least as well as it did before the change, there are still some quirks left to fix. Change-Id: If3cacdc27a73c4cee85b1450c406d490bd741456 Reviewed-on: https://gerrit.libreoffice.org/12261 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-29ref-counting vcl::Window subclassesNoel Grandin3-5/+2
Points of discussion -------------------- (*) where in the Window destructor should dispose() be called? It's a seriously large method. (*) we're going to need similar typedefs and declarations for every single sub-class of vcl::Window, I assume that I will need to create a macro to make it less verbose. TODO ---- Update clang plugin to verify that: (a) dispose() methods always call their superclass dispose() (b) dispose() methods don't forget to clear any references owned by that class. Change-Id: I873d5d5166f811e2f65e49327cc98862559fcf30
2014-10-17fdo#74441 [Accessiblity] Don't expose 0 for empty cells in CalcNiklas Johansson1-1/+1
At the moment non numercial cells in Calc is exposed to AT tools (screen readers etc) as the value 0. It makes more sence to present the string value of the cell which basically is what a sighted user will see. This small patch should be a good start into making Calc more accessible on Windows. Change-Id: Ide76f2dc044c98f32aa78836049f12f2251522eb Reviewed-on: https://gerrit.libreoffice.org/11996 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-23fdo#82577: Handle WindowNoel Grandin3-5/+5
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-08-13Oops, partial revert of 5ba86251c08ea9a9297afd2c1d8f57adaecc3d03Tor Lillqvist1-0/+1
Change-Id: I180aa42ff2d97bad921603c20a0834aa3315526b
2014-08-13WaE: C4189: 'isTRUE' : local variable is initialized but not referencedTor Lillqvist1-1/+0
Change-Id: I84859c105c5f91ec66f075dd96be865ddeb71e33
2014-08-13WaE: C4245: 'argument' : conversion from 'int' to 'unsigned short'Tor Lillqvist1-1/+1
Change-Id: I2631ff653377b58dde5ae135571fd669cfbf9d30
2014-08-13warning C4189: local variable is initialized but not referencedThomas Arnhold1-1/+0
Change-Id: I270141baba4f9f6331871b33328bd673050509ed
2014-08-13warning C4189: local variable is initialized but not referencedThomas Arnhold4-9/+0
Change-Id: I365a0a86b66aecd2bb733b0f09c4b0f9a6063b5b
2014-08-13warning C4189: local variable is initialized but not referencedThomas Arnhold2-5/+3
Change-Id: I75092737f69b92bb46ea6bdd619aa54c759d8d65
2014-08-13warning C4189: local variable is initialized but not referencedThomas Arnhold1-1/+0
Change-Id: I255c1e9accad3c48f4151ceda6cec55c6cac4218
2014-07-08No atlsd.lib in VS 2013Tor Lillqvist1-1/+1
Instead, atls.lib should be used also with code compiled to use the debugging runtime. See http://msdn.microsoft.com/en-us/library/bb531344.aspx which says "Atls.lib no longer has character-set dependencies or code that's specific for debug/release. Because it works the same for Unicode/ANSI and debug/release, only one version of the library is required." Change-Id: Ie39ea271513dec1084cae8d1bbf93afa286f357a
2014-06-06fixincludeguards: fix include guardsThomas Arnhold13-85/+30
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-05various: remove SAL_THROW macroNoel Grandin1-1/+1
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04compareTo -> equalsNoel Grandin1-21/+21
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-05-27css already means ::com::sun::starThomas Arnhold1-2/+2
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin1-1/+1
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet3-16/+16
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23catch exception by const refTakeshi Abe1-1/+1
... redoing 0292b4269ec370818bb1ed48222fade636374a4a Change-Id: Ie869d8cd011cdc64c87363a4c31e6afbd439808c
2014-05-22cppcheck: Exception should be caught by referenceThomas Arnhold1-1/+1
Change-Id: I14b26941a8f3115a5b3893593151c24684b24d60
2014-05-22cppcheck: Variable 'dChildIndex,...' is assigned a value that is never usedThomas Arnhold1-4/+0
Change-Id: Ifa4ea7faa4bcf6580f10c8ece15a01d72f2903f3