Devam Ediyor

PowerPoint: Change "Cap Type" of a line shape from C# code (using MSAA / UIA?)



Write a small PowerPoint Add-in in .NET C# 4.0 which allows to format the currently selected line shape (MsoShapeType=MsoLine) with "Cap type" = "Square" (see attached screeshot).



The cap type of a line shape cannot be set through the PowerPoint object model - at least not that I know.

Potential solution


- Microsoft Active Accessibility API (MSAA, see [url removed, login to view])

- Microsoft UI Automation (see [url removed, login to view]%28v=[url removed, login to view]%[url removed, login to view])

- Other ideas welcome, however, all of the requirements below must be met



- Working with PowerPoint 2007, 2010, 2013

- Documented source code in .NET C# 4.0

- Very stable solution, independent from UI language

- Windows API / pInvoke is allowed

- 3rd party / non-standard components are NOT allowed

- Using the clipboard is NOT allowed (pasting a line with cap type "square" from a template would be easy, but this is a workaround I don't like)

- Saving, closing and reopening the current presentation is NOT allowed (editing the XML directly would be easy, but this is a workaround I don't like)



- 50% for working demo (e.g. compiled code, video, live demo through screen sharing...)

- 50% for documented source code



Within next 2 weeks

Beceriler: .NET, C# Programlama, Microsoft Office, Powerpoint, Uygulamalar için Visual Basic

Daha fazlasını gör: the standard template library, standard template library in c, standard template library c, standard library c, source c code, powerpoint 2007 presentation template, library programming ideas, is xml a programming language, is net a programming language, g code programming language, c template library, c standard template library, c sharp programming language, c sharp object, c sharp library, c sharp api, c programming standard library, c# programming challenge, c programming challenge, code challenge, c library standard, challenge programming, challenge 2007, c code template, c# code challenge

İşveren Hakkında:
( 13 değerlendirme ) Bietigheim-Bissingen, Germany

Proje NO: #6531693

Bu iş için 1 freelancer ortalamada €250 teklif veriyor


Hi, An ASP.NET,c#,vb ,SqlServer,JQuery,Javascript expert here. Please feel free to discuss the project with me. Thanks, Murtaza

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(12 Değerlendirme)

Hello you! i can do it and finish 2 days. Please let me know.I looking forward on work your project. Thanks! Khoa-Skype ID: huynhminhkhoa

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(13 Değerlendirme)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde43%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)