Examples of outline()


Examples of com.jagpdf.Document.outline()

    public static void main(String argv[]) {
        Document doc = jagpdf.create_file(argv[0] + "/basic_text.pdf");
        doc.page_start(597.6, 848.68);
        Canvas canvas = doc.page().canvas();
        doc.outline().item(horse);
        // adobe core font
        Font font_14 = doc.font_load("standard;name=Times-Roman;size=12;enc=windows-1250");
        canvas.text_font(font_14);
        canvas.text(50, 800, horse);
        // true type
View Full Code Here

Examples of com.jagpdf.Document.outline()

        doc.page_start(597.6, 848.68);
        Canvas canvas = doc.page().canvas();
        String res_dir = testlib.getResourcesDir();
        String image_path = res_dir + "/images/lena.jpg";
        // bookmark
        doc.outline().item(horse);
        // image
        Image img = doc.image_load_file(image_path);
        canvas.image(img, 50, 50);
        // adobe core font
        Font font_14 = doc.font_load("standard;name=Times-Roman;size=12;enc=windows-1250");
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.MasterDetailsEditorPagePart.outline()

            return check( (MasterDetailsContentNodePart) part );
        }
        else if( part instanceof MasterDetailsEditorPagePart )
        {
            final MasterDetailsEditorPagePart page = (MasterDetailsEditorPagePart) part;
            final List<MasterDetailsContentNodePart> nodes = page.outline().getSelectedNodes();
           
            if( ! nodes.isEmpty() )
            {
                MasterDetailsContentNodePart parent = null;
               
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.MasterDetailsEditorPagePart.outline()

           
            if( ! nodes.isEmpty() )
            {
                MasterDetailsContentNodePart parent = null;
               
                for( MasterDetailsContentNodePart node : page.outline().getSelectedNodes() )
                {
                    if( parent == null )
                    {
                        parent = node.getParentNode();
                    }
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.MasterDetailsEditorPagePart.outline()

                    {
                        return false;
                    }
                }
               
                for( MasterDetailsContentNodePart node : page.outline().getSelectedNodes() )
                {
                    if( ! check( node ) )
                    {
                        return false;
                    }
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.MasterDetailsEditorPagePart.outline()

            }
           
            if( contact != null )
            {
                final MasterDetailsEditorPagePart contactsFormPage = (MasterDetailsEditorPagePart) editor.getEditorPagePart( "Contacts" );
                final MasterDetailsContentOutline outline = contactsFormPage.outline();
                final MasterDetailsContentNodePart contactNode = outline.getRoot().findNode( contact );
               
                if( contactNode != null )
                {
                    contactNode.select();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.