Does LibreOffice Draw support layer views in a sidebar like CorelDraw 12? Attached is an image taken from CD:
I'm trying to make CD labels. The label outlines are the same for all pages and I think the outlines will constitute a Master in OOD. The text on each page will be different. I am not going to print the label outlines but the must be visible as guides. Perhaps somebody could put me on the right path?
[Solved]Layer Mgmt in CorelDraw vs. OpenOffice Draw
[Solved]Layer Mgmt in CorelDraw vs. OpenOffice Draw
Last edited by skuddle on Thu Nov 08, 2018 7:47 pm, edited 1 time in total.
* HP Pavilion Desktop 510-p114
* Windows 10 Home 22H2 19045.3996
* Firefox 122; Thunderbird 115.6.1
* LibreOffice 7.2.4.1
* Windows 10 Home 22H2 19045.3996
* Firefox 122; Thunderbird 115.6.1
* LibreOffice 7.2.4.1
Re: Layer Mgmt in CorelDraw vs. OpenOffice Draw
I never used the CorelDraw, I do not know anything about its functions...
There is not Layer control function on the Sidebar, and you can not customize it (yet).
What do you want achieve really?
Do you want make easy visible/unvisible (switch on/off) the layers from a toolbar/menu?
I suppose, to do it from the Layers TABs seems a littlebit cumbersome for you:
Right click on the TAB - modify Layer - uncheck/check the Visible option - hit OK...
You can write (WRITE, but not RECORD!) a macro for this task based on the API (Application Programming Interface) functions.
Here is a short sample code snippet (I just reduced from my larger code):
There is not Layer control function on the Sidebar, and you can not customize it (yet).
What do you want achieve really?
Do you want make easy visible/unvisible (switch on/off) the layers from a toolbar/menu?
I suppose, to do it from the Layers TABs seems a littlebit cumbersome for you:
Right click on the TAB - modify Layer - uncheck/check the Visible option - hit OK...
You can write (WRITE, but not RECORD!) a macro for this task based on the API (Application Programming Interface) functions.
Here is a short sample code snippet (I just reduced from my larger code):
Code: Select all
Sub ToggleCurrentLayerVisibility()
Dim oDoc, oLayerManager as object
Dim ActivValue as Boolean
Dim oValtozo as Variant
Dim oCurrentController as Object
Dim oLayer as object
Dim sLname as string
oDoc = Thiscomponent
If oDoc.supportsService("com.sun.star.drawing.DrawingDocument") Then
oLayerManager = oDoc.getLayerManager()
oCurrentController = oDoc.getCurrentController()
oLayer = oCurrentController.ActiveLayer
sLname = oLayer.name
oLayer = oLayerManager.getByName(sLname)
oLayer.IsVisible = not(oLayer.IsVisible)
Else
MsgBox("This is not a Draw document!")
End If
End Sub
Last edited by Zizi64 on Mon Nov 06, 2017 8:17 am, edited 1 time in total.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Layer Mgmt in CorelDraw vs. OpenOffice Draw
shortcut to show/hide a layer: ctrl+click on the tab (for mac OS-X users: shift+ctrl+click)
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
Re: Layer Mgmt in CorelDraw vs. OpenOffice Draw
@Zizi64
Thank you for your reply, but I've been a user (since 1986), not a programmer and don't understand coding.
Thank you for your reply, but I've been a user (since 1986), not a programmer and don't understand coding.
* HP Pavilion Desktop 510-p114
* Windows 10 Home 22H2 19045.3996
* Firefox 122; Thunderbird 115.6.1
* LibreOffice 7.2.4.1
* Windows 10 Home 22H2 19045.3996
* Firefox 122; Thunderbird 115.6.1
* LibreOffice 7.2.4.1
Re: Layer Mgmt in CorelDraw vs. OpenOffice Draw
Oops! Sorry. The actual request slipped my mind while I was reading Zizi64's reply. If you had followed all his guidelines you might have discovered a solution:keme wrote:shortcut to show/hide a layer: ctrl+click on the tab (for mac OS-X users: shift+ctrl+click)
In the master page you can select content to be visible but not printable. Right click the layer tab and untick "Printable" (keep "Visible" ticked).
If you need some parts from the master page to print, you can add tabs there just like in the normal view.