incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devin Han <devin...@apache.org>
Subject Re: Simple API text formatting (earlier -- Re: Merge of ODFDOM DOC package and Simple API)
Date Fri, 30 Sep 2011 08:11:58 GMT
2011/9/26 Svante Schubert <svante.schubert@gmail.com>

> Devin,
>
> Am 26.09.2011 08:30, schrieb Devin Han:
> > 2011/9/23 Svante Schubert <svante.schubert@gmail.com>
> >
> > ...
> >>>> One think I have observed, that the Simple API removed the Automatic
> >>>> Styles from the high-level layer, which is the right decision, but did
> >>>> added user support for style maps into the lower layer, which made the
> >>>> usage really difficult.
> >>>>
> >>> No, Simple API doesn't do anything on Automatic Styles... It's the work
> of
> >>> ODFDOM. When we adopted to ODFDOM0.8.7, we did updated some code
> concerned
> >>> with Automatic Styles. But it caused by ODFDOM updated, not Simple.
> >>>
> >> How does the Simple API mark allow the user to access formatting that
> >> are not part of a named style?
> >> For instance, mark some text as bold or change the color.
>

We supply Font API. Please reference this cookbook link:
http://incubator.apache.org/odftoolkit/simple/document/cookbook/Text%20Document.html#Paragraph
and
this demo: http://incubator.apache.org/odftoolkit/simple/demo/demo10.html


> >>
> You seem to have missed the question regarding formatting above.


> - Svante
>



-- 
-Devin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message