Calligra/Projects/Autoshapes: Difference between revisions
Created page with '== TODO List == {| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;" |- style="...' |
m fix path to filters/libmso/shapes.cpp and put link to repo behind |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== What are autoshapes == | |||
<p>Autoshapes are popular shapes used often in MS Powerpoint presentations | |||
and MS Word documents. They allow you to quickly add some shapes | |||
like arrows, rectangles, cubes, connections to the shapes, balloons etc. | |||
</p> | |||
<p> | |||
Basically it is set of custom geometry shapes. | |||
</p> | |||
<p> | |||
You don't have to create your shapes with some vector graphic application, you can choose some shape from the limited set of the shapes in the menus under categories.</p> | |||
== Where is the code and how can you help == | |||
= Bug hunters = | |||
<p> | |||
Create the files for non-supported shapes and report them as bugs. | |||
The documentation is at Microsoft MSDN [1]. Download "Microsoft Office File Formats Documentation" zip file and there important file is [MS-ODRAW].pdf, page 505. There starts the description of the shapes (especially how they look). | |||
</p> | |||
<p> | |||
[1] http://msdn.microsoft.com/en-us/library/cc313118%28v=office.12%29.aspx | |||
</p> | |||
= For developer = | |||
<p> | |||
The code that handles autoshapes in *.doc and *.ppt files | |||
is in [https://projects.kde.org/projects/calligra/repository/revisions/master/show/filters/libmso filters/libmso/shapes.cpp] | |||
</p> | |||
<p> | |||
The shapes has to be computed sometimes, sometimes they have to be created | |||
with some svg generator. OpenOffice has good support of the shapes, usually | |||
you can open the doc/ppt file with OpenOffice and save it as odt/odp and use the svg result saved in the odt/odp and then you rewrite it into code so that it is generic (e.g. position, scale, rotation will change for the shape) | |||
</p> | |||
== TODO List == | == TODO List == | ||
{| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;" | {| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;" | ||
Line 6: | Line 42: | ||
! width=120 | Notes | ! width=120 | Notes | ||
|- | |- | ||
{{ | {{FeatureDone|msosptNotPrimitive|Add bug number}} | ||
{{ | {{FeatureDone|msosptRectangle|Add bug number}} | ||
{{ | {{FeatureDone|msosptRoundRectangle|Add bug number}} | ||
{{ | {{FeatureDone|msosptEllipse|Add bug number}} | ||
{{ | {{FeatureDone|msosptDiamond|Add bug number}} | ||
{{ | {{FeatureDone|msosptIsoscelesTriangle|Add bug number}} | ||
{{ | {{FeatureDone|msosptRightTriangle|Add bug number}} | ||
{{ | {{FeatureDone|msosptParallelogram|Add bug number}} | ||
{{ | {{FeatureDone|msosptTrapezoid|Add bug number}} | ||
{{ | {{FeatureDone|msosptHexagon|Add bug number}} | ||
{{ | {{FeatureDone|msosptOctagon|Add bug number}} | ||
{{FeatureTodo|msosptPlus}} | {{FeatureTodo|msosptPlus|Add bug number}} | ||
{{FeatureTodo|msosptStar}} | {{FeatureTodo|msosptStar|Add bug number}} | ||
{{FeatureTodo|msosptArrow}} | {{FeatureTodo|msosptArrow|Add bug number}} | ||
{{FeatureTodo|msosptThickArrow}} | {{FeatureTodo|msosptThickArrow|Add bug number}} | ||
{{FeatureTodo|msosptHomePlate}} | {{FeatureTodo|msosptHomePlate|Add bug number}} | ||
{{FeatureTodo|msosptCube}} | {{FeatureTodo|msosptCube|Add bug number}} | ||
{{FeatureTodo|msosptBalloon}} | {{FeatureTodo|msosptBalloon|Add bug number}} | ||
{{FeatureTodo|msosptSeal}} | {{FeatureTodo|msosptSeal|Add bug number}} | ||
{{FeatureTodo|msosptArc}} | {{FeatureTodo|msosptArc|Add bug number}} | ||
{{ | {{FeatureDone|msosptLine|Add bug number}} | ||
{{FeatureTodo|msosptPlaque}} | {{FeatureTodo|msosptPlaque|Add bug number}} | ||
{{FeatureTodo|msosptCan}} | {{FeatureTodo|msosptCan|Add bug number}} | ||
{{ | {{FeatureDone|msosptDonut|Add bug number}} | ||
{{FeatureTodo|msosptTextSimple}} | {{FeatureTodo|msosptTextSimple|Add bug number}} | ||
{{FeatureTodo|msosptTextOctagon}} | {{FeatureTodo|msosptTextOctagon|Add bug number}} | ||
{{FeatureTodo|msosptTextHexagon}} | {{FeatureTodo|msosptTextHexagon|Add bug number}} | ||
{{FeatureTodo|msosptTextCurve}} | {{FeatureTodo|msosptTextCurve|Add bug number}} | ||
{{FeatureTodo|msosptTextWave}} | {{FeatureTodo|msosptTextWave|Add bug number}} | ||
{{FeatureTodo|msosptTextRing}} | {{FeatureTodo|msosptTextRing|Add bug number}} | ||
{{FeatureTodo|msosptTextOnCurve}} | {{FeatureTodo|msosptTextOnCurve|Add bug number}} | ||
{{FeatureTodo|msosptTextOnRing}} | {{FeatureTodo|msosptTextOnRing|Add bug number}} | ||
{{ | {{FeatureDone|msosptStraightConnector1|Add bug number}} | ||
{{FeatureTodo|msosptBentConnector2}} | {{FeatureTodo|msosptBentConnector2|Add bug number}} | ||
{{ | {{FeatureDone|msosptBentConnector3|Add bug number}} | ||
{{FeatureTodo|msosptBentConnector4}} | {{FeatureTodo|msosptBentConnector4|Add bug number}} | ||
{{FeatureTodo|msosptBentConnector5}} | {{FeatureTodo|msosptBentConnector5|Add bug number}} | ||
{{FeatureTodo|msosptCurvedConnector2}} | {{FeatureTodo|msosptCurvedConnector2|Add bug number}} | ||
{{FeatureTodo|msosptCurvedConnector3}} | {{FeatureTodo|msosptCurvedConnector3|Add bug number}} | ||
{{FeatureTodo|msosptCurvedConnector4}} | {{FeatureTodo|msosptCurvedConnector4|Add bug number}} | ||
{{FeatureTodo|msosptCurvedConnector5}} | {{FeatureTodo|msosptCurvedConnector5|Add bug number}} | ||
{{FeatureTodo|msosptCallout1}} | {{FeatureTodo|msosptCallout1|Add bug number}} | ||
{{ | {{FeatureDone|msosptCallout2|Add bug number}} | ||
{{FeatureTodo|msosptCallout3}} | {{FeatureTodo|msosptCallout3|Add bug number}} | ||
{{FeatureTodo|msosptAccentCallout1}} | {{FeatureTodo|msosptAccentCallout1|Add bug number}} | ||
{{FeatureTodo|msosptAccentCallout2}} | {{FeatureTodo|msosptAccentCallout2|Add bug number}} | ||
{{FeatureTodo|msosptAccentCallout3}} | {{FeatureTodo|msosptAccentCallout3|Add bug number}} | ||
{{FeatureTodo|msosptBorderCallout1}} | {{FeatureTodo|msosptBorderCallout1|Add bug number}} | ||
{{FeatureTodo|msosptBorderCallout2}} | {{FeatureTodo|msosptBorderCallout2|Add bug number}} | ||
{{FeatureTodo|msosptBorderCallout3}} | {{FeatureTodo|msosptBorderCallout3|Add bug number}} | ||
{{FeatureTodo|msosptAccentBorderCallout1}} | {{FeatureTodo|msosptAccentBorderCallout1|Add bug number}} | ||
{{FeatureTodo|msosptAccentBorderCallout2}} | {{FeatureTodo|msosptAccentBorderCallout2|Add bug number}} | ||
{{FeatureTodo|msosptAccentBorderCallout3}} | {{FeatureTodo|msosptAccentBorderCallout3|Add bug number}} | ||
{{ | {{FeatureDone|msosptRibbon|Add bug number}} | ||
{{ | {{FeatureDone|msosptRibbon2|Add bug number}} | ||
{{FeatureTodo|msosptChevron}} | {{FeatureTodo|msosptChevron|Add bug number}} | ||
{{FeatureTodo|msosptPentagon}} | {{FeatureTodo|msosptPentagon|Add bug number}} | ||
{{FeatureTodo|msosptNoSmoking}} | {{FeatureTodo|msosptNoSmoking|Add bug number}} | ||
{{FeatureTodo|msosptSeal8}} | {{FeatureTodo|msosptSeal8|Add bug number}} | ||
{{ | {{FeatureDone|msosptSeal16|Add bug number}} | ||
{{FeatureTodo|msosptSeal32}} | {{FeatureTodo|msosptSeal32|Add bug number}} | ||
{{ | {{FeatureDone|msosptWedgeRectCallout|Add bug number}} | ||
{{FeatureTodo|msosptWedgeRRectCallout}} | {{FeatureTodo|msosptWedgeRRectCallout|Add bug number}} | ||
{{ | {{FeatureDone|msosptWedgeEllipseCallout|Add bug number}} | ||
{{FeatureTodo|msosptWave}} | {{FeatureTodo|msosptWave|Add bug number}} | ||
{{FeatureTodo|msosptFoldedCorner}} | {{FeatureTodo|msosptFoldedCorner|Add bug number}} | ||
{{ | {{FeatureDone|msosptLeftArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptDownArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptUpArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptLeftRightArrow|239458}} | ||
{{FeatureTodo|msosptUpDownArrow}} | {{FeatureTodo|msosptUpDownArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptIrregularSeal1|Add bug number}} | ||
{{FeatureTodo|msosptIrregularSeal2}} | {{FeatureTodo|msosptIrregularSeal2|Add bug number}} | ||
{{ | {{FeatureDone|msosptLightningBolt|239458}} | ||
{{ | {{FeatureDone|msosptHeart|Add bug number}} | ||
{{ | {{FeatureDone|msosptPictureFrame|Add bug number}} | ||
{{ | {{FeatureDone|msosptQuadArrow|Add bug number}} | ||
{{FeatureTodo|msosptLeftArrowCallout}} | {{FeatureTodo|msosptLeftArrowCallout|Add bug number}} | ||
{{FeatureTodo|msosptRightArrowCallout}} | {{FeatureTodo|msosptRightArrowCallout|Add bug number}} | ||
{{FeatureTodo|msosptUpArrowCallout}} | {{FeatureTodo|msosptUpArrowCallout|Add bug number}} | ||
{{FeatureTodo|msosptDownArrowCallout}} | {{FeatureTodo|msosptDownArrowCallout|Add bug number}} | ||
{{FeatureTodo|msosptLeftRightArrowCallout}} | {{FeatureTodo|msosptLeftRightArrowCallout|Add bug number}} | ||
{{FeatureTodo|msosptUpDownArrowCallout}} | {{FeatureTodo|msosptUpDownArrowCallout|Add bug number}} | ||
{{FeatureTodo|msosptQuadArrowCallout}} | {{FeatureTodo|msosptQuadArrowCallout|Add bug number}} | ||
{{FeatureTodo|msosptBevel}} | {{FeatureTodo|msosptBevel|Add bug number}} | ||
{{FeatureTodo|msosptLeftBracket}} | {{FeatureTodo|msosptLeftBracket|Add bug number}} | ||
{{FeatureTodo|msosptRightBracket}} | {{FeatureTodo|msosptRightBracket|Add bug number}} | ||
{{FeatureTodo|msosptLeftBrace}} | {{FeatureTodo|msosptLeftBrace|Add bug number}} | ||
{{FeatureTodo|msosptRightBrace}} | {{FeatureTodo|msosptRightBrace|Add bug number}} | ||
{{FeatureTodo|msosptLeftUpArrow}} | {{FeatureTodo|msosptLeftUpArrow|Add bug number}} | ||
{{FeatureTodo|msosptBentUpArrow}} | {{FeatureTodo|msosptBentUpArrow|Add bug number}} | ||
{{FeatureTodo|msosptBentArrow}} | {{FeatureTodo|msosptBentArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptSeal24|Add bug number}} | ||
{{FeatureTodo|msosptStripedRightArrow}} | {{FeatureTodo|msosptStripedRightArrow|Add bug number}} | ||
{{FeatureTodo|msosptNotchedRightArrow}} | {{FeatureTodo|msosptNotchedRightArrow|Add bug number}} | ||
{{FeatureTodo|msosptBlockArc}} | {{FeatureTodo|msosptBlockArc|Add bug number}} | ||
{{ | {{FeatureDone|msosptSmileyFace|Add bug number}} | ||
{{FeatureTodo|msosptVerticalScroll}} | {{FeatureTodo|msosptVerticalScroll|Add bug number}} | ||
{{ | {{FeatureDone|msosptHorizontalScroll|Add bug number}} | ||
{{ | {{FeatureDone|msosptCircularArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptNotchedCircularArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptUturnArrow|Add bug number}} | ||
{{FeatureTodo|msosptCurvedRightArrow}} | {{FeatureTodo|msosptCurvedRightArrow|Add bug number}} | ||
{{FeatureTodo|msosptCurvedLeftArrow}} | {{FeatureTodo|msosptCurvedLeftArrow|Add bug number}} | ||
{{FeatureTodo|msosptCurvedUpArrow}} | {{FeatureTodo|msosptCurvedUpArrow|Add bug number}} | ||
{{FeatureTodo|msosptCurvedDownArrow}} | {{FeatureTodo|msosptCurvedDownArrow|Add bug number}} | ||
{{ | {{FeatureDone|msosptCloudCallout|Add bug number}} | ||
{{FeatureTodo|msosptEllipseRibbon}} | {{FeatureTodo|msosptEllipseRibbon|Add bug number}} | ||
{{FeatureTodo|msosptEllipseRibbon2}} | {{FeatureTodo|msosptEllipseRibbon2|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartProcess|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartDecision|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartInputOutput}} | {{FeatureTodo|msosptFlowChartInputOutput|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartPredefinedProcess}} | {{FeatureTodo|msosptFlowChartPredefinedProcess|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartInternalStorage}} | {{FeatureTodo|msosptFlowChartInternalStorage|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartDocument}} | {{FeatureTodo|msosptFlowChartDocument|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartMultidocument}} | {{FeatureTodo|msosptFlowChartMultidocument|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartTerminator|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartPreparation}} | {{FeatureTodo|msosptFlowChartPreparation|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartManualInput}} | {{FeatureTodo|msosptFlowChartManualInput|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartManualOperation|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartConnector|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartPunchedCard}} | {{FeatureTodo|msosptFlowChartPunchedCard|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartPunchedTape}} | {{FeatureTodo|msosptFlowChartPunchedTape|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartSummingJunction}} | {{FeatureTodo|msosptFlowChartSummingJunction|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartOr}} | {{FeatureTodo|msosptFlowChartOr|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartCollate}} | {{FeatureTodo|msosptFlowChartCollate|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartSort}} | {{FeatureTodo|msosptFlowChartSort|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartExtract}} | {{FeatureTodo|msosptFlowChartExtract|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartMerge}} | {{FeatureTodo|msosptFlowChartMerge|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartOfflineStorage}} | {{FeatureTodo|msosptFlowChartOfflineStorage|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartOnlineStorage}} | {{FeatureTodo|msosptFlowChartOnlineStorage|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartMagneticTape|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartMagneticDisk|239458}} | ||
{{FeatureTodo|msosptFlowChartMagneticDrum}} | {{FeatureTodo|msosptFlowChartMagneticDrum|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartDisplay}} | {{FeatureTodo|msosptFlowChartDisplay|Add bug number}} | ||
{{ | {{FeatureDone|msosptFlowChartDelay|Add bug number}} | ||
{{FeatureTodo|msosptTextPlainText}} | {{FeatureTodo|msosptTextPlainText|Add bug number}} | ||
{{FeatureTodo|msosptTextStop}} | {{FeatureTodo|msosptTextStop|Add bug number}} | ||
{{FeatureTodo|msosptTextTriangle}} | {{FeatureTodo|msosptTextTriangle|Add bug number}} | ||
{{FeatureTodo|msosptTextTriangleInverted}} | {{FeatureTodo|msosptTextTriangleInverted|Add bug number}} | ||
{{FeatureTodo|msosptTextChevron}} | {{FeatureTodo|msosptTextChevron|Add bug number}} | ||
{{FeatureTodo|msosptTextChevronInverted}} | {{FeatureTodo|msosptTextChevronInverted|Add bug number}} | ||
{{FeatureTodo|msosptTextRingInside}} | {{FeatureTodo|msosptTextRingInside|Add bug number}} | ||
{{FeatureTodo|msosptTextRingOutside}} | {{FeatureTodo|msosptTextRingOutside|Add bug number}} | ||
{{FeatureTodo|msosptTextArchUpCurve}} | {{FeatureTodo|msosptTextArchUpCurve|Add bug number}} | ||
{{FeatureTodo|msosptTextArchDownCurve}} | {{FeatureTodo|msosptTextArchDownCurve|Add bug number}} | ||
{{FeatureTodo|msosptTextCircleCurve}} | {{FeatureTodo|msosptTextCircleCurve|Add bug number}} | ||
{{FeatureTodo|msosptTextButtonCurve}} | {{FeatureTodo|msosptTextButtonCurve|Add bug number}} | ||
{{FeatureTodo|msosptTextArchUpPour}} | {{FeatureTodo|msosptTextArchUpPour|Add bug number}} | ||
{{FeatureTodo|msosptTextArchDownPour}} | {{FeatureTodo|msosptTextArchDownPour|Add bug number}} | ||
{{FeatureTodo|msosptTextCirclePour}} | {{FeatureTodo|msosptTextCirclePour|Add bug number}} | ||
{{FeatureTodo|msosptTextButtonPour}} | {{FeatureTodo|msosptTextButtonPour|Add bug number}} | ||
{{FeatureTodo|msosptTextCurveUp}} | {{FeatureTodo|msosptTextCurveUp|Add bug number}} | ||
{{FeatureTodo|msosptTextCurveDown}} | {{FeatureTodo|msosptTextCurveDown|Add bug number}} | ||
{{FeatureTodo|msosptTextCascadeUp}} | {{FeatureTodo|msosptTextCascadeUp|Add bug number}} | ||
{{FeatureTodo|msosptTextCascadeDown}} | {{FeatureTodo|msosptTextCascadeDown|Add bug number}} | ||
{{FeatureTodo|msosptTextWave1}} | {{FeatureTodo|msosptTextWave1|Add bug number}} | ||
{{FeatureTodo|msosptTextWave2}} | {{FeatureTodo|msosptTextWave2|Add bug number}} | ||
{{FeatureTodo|msosptTextWave3}} | {{FeatureTodo|msosptTextWave3|Add bug number}} | ||
{{FeatureTodo|msosptTextWave4}} | {{FeatureTodo|msosptTextWave4|Add bug number}} | ||
{{FeatureTodo|msosptTextInflate}} | {{FeatureTodo|msosptTextInflate|Add bug number}} | ||
{{FeatureTodo|msosptTextDeflate}} | {{FeatureTodo|msosptTextDeflate|Add bug number}} | ||
{{FeatureTodo|msosptTextInflateBottom}} | {{FeatureTodo|msosptTextInflateBottom|Add bug number}} | ||
{{FeatureTodo|msosptTextDeflateBottom}} | {{FeatureTodo|msosptTextDeflateBottom|Add bug number}} | ||
{{FeatureTodo|msosptTextInflateTop}} | {{FeatureTodo|msosptTextInflateTop|Add bug number}} | ||
{{FeatureTodo|msosptTextDeflateTop}} | {{FeatureTodo|msosptTextDeflateTop|Add bug number}} | ||
{{FeatureTodo|msosptTextDeflateInflate}} | {{FeatureTodo|msosptTextDeflateInflate|Add bug number}} | ||
{{FeatureTodo|msosptTextDeflateInflateDeflate}} | {{FeatureTodo|msosptTextDeflateInflateDeflate|Add bug number}} | ||
{{FeatureTodo|msosptTextFadeRight}} | {{FeatureTodo|msosptTextFadeRight|Add bug number}} | ||
{{FeatureTodo|msosptTextFadeLeft}} | {{FeatureTodo|msosptTextFadeLeft|Add bug number}} | ||
{{FeatureTodo|msosptTextFadeUp}} | {{FeatureTodo|msosptTextFadeUp|Add bug number}} | ||
{{FeatureTodo|msosptTextFadeDown}} | {{FeatureTodo|msosptTextFadeDown|Add bug number}} | ||
{{FeatureTodo|msosptTextSlantUp}} | {{FeatureTodo|msosptTextSlantUp|Add bug number}} | ||
{{FeatureTodo|msosptTextSlantDown}} | {{FeatureTodo|msosptTextSlantDown|Add bug number}} | ||
{{FeatureTodo|msosptTextCanUp}} | {{FeatureTodo|msosptTextCanUp|Add bug number}} | ||
{{FeatureTodo|msosptTextCanDown}} | {{FeatureTodo|msosptTextCanDown|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartAlternateProcess}} | {{FeatureTodo|msosptFlowChartAlternateProcess|Add bug number}} | ||
{{FeatureTodo|msosptFlowChartOffpageConnector}} | {{FeatureTodo|msosptFlowChartOffpageConnector|Add bug number}} | ||
{{FeatureTodo|msosptCallout90}} | {{FeatureTodo|msosptCallout90|Add bug number}} | ||
{{FeatureTodo|msosptAccentCallout90}} | {{FeatureTodo|msosptAccentCallout90|Add bug number}} | ||
{{FeatureTodo|msosptBorderCallout90}} | {{FeatureTodo|msosptBorderCallout90|Add bug number}} | ||
{{FeatureTodo|msosptAccentBorderCallout90}} | {{FeatureTodo|msosptAccentBorderCallout90|Add bug number}} | ||
{{FeatureTodo|msosptLeftRightUpArrow}} | {{FeatureTodo|msosptLeftRightUpArrow|Add bug number}} | ||
{{FeatureTodo|msosptSun}} | {{FeatureTodo|msosptSun|Add bug number}} | ||
{{FeatureTodo|msosptMoon}} | {{FeatureTodo|msosptMoon|Add bug number}} | ||
{{FeatureTodo|msosptBracketPair}} | {{FeatureTodo|msosptBracketPair|Add bug number}} | ||
{{FeatureTodo|msosptBracePair}} | {{FeatureTodo|msosptBracePair|Add bug number}} | ||
{{FeatureTodo|msosptSeal4}} | {{FeatureTodo|msosptSeal4|Add bug number}} | ||
{{ | {{FeatureDone|msosptDoubleWave|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonBlank}} | {{FeatureTodo|msosptActionButtonBlank|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonHome}} | {{FeatureTodo|msosptActionButtonHome|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonHelp}} | {{FeatureTodo|msosptActionButtonHelp|Add bug number}} | ||
{{ | {{FeatureDone|msosptActionButtonInformation|239197}} | ||
{{FeatureTodo|msosptActionButtonForwardNext}} | {{FeatureTodo|msosptActionButtonForwardNext|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonBackPrevious}} | {{FeatureTodo|msosptActionButtonBackPrevious|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonEnd}} | {{FeatureTodo|msosptActionButtonEnd|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonBeginning}} | {{FeatureTodo|msosptActionButtonBeginning|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonReturn}} | {{FeatureTodo|msosptActionButtonReturn|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonDocument}} | {{FeatureTodo|msosptActionButtonDocument|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonSound}} | {{FeatureTodo|msosptActionButtonSound|Add bug number}} | ||
{{FeatureTodo|msosptActionButtonMovie}} | {{FeatureTodo|msosptActionButtonMovie|Add bug number}} | ||
{{ | {{FeatureDone|msosptHostControl|Add bug number}} | ||
{{ | {{FeatureDone|msosptTextBox|Add bug number}} | ||
|} | |} |
Latest revision as of 21:26, 27 December 2012
What are autoshapes
Autoshapes are popular shapes used often in MS Powerpoint presentations and MS Word documents. They allow you to quickly add some shapes like arrows, rectangles, cubes, connections to the shapes, balloons etc.
Basically it is set of custom geometry shapes.
You don't have to create your shapes with some vector graphic application, you can choose some shape from the limited set of the shapes in the menus under categories.
Where is the code and how can you help
Bug hunters
Create the files for non-supported shapes and report them as bugs. The documentation is at Microsoft MSDN [1]. Download "Microsoft Office File Formats Documentation" zip file and there important file is [MS-ODRAW].pdf, page 505. There starts the description of the shapes (especially how they look).
[1] http://msdn.microsoft.com/en-us/library/cc313118%28v=office.12%29.aspx
For developer
The code that handles autoshapes in *.doc and *.ppt files is in filters/libmso/shapes.cpp
The shapes has to be computed sometimes, sometimes they have to be created with some svg generator. OpenOffice has good support of the shapes, usually you can open the doc/ppt file with OpenOffice and save it as odt/odp and use the svg result saved in the odt/odp and then you rewrite it into code so that it is generic (e.g. position, scale, rotation will change for the shape)
TODO List
Status | Description | Notes | |
---|---|---|---|
DONE | msosptNotPrimitive | Add bug number | |
DONE | msosptRectangle | Add bug number | |
DONE | msosptRoundRectangle | Add bug number | |
DONE | msosptEllipse | Add bug number | |
DONE | msosptDiamond | Add bug number | |
DONE | msosptIsoscelesTriangle | Add bug number | |
DONE | msosptRightTriangle | Add bug number | |
DONE | msosptParallelogram | Add bug number | |
DONE | msosptTrapezoid | Add bug number | |
DONE | msosptHexagon | Add bug number | |
DONE | msosptOctagon | Add bug number | |
TO DO | msosptPlus | Add bug number | <{{{3}}}> |
TO DO | msosptStar | Add bug number | <{{{3}}}> |
TO DO | msosptArrow | Add bug number | <{{{3}}}> |
TO DO | msosptThickArrow | Add bug number | <{{{3}}}> |
TO DO | msosptHomePlate | Add bug number | <{{{3}}}> |
TO DO | msosptCube | Add bug number | <{{{3}}}> |
TO DO | msosptBalloon | Add bug number | <{{{3}}}> |
TO DO | msosptSeal | Add bug number | <{{{3}}}> |
TO DO | msosptArc | Add bug number | <{{{3}}}> |
DONE | msosptLine | Add bug number | |
TO DO | msosptPlaque | Add bug number | <{{{3}}}> |
TO DO | msosptCan | Add bug number | <{{{3}}}> |
DONE | msosptDonut | Add bug number | |
TO DO | msosptTextSimple | Add bug number | <{{{3}}}> |
TO DO | msosptTextOctagon | Add bug number | <{{{3}}}> |
TO DO | msosptTextHexagon | Add bug number | <{{{3}}}> |
TO DO | msosptTextCurve | Add bug number | <{{{3}}}> |
TO DO | msosptTextWave | Add bug number | <{{{3}}}> |
TO DO | msosptTextRing | Add bug number | <{{{3}}}> |
TO DO | msosptTextOnCurve | Add bug number | <{{{3}}}> |
TO DO | msosptTextOnRing | Add bug number | <{{{3}}}> |
DONE | msosptStraightConnector1 | Add bug number | |
TO DO | msosptBentConnector2 | Add bug number | <{{{3}}}> |
DONE | msosptBentConnector3 | Add bug number | |
TO DO | msosptBentConnector4 | Add bug number | <{{{3}}}> |
TO DO | msosptBentConnector5 | Add bug number | <{{{3}}}> |
TO DO | msosptCurvedConnector2 | Add bug number | <{{{3}}}> |
TO DO | msosptCurvedConnector3 | Add bug number | <{{{3}}}> |
TO DO | msosptCurvedConnector4 | Add bug number | <{{{3}}}> |
TO DO | msosptCurvedConnector5 | Add bug number | <{{{3}}}> |
TO DO | msosptCallout1 | Add bug number | <{{{3}}}> |
DONE | msosptCallout2 | Add bug number | |
TO DO | msosptCallout3 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentCallout1 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentCallout2 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentCallout3 | Add bug number | <{{{3}}}> |
TO DO | msosptBorderCallout1 | Add bug number | <{{{3}}}> |
TO DO | msosptBorderCallout2 | Add bug number | <{{{3}}}> |
TO DO | msosptBorderCallout3 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentBorderCallout1 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentBorderCallout2 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentBorderCallout3 | Add bug number | <{{{3}}}> |
DONE | msosptRibbon | Add bug number | |
DONE | msosptRibbon2 | Add bug number | |
TO DO | msosptChevron | Add bug number | <{{{3}}}> |
TO DO | msosptPentagon | Add bug number | <{{{3}}}> |
TO DO | msosptNoSmoking | Add bug number | <{{{3}}}> |
TO DO | msosptSeal8 | Add bug number | <{{{3}}}> |
DONE | msosptSeal16 | Add bug number | |
TO DO | msosptSeal32 | Add bug number | <{{{3}}}> |
DONE | msosptWedgeRectCallout | Add bug number | |
TO DO | msosptWedgeRRectCallout | Add bug number | <{{{3}}}> |
DONE | msosptWedgeEllipseCallout | Add bug number | |
TO DO | msosptWave | Add bug number | <{{{3}}}> |
TO DO | msosptFoldedCorner | Add bug number | <{{{3}}}> |
DONE | msosptLeftArrow | Add bug number | |
DONE | msosptDownArrow | Add bug number | |
DONE | msosptUpArrow | Add bug number | |
DONE | msosptLeftRightArrow | 239458 | |
TO DO | msosptUpDownArrow | Add bug number | <{{{3}}}> |
DONE | msosptIrregularSeal1 | Add bug number | |
TO DO | msosptIrregularSeal2 | Add bug number | <{{{3}}}> |
DONE | msosptLightningBolt | 239458 | |
DONE | msosptHeart | Add bug number | |
DONE | msosptPictureFrame | Add bug number | |
DONE | msosptQuadArrow | Add bug number | |
TO DO | msosptLeftArrowCallout | Add bug number | <{{{3}}}> |
TO DO | msosptRightArrowCallout | Add bug number | <{{{3}}}> |
TO DO | msosptUpArrowCallout | Add bug number | <{{{3}}}> |
TO DO | msosptDownArrowCallout | Add bug number | <{{{3}}}> |
TO DO | msosptLeftRightArrowCallout | Add bug number | <{{{3}}}> |
TO DO | msosptUpDownArrowCallout | Add bug number | <{{{3}}}> |
TO DO | msosptQuadArrowCallout | Add bug number | <{{{3}}}> |
TO DO | msosptBevel | Add bug number | <{{{3}}}> |
TO DO | msosptLeftBracket | Add bug number | <{{{3}}}> |
TO DO | msosptRightBracket | Add bug number | <{{{3}}}> |
TO DO | msosptLeftBrace | Add bug number | <{{{3}}}> |
TO DO | msosptRightBrace | Add bug number | <{{{3}}}> |
TO DO | msosptLeftUpArrow | Add bug number | <{{{3}}}> |
TO DO | msosptBentUpArrow | Add bug number | <{{{3}}}> |
TO DO | msosptBentArrow | Add bug number | <{{{3}}}> |
DONE | msosptSeal24 | Add bug number | |
TO DO | msosptStripedRightArrow | Add bug number | <{{{3}}}> |
TO DO | msosptNotchedRightArrow | Add bug number | <{{{3}}}> |
TO DO | msosptBlockArc | Add bug number | <{{{3}}}> |
DONE | msosptSmileyFace | Add bug number | |
TO DO | msosptVerticalScroll | Add bug number | <{{{3}}}> |
DONE | msosptHorizontalScroll | Add bug number | |
DONE | msosptCircularArrow | Add bug number | |
DONE | msosptNotchedCircularArrow | Add bug number | |
DONE | msosptUturnArrow | Add bug number | |
TO DO | msosptCurvedRightArrow | Add bug number | <{{{3}}}> |
TO DO | msosptCurvedLeftArrow | Add bug number | <{{{3}}}> |
TO DO | msosptCurvedUpArrow | Add bug number | <{{{3}}}> |
TO DO | msosptCurvedDownArrow | Add bug number | <{{{3}}}> |
DONE | msosptCloudCallout | Add bug number | |
TO DO | msosptEllipseRibbon | Add bug number | <{{{3}}}> |
TO DO | msosptEllipseRibbon2 | Add bug number | <{{{3}}}> |
DONE | msosptFlowChartProcess | Add bug number | |
DONE | msosptFlowChartDecision | Add bug number | |
TO DO | msosptFlowChartInputOutput | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartPredefinedProcess | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartInternalStorage | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartDocument | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartMultidocument | Add bug number | <{{{3}}}> |
DONE | msosptFlowChartTerminator | Add bug number | |
TO DO | msosptFlowChartPreparation | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartManualInput | Add bug number | <{{{3}}}> |
DONE | msosptFlowChartManualOperation | Add bug number | |
DONE | msosptFlowChartConnector | Add bug number | |
TO DO | msosptFlowChartPunchedCard | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartPunchedTape | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartSummingJunction | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartOr | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartCollate | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartSort | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartExtract | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartMerge | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartOfflineStorage | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartOnlineStorage | Add bug number | <{{{3}}}> |
DONE | msosptFlowChartMagneticTape | Add bug number | |
DONE | msosptFlowChartMagneticDisk | 239458 | |
TO DO | msosptFlowChartMagneticDrum | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartDisplay | Add bug number | <{{{3}}}> |
DONE | msosptFlowChartDelay | Add bug number | |
TO DO | msosptTextPlainText | Add bug number | <{{{3}}}> |
TO DO | msosptTextStop | Add bug number | <{{{3}}}> |
TO DO | msosptTextTriangle | Add bug number | <{{{3}}}> |
TO DO | msosptTextTriangleInverted | Add bug number | <{{{3}}}> |
TO DO | msosptTextChevron | Add bug number | <{{{3}}}> |
TO DO | msosptTextChevronInverted | Add bug number | <{{{3}}}> |
TO DO | msosptTextRingInside | Add bug number | <{{{3}}}> |
TO DO | msosptTextRingOutside | Add bug number | <{{{3}}}> |
TO DO | msosptTextArchUpCurve | Add bug number | <{{{3}}}> |
TO DO | msosptTextArchDownCurve | Add bug number | <{{{3}}}> |
TO DO | msosptTextCircleCurve | Add bug number | <{{{3}}}> |
TO DO | msosptTextButtonCurve | Add bug number | <{{{3}}}> |
TO DO | msosptTextArchUpPour | Add bug number | <{{{3}}}> |
TO DO | msosptTextArchDownPour | Add bug number | <{{{3}}}> |
TO DO | msosptTextCirclePour | Add bug number | <{{{3}}}> |
TO DO | msosptTextButtonPour | Add bug number | <{{{3}}}> |
TO DO | msosptTextCurveUp | Add bug number | <{{{3}}}> |
TO DO | msosptTextCurveDown | Add bug number | <{{{3}}}> |
TO DO | msosptTextCascadeUp | Add bug number | <{{{3}}}> |
TO DO | msosptTextCascadeDown | Add bug number | <{{{3}}}> |
TO DO | msosptTextWave1 | Add bug number | <{{{3}}}> |
TO DO | msosptTextWave2 | Add bug number | <{{{3}}}> |
TO DO | msosptTextWave3 | Add bug number | <{{{3}}}> |
TO DO | msosptTextWave4 | Add bug number | <{{{3}}}> |
TO DO | msosptTextInflate | Add bug number | <{{{3}}}> |
TO DO | msosptTextDeflate | Add bug number | <{{{3}}}> |
TO DO | msosptTextInflateBottom | Add bug number | <{{{3}}}> |
TO DO | msosptTextDeflateBottom | Add bug number | <{{{3}}}> |
TO DO | msosptTextInflateTop | Add bug number | <{{{3}}}> |
TO DO | msosptTextDeflateTop | Add bug number | <{{{3}}}> |
TO DO | msosptTextDeflateInflate | Add bug number | <{{{3}}}> |
TO DO | msosptTextDeflateInflateDeflate | Add bug number | <{{{3}}}> |
TO DO | msosptTextFadeRight | Add bug number | <{{{3}}}> |
TO DO | msosptTextFadeLeft | Add bug number | <{{{3}}}> |
TO DO | msosptTextFadeUp | Add bug number | <{{{3}}}> |
TO DO | msosptTextFadeDown | Add bug number | <{{{3}}}> |
TO DO | msosptTextSlantUp | Add bug number | <{{{3}}}> |
TO DO | msosptTextSlantDown | Add bug number | <{{{3}}}> |
TO DO | msosptTextCanUp | Add bug number | <{{{3}}}> |
TO DO | msosptTextCanDown | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartAlternateProcess | Add bug number | <{{{3}}}> |
TO DO | msosptFlowChartOffpageConnector | Add bug number | <{{{3}}}> |
TO DO | msosptCallout90 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentCallout90 | Add bug number | <{{{3}}}> |
TO DO | msosptBorderCallout90 | Add bug number | <{{{3}}}> |
TO DO | msosptAccentBorderCallout90 | Add bug number | <{{{3}}}> |
TO DO | msosptLeftRightUpArrow | Add bug number | <{{{3}}}> |
TO DO | msosptSun | Add bug number | <{{{3}}}> |
TO DO | msosptMoon | Add bug number | <{{{3}}}> |
TO DO | msosptBracketPair | Add bug number | <{{{3}}}> |
TO DO | msosptBracePair | Add bug number | <{{{3}}}> |
TO DO | msosptSeal4 | Add bug number | <{{{3}}}> |
DONE | msosptDoubleWave | Add bug number | |
TO DO | msosptActionButtonBlank | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonHome | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonHelp | Add bug number | <{{{3}}}> |
DONE | msosptActionButtonInformation | 239197 | |
TO DO | msosptActionButtonForwardNext | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonBackPrevious | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonEnd | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonBeginning | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonReturn | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonDocument | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonSound | Add bug number | <{{{3}}}> |
TO DO | msosptActionButtonMovie | Add bug number | <{{{3}}}> |
DONE | msosptHostControl | Add bug number | |
DONE | msosptTextBox | Add bug number
|