Page 1 of 1
					
				How to embedded customize content in this format?
				Posted: Sat May 23, 2020 12:58 pm
				by Har21t
				Anyone has an idea about the customize content to content.xml is allowed or not. I am unable to find much information about this. Any help will be appreciated.
Regards,
Har21t
			 
			
					
				Re: How to embedded customize content in this format?
				Posted: Sat May 23, 2020 4:02 pm
				by Zizi64
				Anyone has an idea about the customize content to content.xml is allowed or not. I am unable to find much information about this. Any help will be appreciated.
Please give us some more details about this question.
 
			 
			
					
				Re: How to embedded customize content in this format?
				Posted: Sat May 23, 2020 9:49 pm
				by Lupp
				... customize content to content.xml is allowed or not
It's allowed, of course, but manipulations may damage the file and foil correct loading.
Please find the specifications here: 
https://www.oasis-open.org/committees/t ... rev=office.
(My only experiences concerned repairs to files corrupted by tracking changes during a time of spooking through the MS universe, some additional repairs, and removing of content protection. Not much, but things that cannot be done in a different way. In the few mentioned cases I used Notepad++ and its XML-tools plugin.)
 
			 
			
					
				Re: How to embedded customize content in this format?
				Posted: Sat May 23, 2020 10:01 pm
				by Zizi64
				
			 
			
					
				Re: How to embedded customize content in this format?
				Posted: Sun May 24, 2020 10:48 am
				by John_Ha
				Do not touch content.xml.
If you want to create customised content use a 
template - that is what a template is designed to do.  See the Writer Guide for information about templates.
As a new poster you will find much useful information in the 
Writer FAQ, the 
Writer Tutorials, the up to date 
AOO Writer for Students and the 
Writer User Guide.  May I suggest you bookmark the pages.  
Press F1 to access the Help screen and search for your problem
The chapter headings in the manual are:
1 - Introducing W
riter
2 - Setting up W
riter
3 - Working with T
ext
4 - F
ormatting P
ages
5 - P
rinting, E
xporting, F
axing and E-M
ailing
6 - Introduction to S
tyles
7 - Working with S
tyles
8 - Working with G
raphics
9 - Working with T
ables
10 - Working with T
emplates
11 - Using M
ail M
erge
12 - T
ables of C
ontents, I
ndexes and B
ibliographies
13 - Working with M
aster D
ocuments
14 - Working with F
ields
15 - Using F
orms in W
riter
16 - Customizing W
riter – K
eyboard s
hortcuts.
When a pop-up window opens, click the Help button for extensive help on that function - it is often more comprehensive than the manual.
Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your 
first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
 
			 
			
					
				Re: How to embed customized content in this format?
				Posted: Sun May 24, 2020 5:19 pm
				by MrProgrammer
				Hi, and welcome to the forum.
Har21t wrote:Anyone has an idea about the customize content to content.xml is allowed or not.
File → Properties → Custom Properties
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time. 
			 
			
					
				Re: How to embedded customize content in this format?
				Posted: Sun May 24, 2020 5:23 pm
				by RoryOF
				If you were to embed XML code in content.xml, content.xml should be run through an XML validator beforeclosing the OO archive; such manual embedding  should be tried only on a copy on your file.
			 
			
					
				Re: How to embed customized content in this format?
				Posted: Sun May 24, 2020 6:05 pm
				by John_Ha
				MrProgrammer wrote:File → Properties → Custom Properties
A quick check shows that data inserted by File > Properties > Custom Properties is stored in styles.xml in the ZIP wrapper.
 
			 
			
					
				Re: How to embedded customize content in this format?
				Posted: Sun May 24, 2020 6:08 pm
				by RoryOF
				Just for clarification in case one ever needs this, John, do you know if all field data is contained in styles.xml