COLOR EXTRUSION. on windows 10
I have now been able use extrusion of a shape using the (libreBASIC) API EnhancedCustomShapeExtrusion Service using a property values [ ] struct at least in part. So given a shape object say oShape (triangle) then as above property values NAME “Extrusion” VALUE (TRUE)...Works extrudes shape.
NAME “Projection Mode” VALUE (com.sun.star.drawing.ProjectionMode. PERSPECTIVE) doesn’t work it always extrudes PARALLEL.
However my main concerns is NAME “ExtrusionColor” VALUE (TRUE) on or off it always takes the main oShap.FillColor. The doc quotes ‘"SecondFillColor" is used as extrusion color’ if TRUE. Looking on X-ray at shapes there is a FillColor2 i.e. oShape.FillColor2 = color2. This extrusion doesn’t take this color2 on a code/macro but does appear to show the color extrusion as FillColor2 when done manually using menus and viewed on x-ray.
Out of interest has to how far we can go using API,s (we could be pushing the limit here) if anyone knows why 2nd color extrusion isn’t working on the API ? I’d be grateful.
2nd color on Extrusion of shape using code Dosn't work
Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
-
- Posts: 3
- Joined: Thu Apr 12, 2012 7:22 pm
2nd color on Extrusion of shape using code Dosn't work
Post by richard_jazz »
openoffice 3 windowsxp
Return to “Macros and UNO API”
Jump to
- Getting started
- ↳ Survival guide
- ↳ Beginners
- ↳ Getting Started Guide for 4.x
- ↳ Getting Started Guide for 3.x
- ↳ Install, Setup and Troubleshooting
- ↳ Admin Guide
- ↳ MS Windows
- ↳ Linux
- ↳ Mac OSX
- ↳ LibreOffice
- ↳ Tablets
- ↳ Tutorials
- ↳ Writer
- ↳ Calc
- ↳ Base
- Applications
- ↳ Writer
- ↳ Writer Guide for 4.x
- ↳ Writer Guide for 3.x
- ↳ Writer Tutorials
- ↳ Templates
- ↳ Advanced Uses
- ↳ Calc
- ↳ Calc Guide for 4.x
- ↳ Calc Guide for 3.x
- ↳ Calc Functions
- ↳ Calc Tutorials
- ↳ Impress
- ↳ Impress Guide for 4.x
- ↳ Impress Guide for 3.x
- ↳ Draw
- ↳ Draw Guide for 4.x
- ↳ Draw Guide for 3.x
- ↳ Math
- ↳ Math Guide for 4.x
- ↳ Math Guide for 3.x
- ↳ Math Guide for 3.x
- ↳ Base
- ↳ Base Guide for 4.x
- ↳ Wiki
- ↳ Base Tutorials
- ↳ Tables & Queries
- ↳ Forms
- ↳ External Data Sources
- ↳ Reporting
- ↳ Database Examples
- Customizing and Extending
- ↳ Macros and UNO API
- ↳ Basic Guide
- ↳ Code Snippets
- ↳ Extension Repository
- ↳ Macro Repository
- ↳ External Programs
- ↳ Extensions
- ↳ Extensions page
- Community
- ↳ General Discussion
- ↳ Site Feedback
- ↳ Forum Governance
- ↳ User Experience (UX)
- ↳ Announcements
- Business
- ↳ Institutions & Educational
- ↳ Paid support
- ↳ Consultants Directory