diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-05-04 08:49:36 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-05-05 12:12:07 +0200 |
commit | 342d98b8aae6dcea0a5eec9ad97214fa17409437 (patch) | |
tree | 46431b4696d77f2b81a96b2fadc8aeb339b2ac2b /svx | |
parent | 8e53551db00d325dd638d45e50b32984dc778f17 (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>
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 d9d35fe0c80c..9b48eb1d30c5 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/fract.hxx> #include <vcl/virdev.hxx> @@ -52,7 +52,7 @@ class SdrObject; class SvdProgressInfo; // Helper Class to import PDF -class ImpSdrPdfImport final +class SVXCORE_DLLPUBLIC ImpSdrPdfImport final { std::vector<SdrObject*> maTmpList; ScopedVclPtr<VirtualDevice> mpVD; diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index c7f5dfebeec0..fa36984bb4ec 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -34,7 +34,7 @@ #include <svx/xlineit0.hxx> #include <svx/xtextit0.hxx> #include "svdfmtf.hxx" -#include "svdpdf.hxx" +#include <svdpdf.hxx> #include <svx/svdetc.hxx> #include <editeng/outlobj.hxx> #include <editeng/eeitem.hxx> diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index 5394c3c261d1..5cd0c0765a29 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> |