Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you need the Extended Search/Replace extension ("ExS/R", below). Recently I was pointed to it for a different task, and it's a very powerful tool. You will need to save it (from link above) locally, then Tools > Extension Manager... > Add > [browse to saved file, click, etc.] to install.

Once you've got it (toolbar icon could be prettier! ;) ) then ... how to use it?! There is a help file (linked on the download page), and you can search AskLibo for other answers that explain it. (I had a very helpful reply about it recently which provides one good example.)

I just tried something akin to your question (I think!). Fire up ExS/R. In "Search for:" , choose Properties dropdown > Same format of characters (based on cursor) (= last option) > then FInd All. Give it some time! (Or maybe it's just that I have an antique laptop!) Once it announces the number of hits found, click in "Replace:" dropdown, choose "Paragraph style". The list of available styles will pop up. Choose the one you want to apply (double click), and the line will populate. Then > Replace all. Give it some time! ;) (or maybe it's my antique, etc.).

I tried it with "Hanging indent" on a 15 page (single space) document. Worked a treat.

That might not be the precise set of steps for your use case, but it's one approach that worked for me (on Linux Mint Xfce + LO 4.0.3). More expert users will hopefully be along shortly! Hope this helps in the meanwhile.

click to hide/show revision 2
added macro recording link

I think you need the Extended Search/Replace extension ("ExS/R", below). Recently I was pointed to it for a different task, and it's a very powerful tool. You will need to save it (from link above) locally, then Tools > Extension Manager... > Add > [browse to saved file, click, etc.] to install.

Once you've got it (toolbar icon could be prettier! ;) ) then ... how to use it?! There is a help file (linked on the download page), and you can search AskLibo for other answers that explain it. (I had a very helpful reply about it recently which provides one good example.)

I just tried something akin to your question (I think!). Fire up ExS/R. In "Search for:" , choose Properties dropdown > Same format of characters (based on cursor) (= last option) > then FInd All. Give it some time! (Or maybe it's just that I have an antique laptop!) Once it announces the number of hits found, click in "Replace:" dropdown, choose "Paragraph style". The list of available styles will pop up. Choose the one you want to apply (double click), and the line will populate. Then > Replace all. Give it some time! ;) (or maybe it's my antique, etc.).

I tried it with "Hanging indent" on a 15 page (single space) document. Worked a treat.

That might not be the precise set of steps for your use case, but it's one approach that worked for me (on Linux Mint Xfce + LO 4.0.3). More expert users will hopefully be along shortly! Hope this helps in the meanwhile.

P.s. On macro recording, have you enabled it?

I think you need the Extended Search/Replace extension ("ExS/R", below). Recently I was pointed to it for a different task, and it's a very powerful tool. You will need to save it (from link above) locally, then Tools > Extension Manager... > Add > [browse to saved file, click, etc.] to install.

Once you've got it (toolbar (for me, needed a LO restart; toolbar icon could be prettier! ;) ) then ... how to use it?! There is a help file (linked on the download page), and you can search AskLibo for other answers that explain it. (I had a very helpful reply about it recently which provides one good example.)

I just tried something akin to your question (I think!). Fire up ExS/R. In "Search for:" , choose Properties dropdown > Same format of characters (based on cursor) (= last option) > then FInd All. Give it some time! (Or maybe it's just that I have an antique laptop!) Once it announces the number of hits found, click in "Replace:" dropdown, choose "Paragraph style". The list of available styles will pop up. Choose the one you want to apply (double click), and the line will populate. Then > Replace all. Give it some time! ;) (or maybe it's my antique, etc.).

I tried it with "Hanging indent" on a 15 page (single space) document. Worked a treat.

That might not be the precise set of steps for your use case, but it's one approach that worked for me (on Linux Mint Xfce + LO 4.0.3). More expert users will hopefully be along shortly! Hope this helps in the meanwhile.

P.s. On macro recording, have you enabled it?

I think you need the Extended Search/Replace extension ("ExS/R", below). Recently I was pointed to it for a different task, and it's a very powerful tool. You will need to save it (from link above) locally, then Tools > Extension Manager... > Add > [browse to saved file, click, etc.] to install.

Once you've got it (for me, needed a LO restart; toolbar icon could be prettier! ;) ) then ... how to use it?! There is a help file (linked on the download page), and you can search AskLibo for other answers that explain it. (I had a very helpful reply about it recently which provides one good example.)

I just tried something akin to your question (I think!). think!):

  • Fire up ExS/R. ExS/R.
  • In "Search "Search for:" , choose Properties Properties dropdown > Same format of characters (based on cursor) (= last option) > then FInd All. All.
  • Give it some time! (Or maybe it's just that I have an antique laptop!) laptop!)
  • Once it announces the number of hits found, click in "Replace:" "Replace:" dropdown, choose "Paragraph style". The list of available styles will pop up. up.
  • Choose the one you want to apply (double click), and the line will populate. populate.
  • Then > Replace all. all.
  • Give it some time! ;) (or maybe it's my antique, etc.).

    etc.). That should do it.

I tried it with "Hanging indent" on a 15 page (single space) document. Worked a treat.

That might not be the precise set of steps for your use case, but it's one approach that worked for me (on Linux Mint Xfce + LO 4.0.3). More expert users will hopefully be along shortly! Hope this helps in the meanwhile.

P.s. On macro recording, have you enabled it?

I think you need the Extended Search/Replace extension ("ExS/R", below). Recently I was pointed to it for a different task, and it's a very powerful tool. You will need to save it (from link above) locally, then Tools > Extension Manager... > Add > [browse to saved file, click, etc.] to install.

Once you've got it (for me, needed a LO restart; toolbar icon could be prettier! ;) ) then ... how to use it?! There is a help file (linked on the download page), and you can search AskLibo for other answers that explain it. (I had a very helpful reply about it recently which provides one good example.)

I just tried something akin to your question (I think!):

  • Fire up ExS/R.
  • In "Search for:" , choose Properties dropdown > Same format of characters (based on cursor) (= last option) > then FInd All.
  • Give it some time! (Or maybe it's just that I have an antique laptop!)
  • Once it announces the number of hits found, click in "Replace:" dropdown, choose "Paragraph style". The list of available styles will pop up.
  • Choose the one you want to apply (double click), and the line will populate.
  • Then > Replace all.
  • Give it some time! ;) (or maybe it's my antique, etc.). That should do it.

I tried it with "Hanging indent" on a 15 page (single space) document. Worked a treat.

That might not be the precise set of steps for your use case, but it's one approach that worked for me (on Linux Mint Xfce + LO 4.0.3). More expert users will hopefully be along shortly! Hope this helps in the meanwhile.

P.s. On macro recording, have you enabled it?

I think you need the Extended Search/Replace Alternative Find & Replace extension extension ("ExS/R", ("AltSearch", below). Recently I was pointed to it for a different task, and it's a very powerful tool. You will need to save it (from link above) locally, then Tools > Extension Manager... > Add > [browse to saved file, click, etc.] to install.

Once you've got it (for me, needed a LO restart; toolbar icon could be prettier! ;) ) then ... how to use it?! There is a help file (linked on the download page), and you can search AskLibo for other answers that explain it. (I had a very helpful reply about it recently which provides one good example.)

I just tried something akin to your question (I think!):

  • Fire up ExS/R.AltSearch.
  • In "Search for:" , choose Properties dropdown > Same format of characters (based on cursor) (= last option) > then FInd All.
  • Give it some time! (Or maybe it's just that I have an antique laptop!)
  • Once it announces the number of hits found, click in "Replace:" dropdown, choose "Paragraph style". The list of available styles will pop up.
  • Choose the one you want to apply (double click), and the line will populate.
  • Then > Replace all.
  • Give it some time! ;) (or maybe it's my antique, etc.). That should do it.

I tried it with "Hanging indent" on a 15 page (single space) document. Worked a treat.

That might not be the precise set of steps for your use case, but it's one approach that worked for me (on Linux Mint Xfce + LO 4.0.3). More expert users will hopefully be along shortly! Hope this helps in the meanwhile.

P.s. On macro recording, have you enabled it?

I think you need the Alternative Find & Replace extension extension ("AltSearch", below). Recently I was pointed to it for a different task, and it's a very powerful tool. You will need to save it (from link above) locally, then Tools > Extension Manager... > Add > [browse to saved file, click, etc.] to install.

Once you've got it (for me, needed a LO restart; toolbar icon could be prettier! ;) ) then ... how to use it?! There is a help file (linked on the download page), and you can search AskLibo for other answers that explain it. (I had a very helpful reply about it recently which provides one good example.)

I just tried something akin to your question (I think!):

  • Fire up AltSearch.
  • In "Search for:" , choose Properties dropdown > Same format of characters (based on cursor) (= last option) > then FInd All.
  • Give it some time! (Or maybe it's just that I have an antique laptop!)
  • Once it announces the number of hits found, click in "Replace:" dropdown, choose "Paragraph style". The list of available styles will pop up.
  • Choose the one you want to apply (double click), and the line will populate.
  • Then > Replace all.
  • Give it some time! ;) (or maybe it's my antique, etc.). That should do it.

I tried it with "Hanging indent" on a 15 page (single space) document. Worked a treat.

That might not be the precise set of steps for your use case, but it's one approach that worked for me (on Linux Mint Xfce + LO 4.0.3). More expert users will hopefully be along shortly! Hope this helps in the meanwhile.

P.s. On macro recording, have you enabled it?