On 11/28/2011 07:37 AM, Tom Davies wrote:
I think the problem is that in xml or html you can enter a CR in the <p></p> tag that is ignored when displaying xml/html by a browser to make the text easier to read while editing. The CR may cause other programs to display the text incorrectly because they assume the CR is an editing command that must be obeyed. Xml/html have a tag for inserting a CR (<br />).Hi :) I'm surprised there doesn't seem to be an easier way to do find&replace for the paragraph mark! A text editor is likely to remove all the formatting. One way around might be to open the file as a compressed folder. It's important to make a back-up copy of the file before starting to play around with this sort of thing! (Just copy&paste the file into the same folder it's already in) If you saved in docX or Odt then you can open the file with an archive manager or just rename the file-ending from .odt to .zip. Then use the text-editor to edit the file "contents.xml". I don't know how radically you can play around with that file so do a quick test before spending too much time on it. Many text-editors such as SciTe, gedit, kate and so on allow you to view text as html/css, mxl. Often either in the View menu or on the status-bar at the bottom. Look for where it says "Plain text" and click on that. The text-editor then cleverly works out which parts of the text are coding and colours it = colour coding the xml-coding! Sorry i couldn't find a more straight-forwards answer! Apols and regards from Tom :)
--- On Mon, 28/11/11, e-letter<inpost@gmail.com> wrote:From: e-letter<inpost@gmail.com> Subject: Re: [libreoffice-users] deleting hard returns To: users@global.libreoffice.org Date: Monday, 28 November, 2011, 10:43 On 28/11/2011, poemblaze<mattq1966@gmail.com> wrote:Help! I am wanting to delete hard returns that wereplaced at the end ofevery line of a large document. All I've seen is howto delete a paragraph(hard) return in a blank paragraph. I'd also like toconvert hard returns tosoft returns in a couple places. That is the oppositeaction of what I'veseen explained elsewhere. Any help would beappreciated. How do you delete a paragraph in a blank paragraph??? Suggest you learn about regular expressions. You could copy your text into a text editor (everyone has a personal favourite: jedit). Standard syntax to remove new lines is: \n within any standard 'find and replace' dialogue window in your text editor. The syntax for regular expressions may not be as extensive in LO, so read the manual ('list of regular expressions'). Not sure what you mean by "soft returns" (new line?). -- For unsubscribe instructions e-mail to: users+help@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
-- Jay Lozier jslozier@gmail.com -- For unsubscribe instructions e-mail to: users+help@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted