Re: RTF support: \nofpages

2015-07-06 Thread Miklos Vajna
Hi,

On Sat, Jul 04, 2015 at 07:28:56AM -0700, tracey002 wp...@gte.net wrote:
 Should I be able to _RTF format_ the page count (*_{\info{\nofpages}}_*) 
 in a footer using LibreOffice?

No, \info should only appear at the begining of the document to store
the document statistics.

 *_\nofpages_* appears to have been documented since _RTF Version 1.0 in 
 1987_
 _*NUMPAGES*_ appears to have been documented since _RTF Version in 1.9 2008_

NUMPAGES is the only way to describe LO's PageCount field.

Regards,

Miklos


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: RTF support: \nofpages

2015-07-04 Thread tracey002
, the number is the line in the *rtfkeywd.hxx* file
 
  I assume the category RTF Control means the controls are native 
 to RTF,
  but I can not find them in the documentation

 The last version of RTF specification is here:

 http://www.microsoft.com/en-US/Download/details.aspx?id=10725

 All the above 3 RTF control words are not part of the specification, so
 most probably some legacy OOo extension that we inherited in LO.

 As far as I see:

 - facpgsxn is not used for anything LO, could be removed
 - nextcset seems to be an alias for \ansi in the shared RTF filter
   (not used by Writer, but used by Calc and Impress)
 - tql seems to be used for left-aligned tabs in the shared RTF filter
   (not used by Writer, but used by Calc and Impress)

 Just curious, why do you ask? If possible, please don't depend on these
 control words, it happened already in the past that such custom RTF
 extension had been removed and replaced by something that is part of the
 RTF spec (at least on the export side).

 Regards,

 Miklos

 ___
 LibreOffice mailing list
 [hidden email] /user/SendEmail.jtp?type=nodenode=4153555i=1
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

 *signature.asc* (188 bytes) Download Attachment 
 http://nabble.documentfoundation.org/attachment/4153555/0/signature.asc


 
 If you reply to this email, your message will be added to the 
 discussion below:
 http://nabble.documentfoundation.org/RTF-support-tp3114982p4153555.html
 To unsubscribe from RTF support, click here 
 http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3114982code=d3BpaXNAZ3RlLm5ldHwzMTE0OTgyfDg1NDMxMTYz.
 NAML 
 http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
  

 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 9.0.935 / Virus Database: 4365.1.1/9649 - Release Date: 07/02/15 
 20:02:00

   





No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.935 / Virus Database: 4365.1.1/9649 - Release Date: 07/02/15 
20:02:00




No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 9.0.935 / Virus Database: 4365.1.1/9649 - Release Date: 07/02/15 
20:02:00




--
View this message in context: 
http://nabble.documentfoundation.org/Re-RTF-support-nofpages-tp4153615.html
Sent from the Dev mailing list archive at Nabble.com.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: RTF support

2015-07-03 Thread tracey002
Can someone please identify the following RTF Controls?

\facpgsxn   162 
\nextcset   249
\tql371
After the control, the number is the line in the *rtfkeywd.hxx* file

I assume the category RTF Control means the controls are native to RTF,
but I can not find them in the documentation
Please advise.
Thanks, Tracey
I am running LibreOffice v3.6.7.2 on Windows2K




--
View this message in context: 
http://nabble.documentfoundation.org/RTF-support-tp3114982p4153551.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: RTF support

2015-07-03 Thread Miklos Vajna
Hi,

On Fri, Jul 03, 2015 at 07:59:01AM -0700, tracey002 wp...@gte.net wrote:
 Can someone please identify the following RTF Controls?
 
 \facpgsxn 162 
 \nextcset 249
 \tql  371
 After the control, the number is the line in the *rtfkeywd.hxx* file
 
 I assume the category RTF Control means the controls are native to RTF,
 but I can not find them in the documentation

The last version of RTF specification is here:

http://www.microsoft.com/en-US/Download/details.aspx?id=10725

All the above 3 RTF control words are not part of the specification, so
most probably some legacy OOo extension that we inherited in LO.

As far as I see:

- facpgsxn is not used for anything LO, could be removed
- nextcset seems to be an alias for \ansi in the shared RTF filter
  (not used by Writer, but used by Calc and Impress)
- tql seems to be used for left-aligned tabs in the shared RTF filter
  (not used by Writer, but used by Calc and Impress)

Just curious, why do you ask? If possible, please don't depend on these
control words, it happened already in the past that such custom RTF
extension had been removed and replaced by something that is part of the
RTF spec (at least on the export side).

Regards,

Miklos


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: RTF support

2015-07-03 Thread tracey002
 Just curious, why do you ask?
I want to know what RTF functionality LibreOffice Writer does and does 
not support. :-)

Since the 3 controls were labled as RTF Controls: I suspected that
they might be acutal/functional controls, but maybe with
typographical errors.

Many/Most of Microsoft's _RTF Specification Documents_ have numerous 
technical typographical errors:

mis-spelling control names in the examples
controls spelt one way in the body of the document and differently
in the index
controls in the main section but not in the index and controls in
the index and not in the main section

It does not appear that Microsoft was ever really serious about
_RTF Specification Documentation_.

I reported an RTF bug in 2011 and it seems to have been resolved some 
time in 2013

I downloaded the last/latest version (3.6.7.2) that I think will
work with Windows 2000 (since that is what I use).
Since I did not find RTF Technical Information in the LibreOffice
Help file I downloaded the archived source code.
I searched for files that contains RTF and found _*rtfkeywd.hxx*_
which also has the year of 2013 in the time/date stamp.
I compared the rtfkeywd.hxx entries with the index entries from RTF
Specification Documentation v1.9.1 and found differences.

Just FYI, Tracey


Miklos Vajna-4 [via Document Foundation Mail Archive] wrote:
 Hi,

 On Fri, Jul 03, 2015 at 07:59:01AM -0700, tracey002 [hidden email] 
 /user/SendEmail.jtp?type=nodenode=4153555i=0 wrote:
  Can someone please identify the following RTF Controls?
 
  \facpgsxn 162
  \nextcset 249
  \tql 371
  After the control, the number is the line in the *rtfkeywd.hxx* file
 
  I assume the category RTF Control means the controls are native to 
 RTF,
  but I can not find them in the documentation

 The last version of RTF specification is here:

 http://www.microsoft.com/en-US/Download/details.aspx?id=10725

 All the above 3 RTF control words are not part of the specification, so
 most probably some legacy OOo extension that we inherited in LO.

 As far as I see:

 - facpgsxn is not used for anything LO, could be removed
 - nextcset seems to be an alias for \ansi in the shared RTF filter
   (not used by Writer, but used by Calc and Impress)
 - tql seems to be used for left-aligned tabs in the shared RTF filter
   (not used by Writer, but used by Calc and Impress)

 Just curious, why do you ask? If possible, please don't depend on these
 control words, it happened already in the past that such custom RTF
 extension had been removed and replaced by something that is part of the
 RTF spec (at least on the export side).

 Regards,

 Miklos

 ___
 LibreOffice mailing list
 [hidden email] /user/SendEmail.jtp?type=nodenode=4153555i=1
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

 *signature.asc* (188 bytes) Download Attachment 
 http://nabble.documentfoundation.org/attachment/4153555/0/signature.asc


 
 If you reply to this email, your message will be added to the 
 discussion below:
 http://nabble.documentfoundation.org/RTF-support-tp3114982p4153555.html
 To unsubscribe from RTF support, click here 
 http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3114982code=d3BpaXNAZ3RlLm5ldHwzMTE0OTgyfDg1NDMxMTYz.
 NAML 
 http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
  

 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 9.0.935 / Virus Database: 4365.1.1/9649 - Release Date: 07/02/15 
 20:02:00

   



No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 9.0.935 / Virus Database: 4365.1.1/9649 - Release Date: 07/02/15 
20:02:00




--
View this message in context: 
http://nabble.documentfoundation.org/RTF-support-tp3114982p4153587.html
Sent from the Dev mailing list archive at Nabble.com.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice