diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-05-04 08:49:36 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-06-08 13:42:56 +0200 |
commit | ab95f37716c031e4824ed9ff622ea2a613a56ad3 (patch) | |
tree | b95d221e3c4df648417b18d295ce686dc74fd18d /svx | |
parent | 43cc9f234306bae44ecc57d7820a5be04e91dcf3 (diff) |
SdrPdfImport: add a test class to sd and write a simple test
Open a simple PDF document, run the "break" action, check that
we get the expected text as a text object.
Change-Id: Iadb458f06b437689202eb013cb900edaabf17673
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93395
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95702
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/inc/svdpdf.hxx (renamed from svx/source/svdraw/svdpdf.hxx) | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdedtv2.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpdf.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdpdf.hxx b/svx/source/inc/svdpdf.hxx index 9dd6626d3318..60894542fb8f 100644 --- a/svx/source/svdraw/svdpdf.hxx +++ b/svx/source/inc/svdpdf.hxx @@ -24,9 +24,9 @@ #if HAVE_FEATURE_PDFIUM #include <sal/config.h> +#include <svx/svxdllapi.h> #include <memory> -#include <sstream> #include <tools/contnr.hxx> #include <tools/fract.hxx> @@ -55,7 +55,7 @@ class SdrObject; class SvdProgressInfo; // Helper Class to import PDF -class ImpSdrPdfImport final +class SVXCORE_DLLPUBLIC ImpSdrPdfImport final { Graphic const& mrGraphic; std::vector<SdrObject*> maTmpList; diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 7eab69f7bb5b..4fd92b1e30ca 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -36,7 +36,7 @@ #include <svx/xlineit0.hxx> #include <svx/xtextit0.hxx> #include "svdfmtf.hxx" -#include "svdpdf.hxx" +#include <svdpdf.hxx> #include <svx/svdetc.hxx> #include <sfx2/basedlgs.hxx> #include <editeng/outlobj.hxx> diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index 820832265aa0..a41caaeaba14 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "svdpdf.hxx" +#include <svdpdf.hxx> #include <config_features.h> |