Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Api.CreateBlipFill doesn't work in macro or plugin #157

Open
Labels
confirmed-bugIssues with confirmed bugs
@ghost

Description

Do you want to request a feature or report a bug?

Maybe a bug

What is the current behavior?

CreateBlipFill doesn't work in plugin or macro for slides.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

This kind of macro doesn't work (no effet).

(function()
{
 oPresentation = Api.GetPresentation();
 oSlide = oPresentation.GetSlideByIndex(0);
 oFill = Api.CreateBlipFill("https://api.onlyoffice.com/content/img/docbuilder/examples/icon_DocumentEditors.png", "tile");
 oSlide.SetBackground(oFill);
})();

No more luck with the builder example here in preview mode, but the final document seems good if you generate the document with this link

What is the expected behavior?

Fill the slide background with an image.

Which versions of DesktopEditors, and which OS are affected by this issue? Did this work in previous versions of DesktopEditors?

ONLYOFFICE Desktop Editors version 6.2.0.148
Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /