1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_XEnhancedCustomShapeDefaulter_idl__ 28*cdf0e10cSrcweir#define __com_sun_star_drawing_XEnhancedCustomShapeDefaulter_idl__ 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir#ifndef __com_sun_star_uno_XInterface_idl__ 31*cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl> 32*cdf0e10cSrcweir#endif 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir//============================================================================= 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir module com { module sun { module star { module drawing { 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir//============================================================================= 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir/** 42*cdf0e10cSrcweir */ 43*cdf0e10cSrcweirinterface XEnhancedCustomShapeDefaulter: com::sun::star::uno::XInterface 44*cdf0e10cSrcweir{ 45*cdf0e10cSrcweir //------------------------------------------------------------------------- 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir /** 48*cdf0e10cSrcweir 49*cdf0e10cSrcweir This interface allows to create shape properties for the given "ShapeType". 50*cdf0e10cSrcweir The "ShapeType" string can be empty then the current "ShapeType" of the 51*cdf0e10cSrcweir shape is used. 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir "non-primitive", 54*cdf0e10cSrcweir "rectangle", 55*cdf0e10cSrcweir "round-rectangle", 56*cdf0e10cSrcweir "ellipse", 57*cdf0e10cSrcweir "diamond", 58*cdf0e10cSrcweir "isosceles-triangle" 59*cdf0e10cSrcweir "right-triangle", 60*cdf0e10cSrcweir "parallelogram", 61*cdf0e10cSrcweir "trapezoid", 62*cdf0e10cSrcweir "hexagon", 63*cdf0e10cSrcweir "octagon", 64*cdf0e10cSrcweir "cross", 65*cdf0e10cSrcweir "star5", 66*cdf0e10cSrcweir "right-arrow", 67*cdf0e10cSrcweir "mso-spt14", 68*cdf0e10cSrcweir "pentagon-right", 69*cdf0e10cSrcweir "cube", 70*cdf0e10cSrcweir "mso-spt17", 71*cdf0e10cSrcweir "mso-spt18", 72*cdf0e10cSrcweir "mso-spt19", 73*cdf0e10cSrcweir "mso-spt20", 74*cdf0e10cSrcweir "mso-spt21", 75*cdf0e10cSrcweir "can", 76*cdf0e10cSrcweir "ring", 77*cdf0e10cSrcweir "mso-spt24", 78*cdf0e10cSrcweir "mso-spt25", 79*cdf0e10cSrcweir "mso-spt26", 80*cdf0e10cSrcweir "mso-spt27", 81*cdf0e10cSrcweir "mso-spt28", 82*cdf0e10cSrcweir "mso-spt29", 83*cdf0e10cSrcweir "mso-spt30", 84*cdf0e10cSrcweir "mso-spt31", 85*cdf0e10cSrcweir "mso-spt32", 86*cdf0e10cSrcweir "mso-spt33", 87*cdf0e10cSrcweir "mso-spt34", 88*cdf0e10cSrcweir "mso-spt35", 89*cdf0e10cSrcweir "mso-spt36", 90*cdf0e10cSrcweir "mso-spt37", 91*cdf0e10cSrcweir "mso-spt38", 92*cdf0e10cSrcweir "mso-spt39", 93*cdf0e10cSrcweir "mso-spt40", 94*cdf0e10cSrcweir "mso-spt41", 95*cdf0e10cSrcweir "mso-spt42", 96*cdf0e10cSrcweir "mso-spt43", 97*cdf0e10cSrcweir "mso-spt44", 98*cdf0e10cSrcweir "mso-spt45", 99*cdf0e10cSrcweir "mso-spt46", 100*cdf0e10cSrcweir "line-callout-1", 101*cdf0e10cSrcweir "line-callout-2", 102*cdf0e10cSrcweir "mso-spt49", 103*cdf0e10cSrcweir "mso-spt50", 104*cdf0e10cSrcweir "mso-spt51", 105*cdf0e10cSrcweir "mso-spt52", 106*cdf0e10cSrcweir "mso-spt53", 107*cdf0e10cSrcweir "mso-spt54", 108*cdf0e10cSrcweir "chevron", 109*cdf0e10cSrcweir "pentagon", 110*cdf0e10cSrcweir "forbidden", 111*cdf0e10cSrcweir "star8", 112*cdf0e10cSrcweir "mso-spt59", 113*cdf0e10cSrcweir "mso-spt60", 114*cdf0e10cSrcweir "rectangular-callout", 115*cdf0e10cSrcweir "round-rectangular-callout", 116*cdf0e10cSrcweir "round-callout", 117*cdf0e10cSrcweir "mso-spt64", 118*cdf0e10cSrcweir "paper", 119*cdf0e10cSrcweir "left-arrow", 120*cdf0e10cSrcweir "down-arrow", 121*cdf0e10cSrcweir "up-arrow", 122*cdf0e10cSrcweir "left-right-arrow", 123*cdf0e10cSrcweir "up-down-arrow", 124*cdf0e10cSrcweir "mso-spt71", 125*cdf0e10cSrcweir "bang", 126*cdf0e10cSrcweir "lightning", 127*cdf0e10cSrcweir "heart", 128*cdf0e10cSrcweir "mso-spt75", 129*cdf0e10cSrcweir "quad-arrow", 130*cdf0e10cSrcweir "left-arrow-callout", 131*cdf0e10cSrcweir "right-arrow-callout", 132*cdf0e10cSrcweir "up-arrow-callout", 133*cdf0e10cSrcweir "down-arrow-callout", 134*cdf0e10cSrcweir "left-right-arrow-callout", 135*cdf0e10cSrcweir "up-down-arrow-callout", 136*cdf0e10cSrcweir "quad-arrow-callout", 137*cdf0e10cSrcweir "quad-bevel", 138*cdf0e10cSrcweir "left-bracket", 139*cdf0e10cSrcweir "right-bracket", 140*cdf0e10cSrcweir "left-brace", 141*cdf0e10cSrcweir "right-brace", 142*cdf0e10cSrcweir "mso-spt89", 143*cdf0e10cSrcweir "mso-spt90", 144*cdf0e10cSrcweir "mso-spt91", 145*cdf0e10cSrcweir "star24", 146*cdf0e10cSrcweir "striped-right-arrow", 147*cdf0e10cSrcweir "notched-right-arrow", 148*cdf0e10cSrcweir "block-arc", 149*cdf0e10cSrcweir "smiley", 150*cdf0e10cSrcweir "vertical-scroll", 151*cdf0e10cSrcweir "horizontal-scroll", 152*cdf0e10cSrcweir "circular-arrow", 153*cdf0e10cSrcweir "mso-spt100", 154*cdf0e10cSrcweir "mso-spt101", 155*cdf0e10cSrcweir "mso-spt102", 156*cdf0e10cSrcweir "mso-spt103", 157*cdf0e10cSrcweir "mso-spt104", 158*cdf0e10cSrcweir "mso-spt105", 159*cdf0e10cSrcweir "cloud-callout", 160*cdf0e10cSrcweir "mso-spt107", 161*cdf0e10cSrcweir "mso-spt108", 162*cdf0e10cSrcweir "flowchart-process", 163*cdf0e10cSrcweir "flowchart-decision", 164*cdf0e10cSrcweir "flowchart-data", 165*cdf0e10cSrcweir "flowchart-predefined-process", 166*cdf0e10cSrcweir "flowchart-internal-storage", 167*cdf0e10cSrcweir "flowchart-document", 168*cdf0e10cSrcweir "flowchart-multidocument", 169*cdf0e10cSrcweir "flowchart-terminator", 170*cdf0e10cSrcweir "flowchart-preparation", 171*cdf0e10cSrcweir "flowchart-manual-input", 172*cdf0e10cSrcweir "flowchart-manual-operation", 173*cdf0e10cSrcweir "flowchart-connector", 174*cdf0e10cSrcweir "flowchart-card", 175*cdf0e10cSrcweir "flowchart-punched-tape", 176*cdf0e10cSrcweir "flowchart-summing-junction", 177*cdf0e10cSrcweir "flowchart-or", 178*cdf0e10cSrcweir "flowchart-collate", 179*cdf0e10cSrcweir "flowchart-sort", 180*cdf0e10cSrcweir "flowchart-extract", 181*cdf0e10cSrcweir "flowchart-merge", 182*cdf0e10cSrcweir "mso-spt129", 183*cdf0e10cSrcweir "flowchart-stored-data", 184*cdf0e10cSrcweir "flowchart-sequential-access", 185*cdf0e10cSrcweir "flowchart-magnetic-disk", 186*cdf0e10cSrcweir "flowchart-direct-access-storage", 187*cdf0e10cSrcweir "flowchart-display", 188*cdf0e10cSrcweir "flowchart-delay", 189*cdf0e10cSrcweir "fontwork-plain-text", 190*cdf0e10cSrcweir "fontwork-stop", 191*cdf0e10cSrcweir "fontwork-triangle-up", 192*cdf0e10cSrcweir "fontwork-triangle-down", 193*cdf0e10cSrcweir "fontwork-chevron-up", 194*cdf0e10cSrcweir "fontwork-chevron-down", 195*cdf0e10cSrcweir "mso-spt142", 196*cdf0e10cSrcweir "mso-spt143", 197*cdf0e10cSrcweir "fontwork-arch-up-curve", 198*cdf0e10cSrcweir "fontwork-arch-down-curve", 199*cdf0e10cSrcweir "fontwork-circle-curve", 200*cdf0e10cSrcweir "fontwork-open-circle-curve", 201*cdf0e10cSrcweir "fontwork-arch-up-pour", 202*cdf0e10cSrcweir "fontwork-arch-down-pour", 203*cdf0e10cSrcweir "fontwork-circle-pour", 204*cdf0e10cSrcweir "fontwork-open-circle-pour", 205*cdf0e10cSrcweir "fontwork-curve-up", 206*cdf0e10cSrcweir "fontwork-curve-down", 207*cdf0e10cSrcweir "fontwork-fade-up-and-right", 208*cdf0e10cSrcweir "fontwork-fade-up-and-left", 209*cdf0e10cSrcweir "fontwork-wave", 210*cdf0e10cSrcweir "mso-spt157", 211*cdf0e10cSrcweir "mso-spt158", 212*cdf0e10cSrcweir "mso-spt159", 213*cdf0e10cSrcweir "fontwork-inflate", 214*cdf0e10cSrcweir "mso-spt161", 215*cdf0e10cSrcweir "mso-spt162", 216*cdf0e10cSrcweir "mso-spt163", 217*cdf0e10cSrcweir "mso-spt164", 218*cdf0e10cSrcweir "mso-spt165", 219*cdf0e10cSrcweir "mso-spt166", 220*cdf0e10cSrcweir "mso-spt167", 221*cdf0e10cSrcweir "fontwork-fade-right", 222*cdf0e10cSrcweir "fontwork-fade-left", 223*cdf0e10cSrcweir "fontwork-fade-up", 224*cdf0e10cSrcweir "fontwork-fade-down", 225*cdf0e10cSrcweir "fontwork-slant-up", 226*cdf0e10cSrcweir "fontwork-slant-down", 227*cdf0e10cSrcweir "mso-spt174", 228*cdf0e10cSrcweir "mso-spt175", 229*cdf0e10cSrcweir "flowchart-alternate-process", 230*cdf0e10cSrcweir "flowchart-off-page-connector", 231*cdf0e10cSrcweir "mso-spt178", 232*cdf0e10cSrcweir "mso-spt179", 233*cdf0e10cSrcweir "mso-spt180", 234*cdf0e10cSrcweir "line-callout-3", 235*cdf0e10cSrcweir "mso-spt182", 236*cdf0e10cSrcweir "sun", 237*cdf0e10cSrcweir "moon", 238*cdf0e10cSrcweir "bracket-pair", 239*cdf0e10cSrcweir "brace-pair", 240*cdf0e10cSrcweir "star4", 241*cdf0e10cSrcweir "mso-spt188", 242*cdf0e10cSrcweir "mso-spt189", 243*cdf0e10cSrcweir "mso-spt190", 244*cdf0e10cSrcweir "mso-spt191", 245*cdf0e10cSrcweir "mso-spt192", 246*cdf0e10cSrcweir "mso-spt193", 247*cdf0e10cSrcweir "mso-spt194", 248*cdf0e10cSrcweir "mso-spt195", 249*cdf0e10cSrcweir "mso-spt196", 250*cdf0e10cSrcweir "mso-spt197", 251*cdf0e10cSrcweir "mso-spt198", 252*cdf0e10cSrcweir "mso-spt199", 253*cdf0e10cSrcweir "mso-spt200", 254*cdf0e10cSrcweir "mso-spt201", 255*cdf0e10cSrcweir "mso-spt202", 256*cdf0e10cSrcweir 257*cdf0e10cSrcweir SJ: following shape types can't be created with this method, they 258*cdf0e10cSrcweir are part of the gallery (soon they also will be added) 259*cdf0e10cSrcweir // gallery: quadrat 260*cdf0e10cSrcweir // gallery: round-quadrat 261*cdf0e10cSrcweir // gallery: circle 262*cdf0e10cSrcweir // gallery: circle-pie 263*cdf0e10cSrcweir // gallery: frame 264*cdf0e10cSrcweir // gallery: flower 265*cdf0e10cSrcweir // gallery: cloud 266*cdf0e10cSrcweir // gallery: puzzle 267*cdf0e10cSrcweir // gallery: octagon-bevel 268*cdf0e10cSrcweir // gallery: diamond-bevel 269*cdf0e10cSrcweir // gallery: up-right-arrow 270*cdf0e10cSrcweir // gallery: up-right-down-arrow 271*cdf0e10cSrcweir // gallery: corner-right-arrow 272*cdf0e10cSrcweir // gallery: split-arrow 273*cdf0e10cSrcweir // gallery: up-right-arrow-callout 274*cdf0e10cSrcweir // gallery: split-round-arrow 275*cdf0e10cSrcweir // gallery: s-sharped-arrow 276*cdf0e10cSrcweir // Gallery: star6 277*cdf0e10cSrcweir // Gallery: star12 278*cdf0e10cSrcweir // Gallery: concave-star6 279*cdf0e10cSrcweir // Gallery: signet 280*cdf0e10cSrcweir // Gallery: doorplate 281*cdf0e10cSrcweir // gallery: fontwork-arch-left-curve 282*cdf0e10cSrcweir // gallery: fontwork-arch-right-curve 283*cdf0e10cSrcweir // gallery: fontwork-arch-left-pour 284*cdf0e10cSrcweir // gallery: fontwork-arch-right-pour 285*cdf0e10cSrcweir 286*cdf0e10cSrcweir */ 287*cdf0e10cSrcweir void createCustomShapeDefaults( [ in ] string aShapeType ); 288*cdf0e10cSrcweir 289*cdf0e10cSrcweir}; 290*cdf0e10cSrcweir 291*cdf0e10cSrcweir//============================================================================= 292*cdf0e10cSrcweir 293*cdf0e10cSrcweir}; }; }; }; 294*cdf0e10cSrcweir 295*cdf0e10cSrcweir#endif 296