office-gobmx/sw/qa
Justin Luth b4c55cb614 tdf#139759 doc import: import comment highlight/shade
Round-tripping depends on earlier commits for this bug.

These two attributes are SvxColorItems in EditEng,
but SvxBrushItems in Writer. So direct mapping doesn't work.

Although it might be a highlight, LO doesn't have such a silly
duplicate thing in the editeng code. So just map this as
the same thing used for normal char background.

As of LO 7.x, we default to exporting as char background anyway,
so highlight is on the way out in LO.

P.S. Highlight is one of 17-ish colors. It is the background
button in the Char panel in MS Word. Background is on Word's
Para panel (even though it is a character property),
and so it can fairly easily be removed in MS Word.

Change-Id: Id25879d90ba4a0eeff2d6afed030fc029d1c1039
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137239
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-07-20 14:39:24 +02:00
..
api
complex/indeterminateState [API CHANGE] Drop css::accessibility::XAccessibleStateSet 2022-07-08 10:10:11 +02:00
core tdf#127236 vcl: fix missing encryption of PDF images during export 2022-07-20 12:54:45 +02:00
extras tdf#139759 doc import: import comment highlight/shade 2022-07-20 14:39:24 +02:00
filter/ww8
inc
python
uibase
uitest tdf#148198: merge identical hyperlinks of adjacent text ranges on ODF export 2022-07-14 07:43:14 +02:00
unit Use a dedicated log area for a SAL_INFO in test code 2022-07-07 13:39:47 +02:00
unoapi
README

You can find different types of Writer tests here, the following directories
are available:

- core:
  - filters-test: loads different file types (see SwFiltersTest::testCVEs() for
    the list of supported filter types), and only makes sure Writer does not
    crash. To add new tests, you just need to drop in the test files to the
    relevant directory, no code change is necessary.
  - uwriter: this test has access to private Writer symbols, add new tests here
    if you need that.
- extras:
  - see its own README -- executes import and export filters and asserts the
    UNO model to verify the resulting document is the expected one.
  - also, any new C++ test that links to libsw (but does not need access to
    private Writer symbols) should go in this directory, whether using the UNO
    API or the internal one.
- complex: JUnit-based tests using the UNO API
- unoapi: JUnit-based test trying to get/set every UNO property, etc.