Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Layer.IsVisible does not work in macro | ||
---|---|---|---|
Product: | Draw | Reporter: | schmieta <mail> |
Component: | programming | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, tk |
Version: | OOo 2.0.1 | Keywords: | needmoreinfo |
Target Milestone: | AOO Later | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Attachments: |
Description
schmieta
2006-02-20 12:24:16 UTC
Could you please attach a document where the complete macro is included? Thanks. Created attachment 34505 [details]
DrawFile containing a macro that works well in oo.org 1.1.3 but does not work in oo.org 2.0.1
Please give a detailed step by step description of what you are doing. Which script do you execute, what should be the result and what is the result? I cannot see any difference compared to OOo1.1.5. Thanks. Created attachment 34616 [details]
flieger2.sxd is a draw-document containing several layers and a macro to export them one by one in separate files and all layers together in on file.
Flieger2.sxd is a draw-document containing several layers. Each layer contains the outline of a cutthrough of a sculpture. The macro in the document has two aims: 1. to export all the layers on one single page in one pdf-file (allLayers.pdf) 2. to export each layer one by one in a separate pdf-file (Ebene01.pdf, Ebene02.pdf,...) When running the main macro, you will first get into 'showAll', a macro aimed to make all layers visible and to export them all into a single pdf-file. Secondly you will get into 'singleLayer', a macro aimed to export every single layer into a separate pdf-file. What happens on my machine is that with OpenOffice.org 1.1.3 both macros do what they should, I do get 20 files, the biggest one is allLayers.pdf, all others are smaller. With OpenOffice.org 2.0.1 all the pdf-files exported have the same size and they all show the same: all the layers are exported instead of just the one they were named after. I am not using OpenOffice.org 1.1.5 and would like to ask you to compare with OpenOffice.org 1.1.3. Please see the attached file, which has been changed slightly in order to make things easier to understand. Thank you for your attention. Reproducible with version 1.1.5, too. Starting the main macro you get 20 pdfs directly on C:/ . One big one (400kb) and a lot of smaller ones (7-47 kb). The smaller ones really show single layers. Starting the macro in version m157 generates 20 files, too. But they are all 80 - 82 KB big and each file contains all layers. Reassigned. This Issue requires more information ('needmoreinfo'), but has not been updated within the last year. Please re-test with one of the latest versions of OOo - the problem(s) may have already been addressed. Either use the recent stable version: http://download.openoffice.org/index.html or consider trying the new OOo 3 BETA (still in testing): http://download.openoffice.org/3.0beta/ Please report back the outcome so this Issue may be closed or progressed as necessary - otherwise it may be Resolved as Invalid in the future. You may also wish to search for (and note) any duplicates of this Issue that may have advanced further : http://www.openoffice.org/issues/query.cgi Many thanks, Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~ Reset assigne to the default "issues@openoffice.apache.org". |