Package com.hlcl.rql.as

Examples of com.hlcl.rql.as.ImageElement


    Page sourcePg = project.getPageById("4712");
    currentPg.copyImageValueFrom("templateElementName", sourcePg);

    Page targetPg = project.getPageById("4713");
    ImageElement targetElement = targetPg.getImageElement("templateElementName");
    currentPg.copyImageValueTo("sourceTemplateElementName", targetElement);
    currentPg.copyImageValueTo("templateElementName", targetPg);

    boolean isRefSource = currentPg.isImageElementReferenceSource("templateElementName");
    currentPg.referenceImageElementToImageElement("sourceImageTemplateElementName", "targetImageTemplateElementName");
View Full Code Here


    targetPage.copyImageValueFrom("templateElementName", sourcePage);
    // copy image filename of sourcePage image element named templateElementName to image element with same name of targetPage
    sourcePage.copyImageValueTo("templateElementName", targetPage);
    // copy image filename from sourcePage image element named sourceTemplateElementName to targetElement (an image element of
    // targetPage)
    ImageElement targetImageElement = targetPage.getImageElement("targetTemplateElementName");
    sourcePage.copyImageValueTo("sourceTemplateElementName", targetImageElement);

    // similar for other element types
    // media element
    targetPage.copyMediaValueFrom("templateElementName", sourcePage);
View Full Code Here

TOP

Related Classes of com.hlcl.rql.as.ImageElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.