Re: [libreoffice-documentation] Guides Bullet List cleanup
Thanks Rafael. The issue is a bit more complex, possibly a bug or enhancement bug. More details in https://bugs.documentfoundation.org/show_bug.cgi?id=139693 What happens is that a list is direct-applied over the paragraph style which already has the same list style as property. To say in other words, like applying direct bold character Ctrl+B to a word which char style is already bold. "Clean direct formatting" does not catch direct list formatting. With your sample code, iterating on paragraphs, the challenge is to catch this list direct-formatting. OLivier Em 14/07/2021 16:26, Rafael Lima escreveu: Hi Olivier, The following macro will iterate over all paragraphs and remove all of the items that contain empty strings (both in numbered and bulleted lists). Sub RemoveEmptyItems Dim oEnum, oPar oEnum = ThisComponent.Text.CreateEnumeration() Do While oEnum.HasMoreElements() oPar = oEnum.NextElement() nsName = oPar.NumberingStyleName If nsName <> "" Then parText = oPar.GetString() If parText = "" Then 'This is reached if the list has an entry that is empty ThisComponent.Text.RemoveTextContent(oPar) End If End If Loop End Sub On Wed, Jul 14, 2021 at 12:31 PM Olivier Hallot < olivier.hal...@libreoffice.org> wrote: Hi... The situation is illustrated in the document below https://nextcloud.documentfoundation.org/s/8YceNLp9Jy43by3 Olivier Em 14/07/2021 12:19, Olivier Hallot escreveu: Hi I am looking to some clue/Basic code to detect and correct paragraphs with bullet lists which have an extra, overlaying bullet applied. In all guides, we use Paragraph styles List 1 and List 2 which are connected to list styles Bullet * and Bullet - respectively. However in many lists in the Guides there are often another bullet (* or -) over the List 1 or 2 paragraph bullet. There no visual indication when editing the chapters, and no problem in printing or exporting to PDF. But when changing some para style attribute, the extra bullet pops. The current trick I use is to select the set of bullet list paragraphs, apply temporary the BodyText style (then the extra bullet shows), remove the extra bullet and re-apply the para list style. That must be done in every list in the text which is rather exhausting. if no extra bullet pops, then I press Ctrl+Z to undo the temporary change. Has anybody a couple of Basic lines to detect and remove the extra bullet? At least I'd like to know how to catch and delete this extra bullet. Thanks in advance. Kind regards -- Olivier Hallot LibreOffice Documentation Coordinator Rio de Janeiro - Brasil - Local Time: UTC-03:00 LibreOffice – free and open source office suite: https://www.libreoffice.org Respects your privacy, and gives you back control over your data http://tdf.io/joinus -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy -- Olivier Hallot LibreOffice Documentation Coordinator Rio de Janeiro - Brasil - Local Time: UTC-03:00 LibreOffice – free and open source office suite: https://www.libreoffice.org Respects your privacy, and gives you back control over your data http://tdf.io/joinus -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] Guides Bullet List cleanup
Hi Olivier, The following macro will iterate over all paragraphs and remove all of the items that contain empty strings (both in numbered and bulleted lists). Sub RemoveEmptyItems Dim oEnum, oPar oEnum = ThisComponent.Text.CreateEnumeration() Do While oEnum.HasMoreElements() oPar = oEnum.NextElement() nsName = oPar.NumberingStyleName If nsName <> "" Then parText = oPar.GetString() If parText = "" Then 'This is reached if the list has an entry that is empty ThisComponent.Text.RemoveTextContent(oPar) End If End If Loop End Sub On Wed, Jul 14, 2021 at 12:31 PM Olivier Hallot < olivier.hal...@libreoffice.org> wrote: > Hi... > > The situation is illustrated in the document below > > https://nextcloud.documentfoundation.org/s/8YceNLp9Jy43by3 > > Olivier > > > Em 14/07/2021 12:19, Olivier Hallot escreveu: > > Hi > > > > I am looking to some clue/Basic code to detect and correct paragraphs > > with bullet lists which have an extra, overlaying bullet applied. > > > > In all guides, we use Paragraph styles List 1 and List 2 which are > > connected to list styles Bullet * and Bullet - respectively. > > > > However in many lists in the Guides there are often another bullet (* or > > -) over the List 1 or 2 paragraph bullet. There no visual indication > > when editing the chapters, and no problem in printing or exporting to > > PDF. But when changing some para style attribute, the extra bullet pops. > > > > The current trick I use is to select the set of bullet list paragraphs, > > apply temporary the BodyText style (then the extra bullet shows), remove > > the extra bullet and re-apply the para list style. That must be done in > > every list in the text which is rather exhausting. > > > > if no extra bullet pops, then I press Ctrl+Z to undo the temporary > change. > > > > Has anybody a couple of Basic lines to detect and remove the extra > > bullet? At least I'd like to know how to catch and delete this extra > > bullet. > > > > Thanks in advance. > > > > Kind regards > > > > -- > Olivier Hallot > LibreOffice Documentation Coordinator > Rio de Janeiro - Brasil - Local Time: UTC-03:00 > LibreOffice – free and open source office suite: > https://www.libreoffice.org > Respects your privacy, and gives you back control over your data > http://tdf.io/joinus > > -- > To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org > Problems? > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/global/documentation/ > Privacy Policy: https://www.documentfoundation.org/privacy > -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] GS72013 - Macros
Hi Olivier, I volunteer to write the help page about the new Development Tools feature. After I finish the page, I'll update the chapter on Macros in the GS guide. Regards, Rafael Lima On Wed, Jul 14, 2021 at 10:21 AM Olivier Hallot < olivier.hal...@libreoffice.org> wrote: > Hi > > LO 7.2 introduced a new tool related to macros at "Tools - Development > tools". > > No help pages yet written but some pointers are available at > > https://wiki.documentfoundation.org/ReleaseNotes/7.2#Core_.2F_General > > Although the topic is very technical, it worth to introduce it in the > Guide for further reading. > > Regards > -- > Olivier Hallot > LibreOffice Documentation Coordinator > Rio de Janeiro - Brasil - Local Time: UTC-03:00 > LibreOffice – free and open source office suite: > https://www.libreoffice.org > Respects your privacy, and gives you back control over your data > http://tdf.io/joinus > > -- > To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org > Problems? > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/global/documentation/ > Privacy Policy: https://www.documentfoundation.org/privacy > -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] Getting Started Guide 7.2 - Review
Greetings - The GS7212-Html Pages guide is in the WIP folder after reviewing. Thank you-Dev -Original Message- From: Vasudev Narayanan To: jeanwe...@gmail.com Cc: Documentation@global.libreoffice.org Sent: Wed, Jul 14, 2021 1:03 pm Subject: [libreoffice-documentation] Getting Started Guide 7.2 - Review Greetings - I am checking out GS7212-HTML Pages. I have updated the spreadsheet. Thank you-Dev -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] Guides Bullet List cleanup
Hi... The situation is illustrated in the document below https://nextcloud.documentfoundation.org/s/8YceNLp9Jy43by3 Olivier Em 14/07/2021 12:19, Olivier Hallot escreveu: Hi I am looking to some clue/Basic code to detect and correct paragraphs with bullet lists which have an extra, overlaying bullet applied. In all guides, we use Paragraph styles List 1 and List 2 which are connected to list styles Bullet * and Bullet - respectively. However in many lists in the Guides there are often another bullet (* or -) over the List 1 or 2 paragraph bullet. There no visual indication when editing the chapters, and no problem in printing or exporting to PDF. But when changing some para style attribute, the extra bullet pops. The current trick I use is to select the set of bullet list paragraphs, apply temporary the BodyText style (then the extra bullet shows), remove the extra bullet and re-apply the para list style. That must be done in every list in the text which is rather exhausting. if no extra bullet pops, then I press Ctrl+Z to undo the temporary change. Has anybody a couple of Basic lines to detect and remove the extra bullet? At least I'd like to know how to catch and delete this extra bullet. Thanks in advance. Kind regards -- Olivier Hallot LibreOffice Documentation Coordinator Rio de Janeiro - Brasil - Local Time: UTC-03:00 LibreOffice – free and open source office suite: https://www.libreoffice.org Respects your privacy, and gives you back control over your data http://tdf.io/joinus -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
[libreoffice-documentation] Guides Bullet List cleanup
Hi I am looking to some clue/Basic code to detect and correct paragraphs with bullet lists which have an extra, overlaying bullet applied. In all guides, we use Paragraph styles List 1 and List 2 which are connected to list styles Bullet * and Bullet - respectively. However in many lists in the Guides there are often another bullet (* or -) over the List 1 or 2 paragraph bullet. There no visual indication when editing the chapters, and no problem in printing or exporting to PDF. But when changing some para style attribute, the extra bullet pops. The current trick I use is to select the set of bullet list paragraphs, apply temporary the BodyText style (then the extra bullet shows), remove the extra bullet and re-apply the para list style. That must be done in every list in the text which is rather exhausting. if no extra bullet pops, then I press Ctrl+Z to undo the temporary change. Has anybody a couple of Basic lines to detect and remove the extra bullet? At least I'd like to know how to catch and delete this extra bullet. Thanks in advance. Kind regards -- Olivier Hallot LibreOffice Documentation Coordinator Rio de Janeiro - Brasil - Local Time: UTC-03:00 LibreOffice – free and open source office suite: https://www.libreoffice.org Respects your privacy, and gives you back control over your data http://tdf.io/joinus -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
[libreoffice-documentation] GS72013 - Macros
Hi LO 7.2 introduced a new tool related to macros at "Tools - Development tools". No help pages yet written but some pointers are available at https://wiki.documentfoundation.org/ReleaseNotes/7.2#Core_.2F_General Although the topic is very technical, it worth to introduce it in the Guide for further reading. Regards -- Olivier Hallot LibreOffice Documentation Coordinator Rio de Janeiro - Brasil - Local Time: UTC-03:00 LibreOffice – free and open source office suite: https://www.libreoffice.org Respects your privacy, and gives you back control over your data http://tdf.io/joinus -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] Fwd: Bouncing messages from documentation@global.libreoffice.org
mlmmj is a mailing list management program. The admin might have removed a recipient from the mailbox. But forgot/have not removed from the generic email-id (here doumentat...@global.libreoffice.org). This mlmmj handles the bouncing messages and lets you know that it has handled them with care. It is not SPAM, AFAIK. To know more about mlmmj, please refer to http://mlmmj.org/ I have been receiving such a message every time. I had to dig further to understand the scenario. Thank you-Dev -Original Message- From: Peter Schofield To: LibreOffice Sent: Wed, Jul 14, 2021 1:52 pm Subject: [libreoffice-documentation] Fwd: Bouncing messages from documentation@global.libreoffice.org Can someone please explain what this message means. I am suspicious that it is SPAM Peter Schofield psaut...@gmail.com Technical Writer, LO Documentation Team > Begin forwarded message: > > From: documentation+ow...@global.libreoffice.org > Subject: Bouncing messages from documentation@global.libreoffice.org > Date: 14 July 2021 at 10:12:11 CEST > To: psaut...@gmail.com > > Hi, this is the Mlmmj program managing the > mailing list. > > Some messages to you could not be delivered. If you're seeing this > message it means things are back to normal, and it's merely for your > information. > > Here is the list of the bounced messages: > - 16741 > - 16742 > > -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] LO 7.2 RC1 is now available
Thank you, Jean. I have installed LO 7.2. I will verify the Base and the other guides as I pick to review. Thank you-Dev -Original Message- From: Jean Weber To: LibreOffice Documentation Sent: Wed, Jul 14, 2021 6:08 am Subject: [libreoffice-documentation] LO 7.2 RC1 is now available RC1 of LO 7.2 Community is now available, so we can take new screenshots as needed for updating the guides. To get it, scroll down on the usual download page to the bottom where pre-release versions are listed and click on 7.2.0. (It may not be obvious that it's clickable.) https://www.libreoffice.org/download/download/ Jean -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
[libreoffice-documentation] Getting Started Guide 7.2 - Review
Greetings - I am checking out GS7212-HTML Pages. I have updated the spreadsheet. Thank you-Dev -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] Draw Guide 7.1
Reviewed and returned Appendix B. Jean On Wed, Jul 14, 2021 at 12:47 PM Jean Weber wrote: > > Reviewed and returned Appendix A. > Jean > > On Wed, Jul 14, 2021 at 11:02 AM Jean Weber wrote: > > > > I'll take a quick look at Appendix A and B. > > Jean > > > > On Mon, Jul 12, 2021 at 6:05 PM Peter Schofield wrote: > > > > > > All chapters of the Draw Guide 7.1 have now been reviewed at least once. > > > > > > Appendices A and B have not been reviewed. > > > > > > Do I now start to publish the chapters so that we have a complete and > > > published Draw guide 7.1? > > > > > > Regards > > > Peter Schofield > > > psaut...@gmail.com > > > Technical Writer, LO Documentation Team -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
[libreoffice-documentation] Fwd: Bouncing messages from documentation@global.libreoffice.org
Can someone please explain what this message means. I am suspicious that it is SPAM Peter Schofield psaut...@gmail.com Technical Writer, LO Documentation Team > Begin forwarded message: > > From: documentation+ow...@global.libreoffice.org > Subject: Bouncing messages from documentation@global.libreoffice.org > Date: 14 July 2021 at 10:12:11 CEST > To: psaut...@gmail.com > > Hi, this is the Mlmmj program managing the > mailing list. > > Some messages to you could not be delivered. If you're seeing this > message it means things are back to normal, and it's merely for your > information. > > Here is the list of the bounced messages: > - 16741 > - 16742 > > -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-documentation] LO 7.2 RC1 is now available
Hello Jean Thanks for the info about LO 7.2 release. I shall upgrade the Impress and Draw chapters for the GS guide to 7.2 as soon as I have published the Draw Guide 7.1. Regards Peter Schofield psaut...@gmail.com Technical Writer, LO Documentation Team > On 14 Jul 2021, at 02:38, Jean Weber wrote: > > RC1 of LO 7.2 Community is now available, so we can take new > screenshots as needed for updating the guides. > To get it, scroll down on the usual download page to the bottom where > pre-release versions are listed and click on 7.2.0. (It may not be > obvious that it's clickable.) > https://www.libreoffice.org/download/download/ > > Jean > > -- > To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org > Problems? > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/global/documentation/ > Privacy Policy: https://www.documentfoundation.org/privacy -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy