Issue 14668 - 3D drawings are not exported to EPS by macro
Summary: 3D drawings are not exported to EPS by macro
Status: ACCEPTED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta
Hardware: PC Windows 2000
: P3 Trivial with 2 votes (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 14:34 UTC by maison.godard
Modified: 2013-02-07 22:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
An example file containing 2D & 3D (6.36 KB, application/octet-stream)
2003-05-20 14:35 UTC, maison.godard
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description maison.godard 2003-05-20 14:34:11 UTC
In a draw document, 2D and 3D object are exportes correctly through Export menu
When using a Macro, only 2D objects are exported (all options have been tested)

sub testeps
odocument=thiscomponent
	oGraphic=CreateUnoService("com.sun.star.drawing.GraphicExportFilter")
	dim args5(2) as new com.sun.star.beans.PropertyValue
	Dim aFilterData (3) as new com.sun.star.beans.PropertyValue
    aFilterData(0).Name  = "Preview"
    aFilterData(0).Value = 3'0->none, 1->tiff, 2->epsi, 3->tiff+epsi
    aFilterData(1).Name  = "Version"
    aFilterData(1).Value = 2
    aFilterData(2).Name  ="ColorFormat"
    aFilterData(2).Value = 0                       ' 1->rgb color,2->greyscale
    aFilterData(3).Name  ="CompressionMode"
    aFilterData(3).Value = 0                       ' 0->none, 2->lzw
		for i=0 to odocument.drawpages.getcount()-1
			opage=odocument.drawPages(i)
			ographic.setSourceDocument(opage)
			args5(0).Name = "URL"
			nom=opage.name
			args5(0).Value =  convertToURL("d:\essai.eps")
			args5(1).Name = "MediaType"
			args5(1).Value = "application/postscript"
			args5(2).Name = "FilterData"
			args5(2).Value = aFilterData()
			oGraphic.filter(args5())
		next i
msgbox "done"
end sub
Comment 1 maison.godard 2003-05-20 14:35:53 UTC
Created attachment 6298 [details]
An example file containing 2D & 3D
Comment 2 wolframgarten 2003-05-21 09:44:31 UTC
This is reproduceable in version 1.1 beta and in a current internal
one. Please have a look.
Comment 3 wolframgarten 2003-05-21 09:44:49 UTC
Reassigned to Sven.
Comment 4 sven.jacobi 2003-06-03 10:37:58 UTC
The 3d-Bitmap is exported, but not displayed, I will take a look at
this problem.
Comment 5 sven.jacobi 2003-09-16 09:50:05 UTC
.
Comment 6 marc.neumann 2003-10-15 14:07:11 UTC
"According to the OpenOffice.org roadmap
(http://tools.openoffice.org/releases) this issue was retargeted to
OOo Later."