About using sdk
Stephan Bergmann
sbergman at redhat.com
Tue Apr 8 02:02:37 PDT 2014
On 04/07/2014 10:01 PM, julien2412 wrote:
> But then I don't know how to launch the example of fdo#77028. I mean I
> don't know where I must put test.pptx from the fdo and what I should change
> to load pptx + ask pdf conversion.
> Indeed, if I run "make DocumentLoader.run", it'll load test.ods not
> test.pptx.
As <https://bugs.freedesktop.org/show_bug.cgi?id=77028#c0> says, first
modify the SDK's
> --- examples/cpp/DocumentLoader/Makefile~ 2013-04-19 14:02:18.769514698 +0200
> +++ examples/cpp/DocumentLoader/Makefile 2014-04-08 10:53:49.030078240 +0200
> @@ -97,7 +97,7 @@
> @echo --------------------------------------------------------------------------------
>
> %.run: $(OUT_BIN)/DocumentLoader$(EXE_EXT)
> - cd $(subst /,$(PS),$(OUT_BIN)) && $(basename $@) $(ENV_OFFICE_TYPES) $(subst \\,/,$(subst /,$(PS),"$(OO_SDK_HOME)/examples/cpp/DocumentLoader/test.odt"))
> + cd $(subst /,$(PS),$(OUT_BIN)) && $(basename $@) $(ENV_OFFICE_TYPES) ~/Downloads/test.pptx
>
> .PHONY: clean
> clean :
(or wherever you downloaded the test.pptx to).
Stephan
More information about the LibreOffice
mailing list