ciao,
le espressioni regolari sono molto potenti per cercare parti di stringhe, ma 
hanno per design il limite della singola riga.
Si può usare i marcatori di posizione $ e ^ per trovare stringhe alla fine e 
all'inizio di riga, ma non possono essere usate per trovare e sostituire i fine 
riga perchè sono a cavallo di due righe.
Esistono le PERL regex che supportano le stringhe multiriga ma OO (e la 
maggior parte dei comandi Posix) non le supporta.

Detto questo la dialog box di OO supporta (o dovrebbe supportare) una 
estensione che permette di sostituire tutti i fine riga con un altro carattere,
usando il $, ma sembra proprio bacata. Confermo anche a me fa il comportamente 
descritto e il crash su undo.


Cercando nell'help ho trovato una procedura dedicata a questa richiesta:

Rimuovere un'interruzione di riga
Removing Line Breaks 
Use the AutoCorrect feature to remove line breaks that occur within sentences. 
Unwanted line breaks can occur when you copy text from another source and 

paste it into a text document.

This AutoCorrect feature only works on text that is formatted with the 
"Default" paragraph style. 

1. Choose Tools - AutoCorrect Options . 
2. On the Options tab, ensure that Combine single line paragraphs if length 
greater than 50% is selected. To change the minimum percentage for the line 

length, double-click the option in the list, and then enter a new percentage.
3. Click OK.
4. Select the text containing the line breaks that you want to remove.
5. In the Apply Style box on the Formatting bar, choose “Default”.
6. Choose Format - AutoCorrect - Apply.

mettendo 1% mi funziona bene.

Valerio


---------------------------------------------------------------------
Per cancellarsi: [email protected]
Per informazioni: http://www.openoffice.org/it/
Per avviare una nuova discussione: [email protected]
Archivi: http://mail-archives.apache.org/mod_mbox/incubator-ooo-utenti-it

Rispondere a