diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2011-11-29 18:12:08 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2011-11-29 18:15:03 +0530 |
commit | aa7342bd97eab2711c02d231fdf5230d6d4da275 (patch) | |
tree | 8e151ab9d558f11ae655096e492744d222e28152 /oox | |
parent | 536bf877b747bb119df911d3025a466efb7b8c82 (diff) |
Removing unused GetShapePresetType().
It is huge, and inefficient as well.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/drawingml/shape.hxx | 6 | ||||
-rw-r--r-- | oox/source/drawingml/customshapegeometry.cxx | 631 |
2 files changed, 0 insertions, 637 deletions
diff --git a/oox/inc/oox/drawingml/shape.hxx b/oox/inc/oox/drawingml/shape.hxx index 1307d187ff30..ab7637ad543d 100644 --- a/oox/inc/oox/drawingml/shape.hxx +++ b/oox/inc/oox/drawingml/shape.hxx @@ -260,12 +260,6 @@ private: // to propagate it when applying reference shape }; -// --------------------------------------------------------------------- - -/** Get custom shape preset string from xml token id - */ -::rtl::OUString GetShapePresetType( sal_Int32 nType ); - // ============================================================================ } } diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx index c75463a2b668..cd752859d288 100644 --- a/oox/source/drawingml/customshapegeometry.cxx +++ b/oox/source/drawingml/customshapegeometry.cxx @@ -1190,637 +1190,6 @@ Path2DListContext::Path2DListContext( ContextHandler& rParent, CustomShapeProper } // --------------------------------------------------------------------- - -OUString GetShapePresetType( sal_Int32 nType ) -{ - OSL_ASSERT((nType & sal_Int32(0xFFFF0000))==0); - OUString sType; - switch( nType ) - { - case XML_lineInv: // TODO - case XML_line: { - static const OUString sLine = CREATE_OUSTRING( "mso-spt20" ); - sType = sLine; - } break; - case XML_triangle: { - static const OUString sTriangle = CREATE_OUSTRING( "isosceles-triangle" ); - sType = sTriangle; - } break; - case XML_rtTriangle: { - static const OUString sRtTriangle = CREATE_OUSTRING( "right-triangle" ); - sType = sRtTriangle; - } break; - case XML_rect: { - static const OUString sRectangle = CREATE_OUSTRING( "rectangle" ); - sType = sRectangle; - } break; - case XML_diamond: { - static const OUString sDiamond = CREATE_OUSTRING( "diamond" ); - sType = sDiamond; - } break; - case XML_parallelogram: { - static const OUString sParallelogram = CREATE_OUSTRING( "parallelogram" ); - sType = sParallelogram; - } break; - case XML_nonIsoscelesTrapezoid: // TODO - case XML_trapezoid: { - static const OUString sTrapezoid = CREATE_OUSTRING( "trapezoid" ); - sType = sTrapezoid; - } break; - case XML_pentagon: { - static const OUString sPentagon = CREATE_OUSTRING( "pentagon" ); - sType = sPentagon; - } break; - case XML_heptagon: // TODO - case XML_hexagon: { - static const OUString sHexagon = CREATE_OUSTRING( "hexagon" ); - sType = sHexagon; - } break; - case XML_decagon: // TODO - case XML_dodecagon: // TODO - case XML_octagon: { - static const OUString sOctagon = CREATE_OUSTRING( "octagon" ); - sType = sOctagon; - } break; - case XML_star4: { - static const OUString sStar4 = CREATE_OUSTRING( "star4" ); - sType = sStar4; - } break; - case XML_star6: // TODO - case XML_star7: // TODO - case XML_star5: { - static const OUString sStar5 = CREATE_OUSTRING( "star5" ); - sType = sStar5; - } break; - case XML_star10: // TODO - case XML_star12: // TODO - case XML_star16: // TODO - case XML_star8: { - static const OUString sStar8 = CREATE_OUSTRING( "star8" ); - sType = sStar8; - } break; - case XML_star32: // TODO - case XML_star24: { - static const OUString sStar24 = CREATE_OUSTRING( "star24" ); - sType = sStar24; - } break; - case XML_round1Rect: // TODO - case XML_round2SameRect: // TODO - case XML_round2DiagRect: // TODO - case XML_snipRoundRect: // TODO - case XML_snip1Rect: // TODO - case XML_snip2SameRect: // TODO - case XML_snip2DiagRect: // TODO - case XML_roundRect: { - static const OUString sRoundRect = CREATE_OUSTRING( "round-rectangle" ); - sType = sRoundRect; - } break; - case XML_plaque: { - static const OUString sPlaque = CREATE_OUSTRING( "mso-spt21" ); - sType = sPlaque; - } break; - case XML_teardrop: // TODO - case XML_ellipse: { - static const OUString sEllipse = CREATE_OUSTRING( "ellipse" ); - sType = sEllipse; - } break; - case XML_homePlate: { - static const OUString sHomePlate = CREATE_OUSTRING( "pentagon-right" ); - sType = sHomePlate; - } break; - case XML_chevron: { - static const OUString sChevron = CREATE_OUSTRING( "chevron" ); - sType = sChevron; - } break; - case XML_pieWedge: // TODO - case XML_pie: // TODO - case XML_blockArc: { - static const OUString sBlockArc = CREATE_OUSTRING( "block-arc" ); - sType = sBlockArc; - } break; - case XML_donut: { - static const OUString sDonut = CREATE_OUSTRING( "ring" ); - sType = sDonut; - } break; - case XML_noSmoking: { - static const OUString sNoSmoking = CREATE_OUSTRING( "forbidden" ); - sType = sNoSmoking; - } break; - case XML_rightArrow: { - static const OUString sRightArrow = CREATE_OUSTRING( "right-arrow" ); - sType = sRightArrow; - } break; - case XML_leftArrow: { - static const OUString sLeftArrow = CREATE_OUSTRING( "left-arrow" ); - sType = sLeftArrow; - } break; - case XML_upArrow: { - static const OUString sUpArrow = CREATE_OUSTRING( "up-arrow" ); - sType = sUpArrow; - } break; - case XML_downArrow: { - static const OUString sDownArrow = CREATE_OUSTRING( "down-arrow" ); - sType = sDownArrow; - } break; - case XML_stripedRightArrow: { - static const OUString sStripedRightArrow = CREATE_OUSTRING( "striped-right-arrow" ); - sType = sStripedRightArrow; - } break; - case XML_notchedRightArrow: { - static const OUString sNotchedRightArrow = CREATE_OUSTRING( "notched-right-arrow" ); - sType = sNotchedRightArrow; - } break; - case XML_bentUpArrow: { - static const OUString sBentUpArrow = CREATE_OUSTRING( "mso-spt90" ); - sType = sBentUpArrow; - } break; - case XML_leftRightArrow: { - static const OUString sLeftRightArrow = CREATE_OUSTRING( "left-right-arrow" ); - sType = sLeftRightArrow; - } break; - case XML_upDownArrow: { - static const OUString sUpDownArrow = CREATE_OUSTRING( "up-down-arrow" ); - sType = sUpDownArrow; - } break; - case XML_leftUpArrow: { - static const OUString sLeftUpArrow = CREATE_OUSTRING( "mso-spt89" ); - sType = sLeftUpArrow; - } break; - case XML_leftRightUpArrow: { - static const OUString sLeftRightUpArrow = CREATE_OUSTRING( "mso-spt182" ); - sType = sLeftRightUpArrow; - } break; - case XML_quadArrow: { - static const OUString sQuadArrow = CREATE_OUSTRING( "quad-arrow" ); - sType = sQuadArrow; - } break; - case XML_leftArrowCallout: { - static const OUString sLeftArrowCallout = CREATE_OUSTRING( "left-arrow-callout" ); - sType = sLeftArrowCallout; - } break; - case XML_rightArrowCallout: { - static const OUString sRightArrowCallout = CREATE_OUSTRING( "right-arrow-callout" ); - sType = sRightArrowCallout; - } break; - case XML_upArrowCallout: { - static const OUString sUpArrowCallout = CREATE_OUSTRING( "up-arrow-callout" ); - sType = sUpArrowCallout; - } break; - case XML_downArrowCallout: { - static const OUString sDownArrowCallout = CREATE_OUSTRING( "down-arrow-callout" ); - sType = sDownArrowCallout; - } break; - case XML_leftRightArrowCallout: { - static const OUString sLeftRightArrowCallout = CREATE_OUSTRING( "left-right-arrow-callout" ); - sType = sLeftRightArrowCallout; - } break; - case XML_upDownArrowCallout: { - static const OUString sUpDownArrowCallout = CREATE_OUSTRING( "up-down-arrow-callout" ); - sType = sUpDownArrowCallout; - } break; - case XML_quadArrowCallout: { - static const OUString sQuadArrowCallout = CREATE_OUSTRING( "quad-arrow-callout" ); - sType = sQuadArrowCallout; - } break; - case XML_bentArrow: { - static const OUString sBentArrow = CREATE_OUSTRING( "mso-spt91" ); - sType = sBentArrow; - } break; - case XML_uturnArrow: { - static const OUString sUTurnArrow = CREATE_OUSTRING( "mso-spt101" ); - sType = sUTurnArrow; - } break; - case XML_leftCircularArrow: // TODO - case XML_leftRightCircularArrow: // TODO - case XML_circularArrow: { - static const OUString sCircularArrow = CREATE_OUSTRING( "circular-arrow" ); - sType = sCircularArrow; - } break; - case XML_curvedRightArrow: { - static const OUString sCurvedRightArrow = CREATE_OUSTRING( "mso-spt102" ); - sType = sCurvedRightArrow; - } break; - case XML_curvedLeftArrow: { - static const OUString sCurvedLeftArrow = CREATE_OUSTRING( "mso-spt103" ); - sType = sCurvedLeftArrow; - } break; - case XML_curvedUpArrow: { - static const OUString sCurvedUpArrow = CREATE_OUSTRING( "mso-spt104" ); - sType = sCurvedUpArrow; - } break; - case XML_swooshArrow: // TODO - case XML_curvedDownArrow: { - static const OUString sCurvedDownArrow = CREATE_OUSTRING( "mso-spt105" ); - sType = sCurvedDownArrow; - } break; - case XML_cube: { - static const OUString sCube = CREATE_OUSTRING( "cube" ); - sType = sCube; - } break; - case XML_can: { - static const OUString sCan = CREATE_OUSTRING( "can" ); - sType = sCan; - } break; - case XML_lightningBolt: { - static const OUString sLightningBolt = CREATE_OUSTRING( "lightning" ); - sType = sLightningBolt; - } break; - case XML_heart: { - static const OUString sHeart = CREATE_OUSTRING( "heart" ); - sType = sHeart; - } break; - case XML_sun: { - static const OUString sSun = CREATE_OUSTRING( "sun" ); - sType = sSun; - } break; - case XML_moon: { - static const OUString sMoon = CREATE_OUSTRING( "moon" ); - sType = sMoon; - } break; - case XML_smileyFace: { - static const OUString sSmileyFace = CREATE_OUSTRING( "smiley" ); - sType = sSmileyFace; - } break; - case XML_irregularSeal1: { - static const OUString sIrregularSeal1 = CREATE_OUSTRING( "mso-spt71" ); - sType = sIrregularSeal1; - } break; - case XML_irregularSeal2: { - static const OUString sIrregularSeal2 = CREATE_OUSTRING( "bang" ); - sType = sIrregularSeal2; - } break; - case XML_foldedCorner: { - static const OUString sFoldedCorner = CREATE_OUSTRING( "paper" ); - sType = sFoldedCorner; - } break; - case XML_bevel: { - static const OUString sBevel = CREATE_OUSTRING( "quad-bevel" ); - sType = sBevel; - } break; - case XML_halfFrame: // TODO - case XML_corner: // TODO - case XML_diagStripe: // TODO - case XML_chord: // TODO - case XML_frame: { - static const OUString sFrame = CREATE_OUSTRING( "mso-spt75" ); - sType = sFrame; - } break; - case XML_arc: { - static const OUString sArc = CREATE_OUSTRING( "mso-spt19" ); - sType = sArc; - } break; - case XML_leftBracket: { - static const OUString sLeftBracket = CREATE_OUSTRING( "left-bracket" ); - sType = sLeftBracket; - } break; - case XML_rightBracket: { - static const OUString sRightBracket = CREATE_OUSTRING( "right-bracket" ); - sType = sRightBracket; - } break; - case XML_leftBrace: { - static const OUString sLeftBrace = CREATE_OUSTRING( "left-brace" ); - sType = sLeftBrace; - } break; - case XML_rightBrace: { - static const OUString sRightBrace = CREATE_OUSTRING( "right-brace" ); - sType = sRightBrace; - } break; - case XML_bracketPair: { - static const OUString sBracketPair = CREATE_OUSTRING( "bracket-pair" ); - sType = sBracketPair; - } break; - case XML_bracePair: { - static const OUString sBracePair = CREATE_OUSTRING( "brace-pair" ); - sType = sBracePair; - } break; - case XML_straightConnector1: { - static const OUString sStraightConnector1 = CREATE_OUSTRING( "ooxml-straight-connector-1" ); - OSL_TRACE("preset resolved as: ooxml-straight-connector-1"); - sType = sStraightConnector1; - } break; - case XML_bentConnector2: { - static const OUString sBentConnector2 = CREATE_OUSTRING( "mso-spt33" ); - sType = sBentConnector2; - } break; - case XML_bentConnector3: { - static const OUString sBentConnector3 = CREATE_OUSTRING( "mso-spt34" ); - sType = sBentConnector3; - } break; - case XML_bentConnector4: { - static const OUString sBentConnector4 = CREATE_OUSTRING( "mso-spt35" ); - sType = sBentConnector4; - } break; - case XML_bentConnector5: { - static const OUString sBentConnector5 = CREATE_OUSTRING( "mso-spt36" ); - sType = sBentConnector5; - } break; - case XML_curvedConnector2: { - static const OUString sCurvedConnector2 = CREATE_OUSTRING( "mso-spt37" ); - sType = sCurvedConnector2; - } break; - case XML_curvedConnector3: { - static const OUString sCurvedConnector3 = CREATE_OUSTRING( "mso-spt38" ); - sType = sCurvedConnector3; - } break; - case XML_curvedConnector4: { - static const OUString sCurvedConnector4 = CREATE_OUSTRING( "mso-spt39" ); - sType = sCurvedConnector4; - } break; - case XML_curvedConnector5: { - static const OUString sCurvedConnector5 = CREATE_OUSTRING( "mso-spt40" ); - sType = sCurvedConnector5; - } break; - case XML_callout1: { - static const OUString sCallout1 = CREATE_OUSTRING( "mso-spt41" ); - sType = sCallout1; - } break; - case XML_callout2: { - static const OUString sCallout2 = CREATE_OUSTRING( "mso-spt42" ); - sType = sCallout2; - } break; - case XML_callout3: { - static const OUString sCallout3 = CREATE_OUSTRING( "mso-spt43" ); - sType = sCallout3; - } break; - case XML_accentCallout1: { - static const OUString sAccentCallout1 = CREATE_OUSTRING( "mso-spt44" ); - sType = sAccentCallout1; - } break; - case XML_accentCallout2: { - static const OUString sAccentCallout2 = CREATE_OUSTRING( "mso-spt45" ); - sType = sAccentCallout2; - } break; - case XML_accentCallout3: { - static const OUString sAccentCallout3 = CREATE_OUSTRING( "mso-spt46" ); - sType = sAccentCallout3; - } break; - case XML_borderCallout1: { - static const OUString sBorderCallout1 = CREATE_OUSTRING( "line-callout-1" ); - sType = sBorderCallout1; - } break; - case XML_borderCallout2: { - static const OUString sBorderCallout2 = CREATE_OUSTRING( "line-callout-2" ); - sType = sBorderCallout2; - } break; - case XML_borderCallout3: { - static const OUString sBorderCallout3 = CREATE_OUSTRING( "mso-spt49" ); - sType = sBorderCallout3; - } break; - case XML_accentBorderCallout1: { - static const OUString sAccentBorderCallout1 = CREATE_OUSTRING( "mso-spt50" ); - sType = sAccentBorderCallout1; - } break; - case XML_accentBorderCallout2: { - static const OUString sAccentBorderCallout2 = CREATE_OUSTRING( "mso-spt51" ); - sType = sAccentBorderCallout2; - } break; - case XML_accentBorderCallout3: { - static const OUString sAccentBorderCallout3 = CREATE_OUSTRING( "mso-spt52" ); - sType = sAccentBorderCallout3; - } break; - case XML_wedgeRectCallout: { - static const OUString sWedgeRectCallout = CREATE_OUSTRING( "rectangular-callout" ); - sType = sWedgeRectCallout; - } break; - case XML_wedgeRoundRectCallout: { - static const OUString sWedgeRoundRectCallout = CREATE_OUSTRING( "round-rectangular-callout" ); - sType = sWedgeRoundRectCallout; - } break; - case XML_wedgeEllipseCallout: { - static const OUString sWedgeEllipseCallout = CREATE_OUSTRING( "round-callout" ); - sType = sWedgeEllipseCallout; - } break; - case XML_cloud: // TODO - case XML_cloudCallout: { - static const OUString sCloudCallout = CREATE_OUSTRING( "cloud-callout" ); - sType = sCloudCallout; - } break; - case XML_ribbon: { - static const OUString sRibbon = CREATE_OUSTRING( "mso-spt53" ); - sType = sRibbon; - } break; - case XML_ribbon2: { - static const OUString sRibbon2 = CREATE_OUSTRING( "mso-spt54" ); - sType = sRibbon2; - } break; - case XML_ellipseRibbon: { - static const OUString sEllipseRibbon = CREATE_OUSTRING( "mso-spt107" ); - sType = sEllipseRibbon; - } break; - case XML_leftRightRibbon: // TODO - case XML_ellipseRibbon2: { - static const OUString sEllipseRibbon2 = CREATE_OUSTRING( "mso-spt108" ); - sType = sEllipseRibbon2; - } break; - case XML_verticalScroll: { - static const OUString sVerticalScroll = CREATE_OUSTRING( "vertical-scroll" ); - sType = sVerticalScroll; - } break; - case XML_horizontalScroll: { - static const OUString sHorizontalScroll = CREATE_OUSTRING( "horizontal-scroll" ); - sType = sHorizontalScroll; - } break; - case XML_wave: { - static const OUString sWave = CREATE_OUSTRING( "mso-spt64" ); - sType = sWave; - } break; - case XML_doubleWave: { - static const OUString sDoubleWave = CREATE_OUSTRING( "mso-spt188" ); - sType = sDoubleWave; - } break; - case XML_plus: { - static const OUString sPlus = CREATE_OUSTRING( "cross" ); - sType = sPlus; - } break; - case XML_flowChartProcess: { - static const OUString sFlowChartProcess = CREATE_OUSTRING( "flowchart-process" ); - sType = sFlowChartProcess; - } break; - case XML_flowChartDecision: { - static const OUString sFlowChartDecision = CREATE_OUSTRING( "flowchart-decision" ); - sType = sFlowChartDecision; - } break; - case XML_flowChartInputOutput: { - static const OUString sFlowChartInputOutput = CREATE_OUSTRING( "flowchart-data" ); - sType = sFlowChartInputOutput; - } break; - case XML_flowChartPredefinedProcess: { - static const OUString sFlowChartPredefinedProcess = CREATE_OUSTRING( "flowchart-predefined-process" ); - sType = sFlowChartPredefinedProcess; - } break; - case XML_flowChartInternalStorage: { - static const OUString sFlowChartInternalStorage = CREATE_OUSTRING( "flowchart-internal-storage" ); - sType = sFlowChartInternalStorage; - } break; - case XML_flowChartDocument: { - static const OUString sFlowChartDocument = CREATE_OUSTRING( "flowchart-document" ); - sType = sFlowChartDocument; - } break; - case XML_flowChartMultidocument: { - static const OUString sFlowChartMultidocument = CREATE_OUSTRING( "flowchart-multidocument" ); - sType = sFlowChartMultidocument; - } break; - case XML_flowChartTerminator: { - static const OUString sFlowChartTerminator = CREATE_OUSTRING( "flowchart-terminator" ); - sType = sFlowChartTerminator; - } break; - case XML_flowChartPreparation : { - static const OUString sFlowChartPreparation = CREATE_OUSTRING( "flowchart-preparation" ); - sType = sFlowChartPreparation; - } break; - case XML_flowChartManualInput: { - static const OUString sFlowChartManualInput = CREATE_OUSTRING( "flowchart-manual-input" ); - sType = sFlowChartManualInput; - } break; - case XML_flowChartManualOperation: { - static const OUString sFlowChartManualOperation = CREATE_OUSTRING( "flowchart-manual-operation" ); - sType = sFlowChartManualOperation; - } break; - case XML_flowChartConnector: { - static const OUString sFlowChartConnector = CREATE_OUSTRING( "flowchart-connector" ); - sType = sFlowChartConnector; - } break; - case XML_flowChartPunchedCard: { - static const OUString sFlowChartPunchedCard = CREATE_OUSTRING( "flowchart-card" ); - sType = sFlowChartPunchedCard; - } break; - case XML_flowChartPunchedTape: { - static const OUString sFlowChartPunchedTape = CREATE_OUSTRING( "flowchart-punched-tape" ); - sType = sFlowChartPunchedTape; - } break; - case XML_flowChartSummingJunction: { - static const OUString sFlowChartSummingJunction = CREATE_OUSTRING( "flowchart-summing-junction" ); - sType = sFlowChartSummingJunction; - } break; - case XML_flowChartOr: { - static const OUString sFlowChartOr = CREATE_OUSTRING( "flowchart-or" ); - sType = sFlowChartOr; - } break; - case XML_flowChartCollate: { - static const OUString sFlowChartCollate = CREATE_OUSTRING( "flowchart-collate" ); - sType = sFlowChartCollate; - } break; - case XML_flowChartSort: { - static const OUString sFlowChartSort = CREATE_OUSTRING( "flowchart-sort" ); - sType = sFlowChartSort; - } break; - case XML_flowChartExtract: { - static const OUString sFlowChartExtract = CREATE_OUSTRING( "flowchart-extract" ); - sType = sFlowChartExtract; - } break; - case XML_flowChartMerge: { - static const OUString sFlowChartMerge = CREATE_OUSTRING( "flowchart-merge" ); - sType = sFlowChartMerge; - } break; - case XML_flowChartOfflineStorage: { - static const OUString sFlowChartOfflineStorage = CREATE_OUSTRING( "mso-spt129" ); - sType = sFlowChartOfflineStorage; - } break; - case XML_flowChartOnlineStorage: { - static const OUString sFlowChartOnlineStorage = CREATE_OUSTRING( "flowchart-stored-data" ); - sType = sFlowChartOnlineStorage; - } break; - case XML_flowChartMagneticTape: { - static const OUString sFlowChartMagneticTape = CREATE_OUSTRING( "flowchart-sequential-access" ); - sType = sFlowChartMagneticTape; - } break; - case XML_flowChartMagneticDisk: { - static const OUString sFlowChartMagneticDisk = CREATE_OUSTRING( "flowchart-magnetic-disk" ); - sType = sFlowChartMagneticDisk; - } break; - case XML_flowChartMagneticDrum: { - static const OUString sFlowChartMagneticDrum = CREATE_OUSTRING( "flowchart-direct-access-storage" ); - sType = sFlowChartMagneticDrum; - } break; - case XML_flowChartDisplay: { - static const OUString sFlowChartDisplay = CREATE_OUSTRING( "flowchart-display" ); - sType = sFlowChartDisplay; - } break; - case XML_flowChartDelay: { - static const OUString sFlowChartDelay = CREATE_OUSTRING( "flowchart-delay" ); - sType = sFlowChartDelay; - } break; - case XML_flowChartAlternateProcess: { - static const OUString sFlowChartAlternateProcess = CREATE_OUSTRING( "flowchart-alternate-process" ); - sType = sFlowChartAlternateProcess; - } break; - case XML_flowChartOffpageConnector: { - static const OUString sFlowChartOffpageConnector = CREATE_OUSTRING( "flowchart-off-page-connector" ); - sType = sFlowChartOffpageConnector; - } break; - case XML_actionButtonBlank: { - static const OUString sActionButtonBlank = CREATE_OUSTRING( "mso-spt189" ); - sType = sActionButtonBlank; - } break; - case XML_actionButtonHome: { - static const OUString sActionButtonHome = CREATE_OUSTRING( "mso-spt190" ); - sType = sActionButtonHome; - } break; - case XML_actionButtonHelp: { - static const OUString sActionButtonHelp = CREATE_OUSTRING( "mso-spt191" ); - sType = sActionButtonHelp; - } break; - case XML_actionButtonInformation: { - static const OUString sActionButtonInformation = CREATE_OUSTRING( "mso-spt192" ); - sType = sActionButtonInformation; - } break; - case XML_actionButtonForwardNext: { - static const OUString sActionButtonForwardNext = CREATE_OUSTRING( "mso-spt193" ); - sType = sActionButtonForwardNext; - } break; - case XML_actionButtonBackPrevious: { - static const OUString sActionButtonBackPrevious = CREATE_OUSTRING( "mso-spt194" ); - sType = sActionButtonBackPrevious; - } break; - case XML_actionButtonEnd: { - static const OUString sActionButtonEnd = CREATE_OUSTRING( "mso-spt195" ); - sType = sActionButtonEnd; - } break; - case XML_actionButtonBeginning: { - static const OUString sActionButtonBeginning = CREATE_OUSTRING( "mso-spt196" ); - sType = sActionButtonBeginning; - } break; - case XML_actionButtonReturn: { - static const OUString sActionButtonReturn = CREATE_OUSTRING( "mso-spt197" ); - sType = sActionButtonReturn; - } break; - case XML_actionButtonDocument: { - static const OUString sActionButtonDocument = CREATE_OUSTRING( "mso-spt198" ); - sType = sActionButtonDocument; - } break; - case XML_actionButtonSound: { - static const OUString sActionButtonSound = CREATE_OUSTRING( "mso-spt199" ); - sType = sActionButtonSound; - } break; - case XML_actionButtonMovie: { - static const OUString sActionButtonMovie = CREATE_OUSTRING( "mso-spt200" ); - sType = sActionButtonMovie; - } break; - case XML_gear6: // TODO - case XML_gear9: // TODO - case XML_funnel: // TODO - case XML_mathPlus: // TODO - case XML_mathMinus: // TODO - case XML_mathMultiply: // TODO - case XML_mathDivide: // TODO - case XML_mathEqual: // TODO - case XML_mathNotEqual: // TODO - case XML_cornerTabs: // TODO - case XML_squareTabs: // TODO - case XML_plaqueTabs: // TODO - case XML_chartX: // TODO - case XML_chartStar: // TODO - case XML_chartPlus: { // TODO - static const OUString sRectangle = CREATE_OUSTRING( "rectangle" ); - sType = sRectangle; - } break; - default: - break; - } - return sType; -} - -// --------------------------------------------------------------------- // CT_CustomGeometry2D CustomShapeGeometryContext::CustomShapeGeometryContext( ContextHandler& rParent, const Reference< XFastAttributeList >& /* xAttribs */, CustomShapeProperties& rCustomShapeProperties ) : ContextHandler( rParent ) |