21#include <unordered_map>
278 map[OUString::createFromAscii(
i.pS)] =
i.pE;
289 auto aHashIter = rTypeMap.find( rShapeType );
290 if ( aHashIter != rTypeMap.end() )
291 eRetValue = (*aHashIter).second;
297 return (eShapeType <= mso_sptTextBox && eShapeType >=
mso_sptMin)
304struct ACCNameTypeTable
314 {
"non-primitive",
"Non Primitive Shape" },
315 {
"rectangle",
"Rectangle" },
316 {
"round-rectangle",
"Rounded Rectangle" },
317 {
"ellipse",
"Ellipse" },
318 {
"diamond",
"Diamond" },
319 {
"isosceles-triangle",
"Triangle" },
320 {
"right-triangle",
"Right Triangle" },
321 {
"parallelogram",
"Parallelogram" },
322 {
"trapezoid",
"Trapezoid" },
323 {
"hexagon",
"Hexagon" },
324 {
"octagon",
"Octagon" },
325 {
"cross",
"Cross" },
326 {
"star5",
"5-Point Star" },
327 {
"right-arrow",
"Right Arrow" },
329 {
"pentagon-right",
"Pentagon" },
331 {
"mso-spt21",
"Doorplate" },
362 {
"line-callout-1",
"Line Callout 1" },
363 {
"line-callout-2",
"Line Callout 2" },
370 {
"chevron",
"Chevron" },
371 {
"pentagon",
"Regular Pentagon" },
372 {
"forbidden",
"'No' Symbol" },
373 {
"star8",
"8-Point Star" },
376 {
"rectangular-callout",
"Rectangular Callout" },
377 {
"round-rectangular-callout",
"Rounded Rectangular Callout" },
378 {
"round-callout",
"Round Callout" },
380 {
"paper",
"Folded Corner" },
381 {
"left-arrow",
"Left Arrow" },
382 {
"down-arrow",
"Down Arrow" },
383 {
"up-arrow",
"Up Arrow" },
384 {
"left-right-arrow",
"Left and Right Arrow" },
385 {
"up-down-arrow",
"Up and Down Arrow" },
387 {
"bang",
"Explosion" },
388 {
"lightning",
"Lighting Bolt" },
389 {
"heart",
"Heart" },
391 {
"quad-arrow",
"4-Way Arrow" },
392 {
"left-arrow-callout",
"Left Arrow Callout" },
393 {
"right-arrow-callout",
"Right Arrow Callout" },
394 {
"up-arrow-callout",
"Up Arrow Callout" },
395 {
"down-arrow-callout",
"Down Arrow Callout" },
396 {
"left-right-arrow-callout",
"Left and Right Arrow Callout" },
397 {
"up-down-arrow-callout",
"Up and Down Arrow Callout" },
398 {
"quad-arrow-callout",
"4-Way Arrow Callout" },
399 {
"quad-bevel",
"Square Bevel" },
400 {
"left-bracket",
"Left Bracket" },
401 {
"right-bracket",
"Right Bracket" },
402 {
"left-brace",
"Left Brace" },
403 {
"right-brace",
"Right Brace" },
404 {
"mso-spt89",
"Up and Left Arrow" },
407 {
"star24",
"24-Point Star" },
408 {
"striped-right-arrow",
"Striped Right Arrow" },
409 {
"notched-right-arrow",
"Notched Right Arrow" },
410 {
"block-arc",
"Block Arc" },
411 {
"smiley",
"Smile Face" },
412 {
"vertical-scroll",
"Vertical Scroll" },
413 {
"horizontal-scroll",
"Horizontal Scroll" },
414 {
"circular-arrow",
"Circular Arrow" },
415 {
"mso-spt100",
"Notched Circular Arrow" },
422 {
"cloud-callout",
"Cloud Callout" },
425 {
"flowchart-process",
"Flowchart:Process" },
426 {
"flowchart-decision",
"Flowchart:Decision" },
427 {
"flowchart-data",
"Flowchart:Data" },
428 {
"flowchart-predefined-process",
"Flowchart:Predefined Process" },
429 {
"flowchart-internal-storage",
"Flowchart:Internal Storage" },
430 {
"flowchart-document",
"Flowchart:Document" },
431 {
"flowchart-multidocument",
"Flowchart:Multidocument" },
432 {
"flowchart-terminator",
"Flowchart:Terminator" },
433 {
"flowchart-preparation",
"Flowchart:Preparation" },
434 {
"flowchart-manual-input",
"Flowchart:Manual Input" },
435 {
"flowchart-manual-operation",
"Flowchart:Manual Operation" },
436 {
"flowchart-connector",
"Flowchart:Connector" },
437 {
"flowchart-card",
"Flowchart:Card" },
438 {
"flowchart-punched-tape",
"Flowchart:Punched Tape" },
439 {
"flowchart-summing-junction",
"Flowchart:Summing Junction" },
440 {
"flowchart-or",
"Flowchart:Or" },
441 {
"flowchart-collate",
"Flowchart:Collate" },
442 {
"flowchart-sort",
"Flowchart:Sort" },
443 {
"flowchart-extract",
"Flowchart:Extract" },
444 {
"flowchart-merge",
"Flowchart:Merge" },
446 {
"flowchart-stored-data",
"Flowchart:Stored Data" },
447 {
"flowchart-sequential-access",
"drawingbar.fc.25=Flowchart:Sequential Access" },
448 {
"flowchart-magnetic-disk",
"Flowchart:Magnetic Disk" },
449 {
"flowchart-direct-access-storage",
"Flowchart:Direct Access Storage" },
450 {
"flowchart-display",
"Flowchart:Display" },
451 {
"flowchart-delay",
"Flowchart:Delay" },
492 {
"flowchart-alternate-process",
"Flowchart:Alternate Process " },
493 {
"flowchart-off-page-connector",
"Flowchart:Off-page Connector" },
497 {
"line-callout-3",
"Line Callout 3" },
501 {
"bracket-pair",
"Double Bracket" },
502 {
"brace-pair",
"Double Brace" },
503 {
"star4",
"4-Point Star" },
519 {
"frame",
"Frame" },
520 {
"col-60da8460",
"Octagon Bevel" },
521 {
"col-502ad400",
"Diamond Bevel" }
532 map[OUString::createFromAscii(
i.pS)] = OUString::createFromAscii(
i.pE);
540 static const OUString
EMPTY;
542 auto aHashIter = rACCMap.find( rShapeType );
543 if ( aHashIter != rACCMap.end() )
544 return aHashIter->second;
const NameTypeTable pNameTypeTableArray[]
std::unordered_map< OUString, OUString > TypeACCNameHashMap
std::unordered_map< OUString, MSO_SPT > TypeNameHashMap
const ACCNameTypeTable pACCNameTypeTableArray[]
static const TypeACCNameHashMap & GetACCHashMap()
static const TypeNameHashMap & GetTypeNameHashMap()
@ mso_sptFlowChartConnector
@ mso_sptFlowChartMagneticDisk
@ mso_sptNotchedRightArrow
@ mso_sptTextChevronInverted
@ mso_sptNotchedCircularArrow
@ mso_sptFlowChartDisplay
@ mso_sptFlowChartManualOperation
@ mso_sptTextDeflateInflate
@ mso_sptActionButtonBlank
@ mso_sptFlowChartOnlineStorage
@ mso_sptTextArchDownPour
@ mso_sptAccentBorderCallout2
@ mso_sptAccentBorderCallout1
@ mso_sptActionButtonMovie
@ mso_sptFlowChartPredefinedProcess
@ mso_sptWedgeRectCallout
@ mso_sptFlowChartInternalStorage
@ mso_sptFlowChartOffpageConnector
@ mso_sptFlowChartMagneticDrum
@ mso_sptFlowChartManualInput
@ mso_sptActionButtonSound
@ mso_sptUpDownArrowCallout
@ mso_sptStripedRightArrow
@ mso_sptTextDeflateInflateDeflate
@ mso_sptFlowChartExtract
@ mso_sptFlowChartTerminator
@ mso_sptFlowChartMagneticTape
@ mso_sptDownArrowCallout
@ mso_sptStraightConnector1
@ mso_sptTextArchDownCurve
@ mso_sptRightArrowCallout
@ mso_sptFlowChartPreparation
@ mso_sptFlowChartPunchedCard
@ mso_sptCurvedConnector5
@ mso_sptQuadArrowCallout
@ mso_sptLeftRightUpArrow
@ mso_sptActionButtonReturn
@ mso_sptAccentBorderCallout90
@ mso_sptHorizontalScroll
@ mso_sptWedgeEllipseCallout
@ mso_sptFlowChartOfflineStorage
@ mso_sptCurvedConnector3
@ mso_sptCurvedConnector4
@ mso_sptAccentBorderCallout3
@ mso_sptActionButtonHome
@ mso_sptFlowChartCollate
@ mso_sptFlowChartInputOutput
@ mso_sptCurvedRightArrow
@ mso_sptFlowChartDecision
@ mso_sptFlowChartDocument
@ mso_sptFlowChartProcess
@ mso_sptActionButtonDocument
@ mso_sptWedgeRRectCallout
@ mso_sptFlowChartAlternateProcess
@ mso_sptActionButtonForwardNext
@ mso_sptActionButtonBeginning
@ mso_sptActionButtonInformation
@ mso_sptFlowChartSummingJunction
@ mso_sptIsocelesTriangle
@ mso_sptTextDeflateBottom
@ mso_sptActionButtonHelp
@ mso_sptCurvedConnector2
@ mso_sptFlowChartPunchedTape
@ mso_sptTextInflateBottom
@ mso_sptFlowChartMultidocument
@ mso_sptTextTriangleInverted
@ mso_sptLeftRightArrowCallout
@ mso_sptActionButtonBackPrevious
@ mso_sptLeftArrowCallout
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString &)
SVXCORE_DLLPUBLIC const OUString & GetAccName(const OUString &)
constexpr OUStringLiteral EMPTY
HashMap_OWString_Interface aMap
std::unordered_map< const char *, PPPOptimizerTokenEnum, rtl::CStringHash, rtl::CStringEqual > TypeNameHashMap
std::map< OUString, rtl::Reference< Entity > > map