[Libreoffice-bugs] [Bug 123380] LibreOfficeKit: Does not load and convert the attached document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 5 07:32:20 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123380

--- Comment #3 from Murat <murki777 at yahoo.com> ---
By the way I did not have any problem while opening from GUI with versions
libreoffice-6.0.7.3, libreoffice-6.1.3.2, libreoffice5.4, libreoffice6.2, 

I have the problem here in libreofficekit:

LibreOfficeKit.hxx ==>>

    /**
     * Loads a document from an URL.
     *
     * @param pUrl the URL of the document to load
     * @param pFilterOptions options for the import filter, e.g. SkipImages.
     *        Another useful FilterOption is "Language=...".  It is consumed
     *        by the documentLoad() itself, and when provided, LibreOfficeKit
     *        switches the language accordingly first.
     * @since pFilterOptions argument added in LibreOffice 5.0
     */
    Document* documentLoad(const char* pUrl, const char* pFilterOptions = NULL)
    {
        LibreOfficeKitDocument* pDoc = NULL;

        if (LIBREOFFICEKIT_HAS(mpThis, documentLoadWithOptions))
            pDoc = mpThis->pClass->documentLoadWithOptions(mpThis, pUrl,
pFilterOptions);
        else
            pDoc = mpThis->pClass->documentLoad(mpThis, pUrl);

        if (pDoc == NULL)
            return NULL;

        return new Document(pDoc);
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190405/5165498d/attachment.html>


More information about the Libreoffice-bugs mailing list