Issue 14668

Summary: 3D drawings are not exported to EPS by macro
Product: Draw Reporter: maison.godard
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 Beta   
Target Milestone: AOO Later   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
An example file containing 2D & 3D none

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."